Experimental Physics and Industrial Control System
Hello everyone,
I've recently installed EPICS base 3.14.12 on my Ubuntu 12.04 64-bit machine
and I am trying to install EDM 1-12-79 on it.
However, the first error popped up after having configured the epics environment
variables EPICS_BASE, EPICS_HOST_ARCH and EPICS_EXTENSIONS and
hitting make.
The build system complained about missing rules for some libraries, namely:
libXt.so, libXp.so, libXtst.so, libX11.so, libXmu.so
An example of such error follows:
----------------------
/usr/bin/ranlib libcfcaa62e-8199-11d3-a77f-00104b8742df.a
make[2]: *** No rule to make target `/usr/lib/libXt.a', needed by `libcfcaa62e-8199-11d3-a77f-00104b8742df.so'. Stop.
make[2]: Leaving directory `/opt/epics/extensions/src/edm/lib/O.linux-x86_64'
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory `/opt/epics/extensions/src/edm/lib'
make: *** [lib.install] Error 2
----------------------
So, I tried to solve this issue making the following symlinks in the
/usr/lib directory:
----------------------
sudo ln -s ./x86_64-linux-gnu/libXt.so libXt.so
sudo ln -s ./x86_64-linux-gnu/libXp.so libXp.so
sudo ln -s ./x86_64-linux-gnu/libXtst.so libXtst.so
sudo ln -s ./x86_64-linux-gnu/libX11.so libX11.so
sudo ln -s ./x86_64-linux-gnu/libXmu.so libXmu.so
----------------------
By doing this I got rid of the previous errors and the compilation
succeeded.
Additionally I set the following EDM environment variables:
EDM_TOPDIR=${EPICS_EXTENSIONS}/src/edm
export EDM_TOPDIR
EDMPVOBJECTS=${EPICS_EXTENSIONS}/ext_pref/edm
export EDMPVOBJECTS
EDMOBJECTS=${EPICS_EXTENSIONS}/ext_pref/edm
export EDMOBJECTS
EDMHELPFILES=${EPICS_EXTENSIONS}/src/edm/helpFiles
export EDMHELPFILES
EDMFILES=${EPICS_EXTENSIONS}/ext_pref/edm
export EDMFILES
EDM=${EPICS_EXTENSIONS}/src/edm/edmMain/O.${EPICS_HOST_ARCH}/edm
export EDM
PATH=${PATH}:${EPICS_EXTENSIONS}/src/edm/edmMain/O.${EPICS_HOST_ARCH}
EDMLIBS=${EPICS_EXTENSIONS}/lib/${EPICS_HOST_ARCH}
export EDMLIBS
And set the component libraries and PV components
----------------------
for pv in Epics Calc Log Loc;do edm -addpv ${EPICS_EXTENSIONS}/lib/${EPICS_HOST_ARCH}/lib$pv.so;done
for ff in lib*.so;do edm -add ${EPICS_EXTENSIONS}/lib/${EPICS_HOST_ARCH}/$ff; done
----------------------
Finally, after trying to issue the edm command the I got the following error:
----------------------
X error: code=3, msg: BadWindow (invalid Window parameter)
X error: code=3, msg: BadWindow (invalid Window parameter)
X error: code=3, msg: BadWindow (invalid Window parameter)
Error: No realize class procedure defined
----------------------
And nothing else happens.
I got nothing from the Xorg log or the similar thread
Does anyone have any idea of what this error could be?
Additional Info:
----------------------
uname:
Linux 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
----------------------
Thanks in advance,
Lucas
- Replies:
- Re: EDM X Error on Linux John William Sinclair
- Navigate by Date:
- Prev:
Re: Creating INLINK/OUTLINK in record support Tim Mooney
- Next:
Re: Creating INLINK/OUTLINK in record support Bruce Hill
- 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: Motor Record 6-5-2 backlash issue? Tim Mooney
- Next:
Re: EDM X Error on Linux John William Sinclair
- 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