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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: MEDM install result |
From: | William Layne via Tech-talk <[email protected]> |
To: | "Soliday, Robert T." <[email protected]> |
Cc: | [email protected] |
Date: | Tue, 26 Nov 2019 19:03:01 -0500 |
I believe you will have to modify extensions/configure/os/CONFIG_SITE.linux-x86.linux-x86
The MOTIF_LIB and MOTIF_INC probably need to be changed.
--Bob Soliday
On 11/26/19 5:01 PM, 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