EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: EPICS: trying to build asyn 4-6
From: Eric Norum <[email protected]>
To: David Dudley <[email protected]>
Cc: [email protected]
Date: Mon, 11 Sep 2006 09:52:35 -0500
On Sep 11, 2006, at 9:23 AM, David Dudley wrote:

Trying to build Asyn-4.6 on Linux.

Here's what happens (annotated logfile):

*---------------------------------------------------------------------------
make -C configure install
make[1]: Entering directory `/home/daviddu/local/src/EPICS/modules/soft/4-6/configure'
perl ~/local/src/EPICS/base/configure/tools/convertRelease.pl -h linux-x86 checkRelease
make -C O.linux-x86 -f ../Makefile TOP=../.. T_A=linux-x86 install
make[2]: Entering directory `/home/daviddu/local/src/EPICS/modules/soft/4-6/configure/O.linux-x86'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/home/daviddu/local/src/EPICS/modules/soft/4-6/configure/O.linux-x86'
make[1]: Leaving directory `/home/daviddu/local/src/EPICS/modules/soft/4-6/configure'
make -C makeSupport install
make[1]: Entering directory `/home/daviddu/local/src/EPICS/modules/soft/4-6/makeSupport'
make -C O.linux-x86 -f ../Makefile TOP=../.. T_A=linux-x86 install
make[2]: Entering directory `/home/daviddu/local/src/EPICS/modules/soft/4-6/makeSupport/O.linux-x86'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/home/daviddu/local/src/EPICS/modules/soft/4-6/makeSupport/O.linux-x86'
make[1]: Leaving directory `/home/daviddu/local/src/EPICS/modules/soft/4-6/makeSupport'
make -C asyn install
make[1]: Entering directory `/home/daviddu/local/src/EPICS/modules/soft/4-6/asyn'
make -C O.linux-x86 -f ../Makefile TOP=../.. T_A=linux-x86 install
make[2]: Entering directory `/home/daviddu/local/src/EPICS/modules/soft/4-6/asyn/O.linux-x86'
~/local/src/EPICS/base/bin/linux-x86/dbToRecordtypeH  -I . -I .. -I ../../dbd   ../../asyn/asynRecord/asynRecord.dbd ../O.Common/asynRecord.h
Error   Last token ""dbCommon.dbd""
input line:     include "dbCommon.dbd" 
   in: file ../../asyn/asynRecord/asynRecord.dbd line 107

filename="../dbLexRoutines.c" line number=388
No such file or directory dbIncludeNew opening file dbCommon.dbd
dbCalloc: callocMustSucceed(0, 2) - bad args
Thread _main_ (0x8052878) can't proceed, suspending.
make[2]: *** [../O.Common/asynRecord.h] Interrupt
make[1]: *** [install.linux-x86] Interrupt
make: *** [asyn.install] Interrupt


EPICS_HOST_ARCH=linux-x86


configure/RELEASE file contains:
#RELEASE Location of external products
#  IPAC is only necessary if support for Greensprings IP488 is required
#  IPAC release V2-7 or later is required.
# IPAC=/corvette/home/epics/devel/ipac/2-8
# SEQ is required for testIPServer
#SNCSEQ=/home/phoebus/NORUME/src/EPICS/modules/soft/seq
#  EPICS_BASE 3.14.6 or later is required
LINUX_GPIB=NO
# EPICS_BASE=/home/phoebus/NORUME/src/EPICS/base_R3_14_2_branch
EPICS_BASE=/home/daviddu/local/src/EPICS/base


*----------------------------------------------------------------
Shouldn't 'base' show up as an include directory in the call to 'dbToRecordtypeH'?  Thats where 'dbCommon.dbd' is at.

Yes, it should.

Perhaps you tried building ASYN sometime earlier before base was properly built.  The build rules then wouldn't have set up the include paths as desired.
Try doing a 'make distclean' in modules/soft/4-6 and then try rebuilding.
Andrew will now complain to me that I packaged the ASYN stuff up with a poor name.   I suggest that you rename modules/soft/4-6 to modules/soft/asyn/4-6 -- but this is not what's causing the problems


Also, I see a '~' in the above output.   I've found that EPICS is happier with full path names than with '~' shorthand for home directories.

-- 
Eric Norum <[email protected]>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793



References:
EPICS: trying to build asyn 4-6 David Dudley

Navigate by Date:
Prev: Keithley 6221 Pulsed current source Sibley III, Coles
Next: Re: IocLogInit Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: EPICS: trying to build asyn 4-6 David Dudley
Next: Keithley 6221 Pulsed current source Sibley III, Coles
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·