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: Problem compiling areaDetector-2-5
From: Mark Rivers <rivers@cars.uchicago.edu>
To: Marcin Lukaszewski <Marcin.Lukaszewski@Hilase.cz>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 14 Feb 2017 18:12:09 +0000
Hi Marcin,

I understand the problem.  Your CONFIG_SITE.local file defines WITH_XML2=NO.  In that case NDPosPlugin.h does not get installed in ADCore/ADApp/pluginSrc.  The pluginTests directory should not try to build the test for NDPluginPos if WITH_XML2 is not YES, but it does.  That is a bug and I have created an issue for it on Github.

Your build of ADCore is otherwise complete, so you could ignore the error.  Or you could define WITH_XML2=YES, since that library is easy to install on Linux if is not already installed.

Is there a reason that you have set WITH_XML2, WITH_TIFF, WITH_NETCDF, etc. in your CONFIG_SITE.local to NO?

Mark


________________________________
From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on behalf of Marcin Lukaszewski [Marcin.Lukaszewski@Hilase.cz]
Sent: Tuesday, February 14, 2017 10:00 AM
To: tech-talk@aps.anl.gov
Subject: Problem compiling areaDetector-2-5

Hi all,

I am trying to compile areaDetector R2-5 on Ubuntu 16.04 LTS
I git clone areaDetector, ADCore, ADSupport and ADExample and git checkout to following versions:

areaDetector R2-5
ADCore R2-5
ADSupport R1-0
ADExample R2-2

EPICS setup:
base 3.15.4
asyn-4-30
autosave-5-7-1
busy-1-6-1
calc-3-4-2-1
seq-2-23
sscan-2-10-1

Below pasties to my areaDetector/configure files:

- areaDetector folder structure   http://pastebin.com/5KmLn7Cb
- RELEASE_PATHS.local                http://pastebin.com/JbzKhrTE
- RELEASE_LIBS.local                     http://pastebin.com/Eus4L5Fi
- RELEASE_PRODS.local                http://pastebin.com/gDSyG2JT
- CONFIG_SITE.LOCAL                  http://pastebin.com/C7iumVfN
- RELEASE.local                               http://pastebin.com/a0BsWNAs

After setup above I am trying to make but compilation terminates with the error:

/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall     -DH5_NO_DEPRECATED_SYMBOLS -DH5Dopen_vers=2 -DH5Gcreate_vers=2  -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include       -I/home/eli_sw/epics/R3.15/include/compiler/gcc -I/home/eli_sw/epics/R3.15/include/os/Linux -I/home/eli_sw/epics/R3.15/include      -I/home/eli_sw/epics/support/asyn-4-30/include      -I/home/eli_sw/epics/support/areaDetector-2-5/ADCore/include                    -I/usr/local64/include  -I/usr/include/libxml2     -c ../PosPluginWrapper.cpp
In file included from ../PosPluginWrapper.cpp:8:0:
../PosPluginWrapper.h:11:25: fatal error: NDPosPlugin.h: No such file or directory
compilation terminated.
/home/eli_sw/epics/R3.15/configure/RULES_BUILD:234: recipe for target 'PosPluginWrapper.o' failed
make[4]: *** [PosPluginWrapper.o] Error 1
make[4]: Leaving directory '/home/eli_sw/epics/support_5_8_at15/areaDetector-2-5/ADCore/ADApp/pluginTests/O.linux-x86_64'
/home/eli_sw/epics/R3.15/configure/RULES_ARCHS:61: recipe for target 'install.linux-x86_64' failed
make[3]: *** [install.linux-x86_64] Error 2
make[3]: Leaving directory '/home/eli_sw/epics/support_5_8_at15/areaDetector-2-5/ADCore/ADApp/pluginTests'
/home/eli_sw/epics/R3.15/configure/RULES_DIRS:88: recipe for target 'pluginTests.install' failed
make[2]: *** [pluginTests.install] Error 2
make[2]: Leaving directory '/home/eli_sw/epics/support_5_8_at15/areaDetector-2-5/ADCore/ADApp'
/home/eli_sw/epics/R3.15/configure/RULES_DIRS:88: recipe for target 'ADApp.install' failed
make[1]: *** [ADApp.install] Error 2
make[1]: Leaving directory '/home/eli_sw/epics/support_5_8_at15/areaDetector-2-5/ADCore'
/home/eli_sw/epics/R3.15/configure/RULES_DIRS:88: recipe for target '/home/eli_sw/epics/support/areaDetector-2-5/ADCore.install' failed
make: *** [/home/eli_sw/epics/support/areaDetector-2-5/ADCore.install] Error 2

Full output you can find here: http://pastebin.com/y06WGJwX

Quick check if I have files in correct places gives me:

/home/eli_sw/epics/support/areaDetector-2-5
$ find -name "NDPosPlugin.h"
./ADCore/ADApp/pluginSrc/NDPosPlugin.h

/home/eli_sw/epics/support/areaDetector-2-5
$ find -name "PosPluginWrapper.h"
./ADCore/ADApp/pluginTests/PosPluginWrapper.h


What I am doing wrong? Is there anything else I have to setup to compile areaDetector?

Marcin



Replies:
RE: Problem compiling areaDetector-2-5 Marcin Lukaszewski
References:
Problem compiling areaDetector-2-5 Marcin Lukaszewski

Navigate by Date:
Prev: Re: sumitomo f70 compressor Lionberger, Carl A.
Next: Tech-talk archives & RSS Andrew Johnson
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: Re: Problem compiling areaDetector-2-5 Andrew Johnson
Next: RE: Problem compiling areaDetector-2-5 Marcin Lukaszewski
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, 15 Feb 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·