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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: linux medm installation error: cannot find -lXmu |
From: | Torsten Bögershausen via Tech-talk <tech-talk at aps.anl.gov> |
To: | Rong Huang <ronghuang at ls-cat.org>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Fri, 31 Mar 2023 14:42:58 +0000 |
Not sure about Ubuntu 22.04 The "older" Ubuntus may have needed this: sudo apt-get install -y libmotif-dev x11proto-print-dev xfonts-100dpi libxmu-dev libxpm-dev And may be this helps: <https://github.com/EuropeanSpallationSource/medm/commit/bc992f873433af58ad32a3d735c18c47821368f3> /Torsten From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Rong Huang via Tech-talk <tech-talk at aps.anl.gov> Hello, If my problem is just because I overlooked some instructions, I apologize.
system: Ubuntu 22.04.2 LTS epics base: epics-base-R7.0.7 (installed smoothly) synApps: wget
https://raw.githubusercontent.com/EPICS-synApps/support/master/assemble_synApps.sh (installed smoothly after modifying EPICS_BASE) medm extensions: extensionsTop_20120904.tar.gz medm: tried both 'medm-MEDM3_1_17' and current git clone modifying made before medm/make: (1) set MOTIF_LIB and X11_LIB to /usr/lib/x86_64-linux-gnu in extensions/configure/os/CONFIG_SITE.linux-x86_64.linux-x86_64, (2) in using 'USR_LIBS_Linux = Xm Xt Xmu X11 Xext' in medm/medm/Makefile (the
modifications made the compile go further). Currently, the make error is (the ending part of make output): /usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -g -Wall -Werror-implicit-function-declaration -DSCIPLOT -DMOTIF -DEDITRES -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc
-I../../../../include/os/Linux -I../../../../include -I/home/rong/EPICS/epics-base-R7.0.7/include/compiler/gcc -I/home/rong/EPICS/epics-base-R7.0.7/include/os/Linux -I/home/rong/EPICS/epics-base-R7.0.7/include -I../../printUtils -I../../xc -I/usr/include
-I/usr/include -c ../xgif.c Thank you in advance. Rong |