Experimental Physics and
| |||||||||||||||
|
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
| ||||||||||||||
ANJ, 18 Nov 2013 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |