EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: RE: Error in compiling areaDetector
From: Mark Rivers <[email protected]>
To: "'GONG Yu'" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 26 Feb 2015 17:45:02 +0000
Hi Gongyu,

> The version of ADCore was downloaded recently from Github (https://github.com/areaDetector/ADCore), 
> but I do not know how to look up the the version. 

If you did a git clone of ADCore you will be in the "master" branch.  You can see that by typing "git status".  That means you are using the most recent code in the master branch, not a specific release.

If you want to run a specific release, for example R2-1, then you type the following commands at the top-level of ADCore

git checkout R2-1
make clean uninstall
make

Then you will have a build of R2-1.


> Now I use the areaDetector (top level repository) downloaded from Github (https://github.com/areaDetector/areaDetector). 
> In this version of areaDetector/configure/EXAMPLE_CONFIG_SITE.local, compared with areaDetector-R2-0, 
> there is XML2_INCLUDE definision added in this version. But I do not know where is the USR_INCLUDES you indicated.

The USR_INCLUDES is in ADCore/ADApp/pluginSrc/Makefile.  It contains this line:

USR_INCLUDES += $(XML2_INCLUDE)

> When I build using this version, it seems no error.

That's good news.

Mark


-----Original Message-----
From: GONG Yu [mailto:[email protected]] 
Sent: Thursday, February 26, 2015 3:42 AM
To: Mark Rivers
Subject: Re: RE: Error in compiling areaDetector

Hi Mark,
   Thank you very much! I think the problem is solved!
   The version of ADCore was downloaded recently from Github (https://github.com/areaDetector/ADCore), but I do not know how to look up the the version. If you are pleased with me, I wish you can tell me how to look up the version.
   The libxml/xmlreader.h is located on /usr/include/libxml2 in my linux.
   The release of areaDetector (top level repository, ADBinaries, ADCores and so on are downloaded seperately) which I built is areaDetector-R2-0 (https://github.com/areaDetector/areaDetector/archive/R2-0.tar.gz). 
   Now I use the areaDetector (top level repository) downloaded from Github (https://github.com/areaDetector/areaDetector). In this version of areaDetector/configure/EXAMPLE_CONFIG_SITE.local, compared with areaDetector-R2-0, there is XML2_INCLUDE definision added in this version. But I do not know where is the USR_INCLUDES you indicated. When I build using this version, it seems no error.
#########################################################################################
make[6]: Leaving directory `/home/gongyu/areaDetector-master/ADPilatus/iocs/pilatusIOC/pilatusApp/src/O.linux-x86'
make[5]: Leaving directory `/home/gongyu/areaDetector-master/ADPilatus/iocs/pilatusIOC/pilatusApp/src'
make[4]: Leaving directory `/home/gongyu/areaDetector-master/ADPilatus/iocs/pilatusIOC/pilatusApp'
make -C ./iocBoot install 
make[4]: Entering directory `/home/gongyu/areaDetector-master/ADPilatus/iocs/pilatusIOC/iocBoot'
make -C ./iocPilatus install 
make[5]: Entering directory `/home/gongyu/areaDetector-master/ADPilatus/iocs/pilatusIOC/iocBoot/iocPilatus'
perl ~/EPICS/base/bin/linux-x86/convertRelease.pl -a linux-x86 -t /home/gongyu/areaDetector-master/ADPilatus/iocs/pilatusIOC envPaths
make[5]: Leaving directory `/home/gongyu/areaDetector-master/ADPilatus/iocs/pilatusIOC/iocBoot/iocPilatus'
make[4]: Leaving directory `/home/gongyu/areaDetector-master/ADPilatus/iocs/pilatusIOC/iocBoot'
make[3]: Leaving directory `/home/gongyu/areaDetector-master/ADPilatus/iocs/pilatusIOC'
make[2]: Leaving directory `/home/gongyu/areaDetector-master/ADPilatus/iocs'
make[1]: Leaving directory `/home/gongyu/areaDetector-master/ADPilatus'
make -C ./ADURL install 
make[1]: Entering directory `/home/gongyu/areaDetector-master/ADURL'
make -C ./configure install 
make[2]: Entering directory `/home/gongyu/areaDetector-master/ADURL/configure'
perl ~/EPICS/base/bin/linux-x86/makeMakefile.pl O.linux-x86 ../..
mkdir O.Common
make -C O.linux-x86 -f ../Makefile TOP=../.. T_A=linux-x86 install
make[3]: Entering directory `/home/gongyu/areaDetector-master/ADURL/configure/O.linux-x86'
perl ~/EPICS/base/bin/linux-x86/convertRelease.pl checkRelease
make[3]: Leaving directory `/home/gongyu/areaDetector-master/ADURL/configure/O.linux-x86'
make[2]: Leaving directory `/home/gongyu/areaDetector-master/ADURL/configure'
make -C ./urlApp install 
make[2]: Entering directory `/home/gongyu/areaDetector-master/ADURL/urlApp'
make -C ./src install 
make[3]: Entering directory `/home/gongyu/areaDetector-master/ADURL/urlApp/src'
perl ~/EPICS/base/bin/linux-x86/makeMakefile.pl O.linux-x86 ../../..
mkdir O.Common
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[4]: Entering directory `/home/gongyu/areaDetector-master/ADURL/urlApp/src/O.linux-x86'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/home/gongyu/areaDetector-master/ADURL/urlApp/src/O.linux-x86'
make[3]: Leaving directory `/home/gongyu/areaDetector-master/ADURL/urlApp/src'
make -C ./Db install 
make[3]: Entering directory `/home/gongyu/areaDetector-master/ADURL/urlApp/Db'
perl ~/EPICS/base/bin/linux-x86/makeMakefile.pl O.linux-x86 ../../..
mkdir O.Common
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[4]: Entering directory `/home/gongyu/areaDetector-master/ADURL/urlApp/Db/O.linux-x86'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/home/gongyu/areaDetector-master/ADURL/urlApp/Db/O.linux-x86'
make[3]: Leaving directory `/home/gongyu/areaDetector-master/ADURL/urlApp/Db'
make[2]: Leaving directory `/home/gongyu/areaDetector-master/ADURL/urlApp'
make -C ./iocs install 
make[2]: Entering directory `/home/gongyu/areaDetector-master/ADURL/iocs'
make -C ./urlIOC install 
make[3]: Entering directory `/home/gongyu/areaDetector-master/ADURL/iocs/urlIOC'
make -C ./configure install 
make[4]: Entering directory `/home/gongyu/areaDetector-master/ADURL/iocs/urlIOC/configure'
perl ~/EPICS/base/bin/linux-x86/makeMakefile.pl O.linux-x86 ../..
mkdir O.Common
make -C O.linux-x86 -f ../Makefile TOP=../.. T_A=linux-x86 install
make[5]: Entering directory `/home/gongyu/areaDetector-master/ADURL/iocs/urlIOC/configure/O.linux-x86'
perl ~/EPICS/base/bin/linux-x86/convertRelease.pl checkRelease
make[5]: Leaving directory `/home/gongyu/areaDetector-master/ADURL/iocs/urlIOC/configure/O.linux-x86'
make[4]: Leaving directory `/home/gongyu/areaDetector-master/ADURL/iocs/urlIOC/configure'
make -C ./iocBoot install 
make[4]: Entering directory `/home/gongyu/areaDetector-master/ADURL/iocs/urlIOC/iocBoot'
make -C ./iocURLDriver install 
make[5]: Entering directory `/home/gongyu/areaDetector-master/ADURL/iocs/urlIOC/iocBoot/iocURLDriver'
make[5]: Nothing to be done for `install'.
make[5]: Leaving directory `/home/gongyu/areaDetector-master/ADURL/iocs/urlIOC/iocBoot/iocURLDriver'
make[4]: Leaving directory `/home/gongyu/areaDetector-master/ADURL/iocs/urlIOC/iocBoot'
make[3]: Leaving directory `/home/gongyu/areaDetector-master/ADURL/iocs/urlIOC'
make[2]: Leaving directory `/home/gongyu/areaDetector-master/ADURL/iocs'
make[1]: Leaving directory `/home/gongyu/areaDetector-master/ADURL'
#########################################################################################

gongyu

> -----原始邮件-----
> 发件人: "Mark Rivers" <[email protected]>
> 发送时间: 2015年2月26日 星期四
> 收件人: "GONG Yu" <[email protected]>, "[email protected]" <[email protected]>
> 抄送: 
> 主题: RE: Error in compiling areaDetector
> 
> Which version of ADCore are you using?
> 
> Where is libxml/xmlreader.h located on your system.
> 
> The next release of areaDetector/configure/EXAMPLE_CONFIG_SITE.local allows you to define XML2_INCLUDE, and that directory is added to USR_INCLUDES.  In R2-1 USR_INCLUDES just adds  -I/usr/include/libxml2.  If that is where your libxml/xmlreader.h is located then it should work.
> 
> Mark
> ________________________________________
> From: [email protected] [[email protected]] on behalf of GONG Yu [[email protected]]
> Sent: Wednesday, February 25, 2015 8:56 PM
> To: [email protected]
> Subject: Error in compiling areaDetector
> 
> Hello everyone,
>     I am running to the error when I compile the areaDetector module.
>     The errors are listed below:
> ################################################################################################
> In file included from ../NDFileHDF5.h:15,
>                  from ../NDFileHDF5.cpp:33:
> ../NDFileHDF5LayoutXML.h:11:30: warning: libxml/xmlreader.h: No such file or directory
> ../NDFileHDF5Layout.h:112: warning: ‘class hdf5::Element’ has virtual functions but non-virtual destructor
> ../NDFileHDF5LayoutXML.h:111: error: ‘xmlTextReaderPtr’ does not name a type
> make[4]: *** [NDFileHDF5.o] Error 1
> make[4]: Leaving directory `/home/gongyu/areaDetector-R2-0/ADCore/ADApp/pluginSrc/O.linux-x86'
> make[3]: *** [install.linux-x86] Error 2
> make[3]: Leaving directory `/home/gongyu/areaDetector-R2-0/ADCore/ADApp/pluginSrc'
> make[2]: *** [pluginSrc.install] Error 2
> make[2]: Leaving directory `/home/gongyu/areaDetector-R2-0/ADCore/ADApp'
> make[1]: *** [ADApp.install] Error 2
> make[1]: Leaving directory `/home/gongyu/areaDetector-R2-0/ADCore'
> make: *** [ADCore.install] Error 2
> ################################################################################################
> 
> The products that have been built or installed are listed belows:
> EPICS base 3.14.12.4
> asyn4-25
> synApps (autosave-5-1,busy-1-6,calc-3-2,sscan-2-9)
> libtiff (tiff-4.0.4beta)
> zlib (zlib-1.2.8)
> libjpeg (libjpeg-turbo-1.4.0)
> szip (szip-2.1)
> hdf5 (hdf5-1.8.12)
> My operating system is 32bit CentOS 5.6
> 
> After this error, I install the libxml2 (libxml2, libxml2-devel and zlib-devel requied by libxml2-devel) by using RPM, then I rebuild the zlib and hdf5. But when I compile the areaDetector module, I still get the same error.
> I do not know how to solve this problem, can anyone help me?
> Thank you,
> 
> gongyu
> 



References:
Error in compiling areaDetector GONG Yu
RE: Error in compiling areaDetector Mark Rivers

Navigate by Date:
Prev: AW: AW: EPICS device support for DIM Zumbruch, Peter Dr.
Next: Streamdevice IOC for Agilent XGS600 Vacuum Gauge Controller Alex Wallace
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Error in compiling areaDetector Mark Rivers
Next: Re: Error in compiling areaDetector Heinz Junkes
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·