Experimental Physics and Industrial Control System
|
It is having an issue linking back to
EPICS_BASE for some reason when I go to build it.I can create a
symbolic from
/usr1/local/epics/release/R3.14.12.5/base/include/cvtFast.h to /usr1/local/epics/extensions/include/edm/ . This worked but is not
correct way of doing this as I have to add more and more include
files. I have even exported EPICS_BASE:
export EPICS_BASE=/usr1/local/epics/release/R3.14.12.5/base/
But this also does not work. It must be something to do with my
path that not getting set correctly, although I have this set in
my /usr1/local/epics/extensions/configure/RELEASE file:
EPICS_BASE=/usr1/local/epics/release/R3.14.12.5/base
EPICS_EXTENSIONS=$(TOP)
I am trying to build EDM in the following directory:
/usr1/local/epics/extensions/src/edm
I am assuming there must be an issue with a path as
/usr1/local/epics/release/R3.14.12.5/base/includes/cvtFast.h does
exist.
Shawn
On 01/13/2016 07:34 PM, Michael Davidsaver wrote:
EPICS_BASE=/usr1/local/epics/release/R3.14.12.5/base
...
-I. -I../O.Common -I. -I.. -I../../../../include/edm/os/Linux
-I../../../../include/edm -I../../util -I../../lib
-I/lib/i386-linux-gnu -I/usr/lib/i386-linux-gnu
I'm puzzled that I don't see the path to EPICS Base here. Specifically
you should see "-I$(EPICS_BASE) -I$(EPICS_BASE)/os/Linux" (expanded of
course).
However, the fast that make proceeds far enough to invoke the compiler
suggests that you have the correct path for EPICS_BASE.
../group.h:27:21: fatal error: cvtFast.h: No such file or directory
"cvtFast.h" comes from EPICS Base. Does it exist for you as
"/usr1/local/epics/release/R3.14.12.5/base/include/cvtFast.h"? If not
then Base is probably not build correctly.
FYI, a set of instructions which I've checked
http://mdavidsaver.github.io/epics-doc/epics-starting.html
On 01/13/2016 04:56 PM, Shawn Rapaz wrote:
Hello,
I have successfully built EPICS Base as well as EPICS extensions but I
cannot build EDM successfully. I am currently trying to build
edm-1-12-102. I have the following set:
/usr1/local/epics/extensions/configure/RELEASE:
EPICS_BASE=/usr1/local/epics/release/R3.14.12.5/base
EPICS_EXTENSIONS=$(TOP)
OAG_APPS=$(TOP)/../../oag/apps
/usr1/local/epics/extensions/configure/os/CONFIG_SITE.linux-x86.linux-x86:
X11_LIB=/lib/i386-linux-gnu
X11_INC=/usr/lib/i386-linux-gnu
MOTIF_LIB=/usr/lib/i386-linux-gnu
MOTIF_INC=/lib/i386-linux-gnu
I also created a /usr/X11R6 directory with the following link:
lib -> /lib/i386-linux-gnu
This is my export:
export EPICS_HOST_ARCH=linux-x86
When I try to build, I get the following error:
/usr/bin/g++ -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_
-DUNIX -Dlinux -O3 -g -Wall -DSINGLE_THREADED=1
-D__epics__=1 -m32 -fPIC -MMD -I. -I../O.Common -I. -I..
-I../../../../include/edm/os/Linux -I../../../../include/edm
-I../../util -I../../lib -I/lib/i386-linux-gnu
-I/usr/lib/i386-linux-gnu ../app_pkg.cc
In file included from ../bindings.h:27:0,
from ../act_win.h:44,
from ../app_pkg.h:36,
from ../app_pkg.cc:19:
../group.h:27:21: fatal error: cvtFast.h: No such file or directory
#include "cvtFast.h"
^
compilation terminated.
../../../../configure/RULES_BUILD:213: recipe for target 'app_pkg.o'
failed
make[2]: *** [app_pkg.o] Error 1
make[2]: Leaving directory
'/usr1/local/epics/extensions/src/edm-1-12-102/lib/O.linux-x86'
../../../configure/RULES_ARCHS:64: recipe for target
'install.linux-x86' failed
make[1]: *** [install.linux-x86] Error 2
make[1]: Leaving directory
'/usr1/local/epics/extensions/src/edm-1-12-102/lib'
../../configure/RULES_DIRS:87: recipe for target 'lib.install' failed
make: *** [lib.install] Error 2
Any advice or help would be much appreciated. Thank you in advance.
Shawn Rapaz
--
Shawn Rapaz
ISAC Controls Computer Systems Administrator, TRIUMF
4004 Wesbrook Mall, Vancouver, BC V6T 2A3
Phone: (604) 222-1047 (ext 6439)
Fax: (604) 222-1074
|
- References:
- Issues with building EDM on Debian 8 32bit Shawn Rapaz
- Re: Issues with building EDM on Debian 8 32bit Michael Davidsaver
- Navigate by Date:
- Prev:
Re: areaDetector: ADBinX/Y and ADSizeX/Y interactions Phil Atkin
- Next:
RE: areaDetector: ADBinX/Y and ADSizeX/Y interactions 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
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Issues with building EDM on Debian 8 32bit Michael Davidsaver
- Next:
Skip updating an output link in aSub ? Lingyun Yang
- 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
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 15 Jul 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|