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  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: Possible bug in areaDetector/ADSupport/supportApp/nexusSrc/Makefile?
From: Mark Rivers <rivers@cars.uchicago.edu>
To: Jörn Dreyer <j.dreyer@hzdr.de>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Mon, 20 Nov 2017 14:50:07 +0000
Hi Jörn,


Thanks for finding that.  I just did a search of all the Makefiles in areaDetector, looking for lines with the string USR_INCLUDES and without the string -I.  There are actually a number of errors like the one you found.  I will fix these today.


corvette:~/devel/areaDetector>find . -name Makefile -exec grep -H USR_INCLUDES {} \; | grep -v "\-I"
./ADPluginEdge/edgeApp/edgeSrc/Makefile:USR_INCLUDES += $(OPENCV_INCLUDE)
./ADAndor/andorApp/src/Makefile:  USR_INCLUDES += $(XML2_INCLUDE)
./ADADSC/adscApp/src/Makefile:# detcon_state.h.  USR_INCLUDES should include the directories containing
./ADURL/urlApp/src/Makefile:    USR_INCLUDES += $(GRAPHICSMAGICK_INCLUDE)
./ADSupport/supportApp/hdf5Src/Makefile:        USR_INCLUDES += $(SZIP_INCLUDE)
./ADSupport/supportApp/hdf5Src/Makefile:        USR_INCLUDES += $(ZLIB_INCLUDE)
./ADSupport/supportApp/hdf5Src/Makefile:          USR_INCLUDES += $(BLOSC_INCLUDE)
./ADSupport/supportApp/nexusSrc/Makefile:        USR_INCLUDES += $(HDF5_INCLUDE)
./ADSupport/supportApp/nexusSrc/Makefile:        USR_INCLUDES += $(SZIP_INCLUDE)
./ADSupport/supportApp/nexusSrc/Makefile:        USR_INCLUDES += $(ZLIB_INCLUDE)
./ADSupport/supportApp/hdf5_hlSrc/Makefile:        USR_INCLUDES += $(SZIP_INCLUDE)
./ADSupport/supportApp/hdf5_hlSrc/Makefile:        USR_INCLUDES += $(ZLIB_INCLUDE)
./ADSupport/supportApp/bloscSrc/Makefile:        USR_INCLUDES += $(ZLIB_INCLUDE)
./ADCore/ADApp/pluginSrc/Makefile:    USR_INCLUDES += $(GRAPHICSMAGICK_INCLUDE)
./ADCore/ADApp/pluginTests/Makefile:#  USR_INCLUDES += $(HDF5_INCLUDE)


Mark


________________________________
From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> on behalf of Jörn Dreyer <j.dreyer@hzdr.de>
Sent: Monday, November 20, 2017 7:09 AM
To: tech-talk@aps.anl.gov
Subject: Possible bug in areaDetector/ADSupport/supportApp/nexusSrc/Makefile?

Hi,

on an Debian based Linux system I had some trouble to compile the areaDetector
module. In CONFIG_SITE.local one can define path variables for various
external components. In contrast to most Linux distributions I know, Debian
installs HDF5 in a sub path under /usr/include/hdf5 depending on the version
of HDF5 that is installed (serial, openmpi, openmpich...) So one has to set up
the correct path in CONFIG_SITE.local. By doing that at using the internal
version of Nexus, I discovered a problem in the Makefile. In this Makefile the
path's for HDF5, SZIP and ZLIB are added to USR_INCLUDES as

USR_INCLUDES += $(HDF5_INCLUDES)

While in all other Makefiles this is included as

USR_INCLUDES += -I$(HDF5_INCLUDES)

The compilation then fails with hdf5.h not found. After adding the -I I was
able to compile areaDetector on this system.

Regards,

Jörn

Replies:
RE: Possible bug in areaDetector/ADSupport/supportApp/nexusSrc/Makefile? Mark Rivers
References:
Possible bug in areaDetector/ADSupport/supportApp/nexusSrc/Makefile? Jörn Dreyer

Navigate by Date:
Prev: Possible bug in areaDetector/ADSupport/supportApp/nexusSrc/Makefile? Jörn Dreyer
Next: RE: Possible bug in areaDetector/ADSupport/supportApp/nexusSrc/Makefile? Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Possible bug in areaDetector/ADSupport/supportApp/nexusSrc/Makefile? Jörn Dreyer
Next: RE: Possible bug in areaDetector/ADSupport/supportApp/nexusSrc/Makefile? Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 20 Nov 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·