As others said,
different Linux distros need different flags.
I developed a configure script, based of the work from Han Lee,
which should be able to get a working tree into a compilable status:
<https://github.com/EuropeanSpallationSource/medm/commit/bc992f873433af58ad32a3d735c18c47821368f3>
(and I just opened a pull request, to see if we can help people
to compile medm easily :-)
On 27/11/19 00:01, Mark Rivers via Tech-talk wrote:
Folks,
I am trying to get help Peiyu get medm running on Ubuntu. He has installed libmotif-devel, and that has installed libXm.a and libXm.so in /usr/lib/x86_64-linux-gnu/. I was not sure if Ubuntu was searching that directory by default, so just to be sure I had him set LD_LIBRARY_PATH to point to it.
This is that directory:
epics0@ubuntu:~/Apps/epics/base/lib/linux-x86_64$ ls -l $LD_LIBRARY_PATH/libXm*
-rw-r--r-- 1 root root 4677026 Feb 19 2018 /usr/lib/x86_64-linux-gnu/libXm.a
lrwxrwxrwx 1 root root 14 Feb 19 2018 /usr/lib/x86_64-linux-gnu/libXm.so -> libXm.so.4.0.4
lrwxrwxrwx 1 root root 14 Feb 19 2018 /usr/lib/x86_64-linux-gnu/libXm.so.3 -> libXm.so.4.0.4
lrwxrwxrwx 1 root root 14 Feb 19 2018 /usr/lib/x86_64-linux-gnu/libXm.so.4 -> libXm.so.4.0.4
-rw-r--r-- 1 root root 2886704 Feb 19 2018 /usr/lib/x86_64-linux-gnu/libXm.so.4.0.4
-rw-r--r-- 1 root root 201152 Dec 10 2015 /usr/lib/x86_64-linux-gnu/libXmu.a
lrwxrwxrwx 1 root root 15 Dec 10 2015 /usr/lib/x86_64-linux-gnu/libXmu.so -> libXmu.so.6.2.0
lrwxrwxrwx 1 root root 15 Sep 3 08:09 /usr/lib/x86_64-linux-gnu/libXmu.so.6 -> libXmu.so.6.2.0
-rw-r--r-- 1 root root 102824 Dec 10 2015 /usr/lib/x86_64-linux-gnu/libXmu.so.6.2.0
lrwxrwxrwx 1 root root 16 Sep 3 08:09 /usr/lib/x86_64-linux-gnu/libXmuu.so.1 -> libXmuu.so.1.0.0
-rw-r--r-- 1 root root 14528 Dec 10 2015 /usr/lib/x86_64-linux-gnu/libXmuu.so.1.0.0
However, when he builds medm he still gets this:
/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -g -Wall -DSCIPLOT -DMOTIF -DEDITRES -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include -I../../../../../base/include/compiler/gcc -I../../../../../base/include/os/Linux -I../../../../../base/include -I../../printUtils -I../../xc -I/usr/include -I/usr/include -c ../xgif.c
make[2]: *** No rule to make target '../../../../lib/linux-x86_64/libXm.a', needed by 'medm'. Stop.
make[2]: Leaving directory '/home/epics0/Apps/epics/extensions/src/medm-master/medm/O.linux-x86_64'
../../../../base/configure/RULES_ARCHS:58: recipe for target 'install.linux-x86_64' failed
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory '/home/epics0/Apps/epics/extensions/src/medm-master/medm'
../../../base/configure/RULES_DIRS:84: recipe for target 'medm.install' failed
make: *** [medm.install] Error 2
Any ideas?
Thanks,
Mark
- References:
- RE: MEDM install result Mark Rivers via Tech-talk
- Navigate by Date:
- Prev:
Re: Accessing IOC on different subnet Mark Rivers via Tech-talk
- Next:
Re: Accessing IOC on different subnet Bhavna N. Merh via Tech-talk
- 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: MEDM install result Jeong Han Lee via Tech-talk
- Next:
Accessing IOC on different subnet Bhavna N. Merh via Tech-talk
- 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
|