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  <20122013  2014  2015  2016  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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS Base version 3.15.0.1 released
From: Dirk Zimoch <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Tue, 21 Aug 2012 12:16:05 +0200
Dirk Zimoch wrote:
Dirk Zimoch wrote:
Dirk Zimoch wrote:
Installing to a different INSTALL_LOCATION fails:

make[3]: Entering directory `/afs/psi.ch/group/8431/dirk/cvs/base-3.15.0.1/src/libCom/O.linux-x86'
perl -CSD ../../../src/libCom/env/bldEnvData.pl  ../../../configure
Can't locate EPICS/Path.pm in @INC (@INC contains: ../../../lib/perl /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ../../../src/libCom/env/bldEnvData.pl line 20. BEGIN failed--compilation aborted at ../../../src/libCom/env/bldEnvData.pl line 20.

[...]

make[3]: Leaving directory `/afs/psi.ch/group/8431/dirk/cvs/base-3.15.0.1/src/libCom/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory `/afs/psi.ch/group/8431/dirk/cvs/base-3.15.0.1/src/libCom'
make[1]: *** [libCom.install] Error 2
make[1]: Leaving directory `/afs/psi.ch/group/8431/dirk/cvs/base-3.15.0.1/src'
make: *** [src.install] Error 2


Without setting INSTALL_LOCATION installation succeeds.

Dirk

The problem can be fixed by changing the definition of the macro PERL in configure/CONFIG_COMMON to

PERL = perl -CSD -I $(INSTALL_PERL_MODULES)




When building modules (here asyn4-19) against an EPICS base in an INSTALL_LOCATION, the header files in $(EPICS_BASE)/include/os/$(OS_CLASS) are not found. With an EPICS base without INSTALL_LOCATION it works.

Dirk

Linux builds work (including cross embedded linux builds). I see the problem only for vxWorks builds.

Compiling from local EPICS base:

/afs/psi.ch/project/vxworks/Tornado2.2/host/x86-linux/bin/ccppc -DCPU=PPC604 -DvxWorks=vxWorks -include /afs/psi.ch/project/vxworks/Tornado2.2/target/h/vxWorks.h -O -Wall -mcpu=604 -mstrict-align -mno-implicit-fp -mlongcall -fno-builtin -I. -I../O.Common -I. -I. -I.. -I../../asyn/asynDriver -I../../asyn/asynGpib -I../../asyn/drvAsynSerial -I../../asyn/interfaces -I../../asyn/miscellaneous -I../../asyn/asynPortDriver/exceptions -I../../asyn/asynPortDriver -I../../asyn/devEpics -I../../asyn/asynRecord -I../../asyn/vxi11 -I../../asyn/ni1014 -I../../include/compiler/gcc -I../../include/os/vxWorks -I../../include -I/afs/psi.ch/user/z/zimoch/cvs/base-3.15.0.1/include/compiler/gcc -I/afs/psi.ch/user/z/zimoch/cvs/base-3.15.0.1/include/os/vxWorks -I/afs/psi.ch/user/z/zimoch/cvs/base-3.15.0.1/include -I/afs/psi.ch/project/vxworks/Tornado2.2/target/h -c ../../asyn/asynDriver/asynManager.c

All is fine, because this dir is there:
-I/afs/psi.ch/user/z/zimoch/cvs/base-3.15.0.1/include/os/vxWorks

Compiling from global EPICS base:

/afs/psi.ch/project/vxworks/Tornado2.2/host/x86-linux/bin/ccppc -DCPU=PPC604 -DvxWorks=vxWorks -include /afs/psi.ch/project/vxworks/Tornado2.2/target/h/vxWorks.h -O -Wall -mcpu=604 -mstrict-align -mno-implicit-fp -mlongcall -fno-builtin -I. -I../O.Common -I. -I. -I.. -I../../asyn/asynDriver -I../../asyn/asynGpib -I../../asyn/drvAsynSerial -I../../asyn/interfaces -I../../asyn/miscellaneous -I../../asyn/asynPortDriver/exceptions -I../../asyn/asynPortDriver -I../../asyn/devEpics -I../../asyn/asynRecord -I../../asyn/vxi11 -I../../asyn/ni1014 -I../../include/compiler/gcc -I../../include/os/vxWorks -I../../include -I/usr/local/epics/base-3.15.0/include/compiler/gcc -I/usr/local/epics/base-3.15.0/include -I/afs/psi.ch/project/vxworks/Tornado2.2/target/h -c ../../asyn/asynDriver/asynManager.c
In file included from /usr/local/epics/base-3.15.0/include/taskwd.h:21,
                 from ../../asyn/asynDriver/asynManager.c:22:
/usr/local/epics/base-3.15.0/include/epicsThread.h:207: osdThread.h: No such file or directory
In file included from ../../asyn/asynDriver/asynManager.c:25:
/usr/local/epics/base-3.15.0/include/epicsMutex.h:107: osdMutex.h: No such file or directory
In file included from ../../asyn/asynDriver/asynManager.c:26:
/usr/local/epics/base-3.15.0/include/epicsEvent.h:78: osdEvent.h: No such file or directory
In file included from ../../asyn/asynDriver/asynManager.c:28:
/usr/local/epics/base-3.15.0/include/epicsTime.h:19: osdTime.h: No such file or directory

Here this dir is missing:
-I/usr/local/epics/base-3.15.0/include/os/vxWorks


This is my CONFIG.Common.T2-ppc604 configuration file (works with 3.14):

include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc604_long
VXWORKS_VERSION = 5.5
WIND_BASE = /afs/psi.ch/project/vxworks/Tornado2.2


Dirk

Replies:
Re: EPICS Base version 3.15.0.1 released Dirk Zimoch
References:
EPICS Base version 3.15.0.1 released Andrew Johnson
Re: EPICS Base version 3.15.0.1 released Dirk Zimoch
Re: Re: EPICS Base version 3.15.0.1 released Dirk Zimoch
Re: EPICS Base version 3.15.0.1 released Dirk Zimoch

Navigate by Date:
Prev: Re: EPICS Base version 3.15.0.1 released Dirk Zimoch
Next: Re: EPICS Base version 3.15.0.1 released Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS Base version 3.15.0.1 released Dirk Zimoch
Next: Re: EPICS Base version 3.15.0.1 released Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·