EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Compiling MEDM and Striptool on Ubuntu 1204
From: Jeong Han Lee <[email protected]>
To: [email protected]
Date: Tue, 26 Feb 2013 19:31:24 +0900
Dear Keith,

I want to share my experience to compile MEDM 3.1.7 and my system is Debian 3.2.35-2 x86_64 GNU/Linux (Testing). According to your email, I changed only X11_LIB in CONFIG_SITE.linux-x86_64.linux-x86_64 as follows :

  X11_LIB=/usr/lib64/x86_64-linux-gnu

  That resolved the following compile errors

make[2]: *** No rule to make target `../../../../lib/linux-x86_64/libXt.a', needed by `medm'. Stop. make[2]: Leaving directory `/home/jhlee/epics/extensions/src/medm3_1_7/medm/O.linux-x86_64'
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory `/home/jhlee/epics/extensions/src/medm3_1_7/medm'
make: *** [medm.install] Error 2


  Thank you,

  Jeong Han Lee

On 02/26/2013 01:45 AM, Keith Thorne wrote:

Dear Ivan
	There is a much easier way, appropriate way to do this

   In extensions/configure/os modify the appropriate CONFIG_SITE file
  ( in your case, CONFIG_SITE.linux-x86.linux-x86 )

# Ubuntu 12 on 32-bit has X11 at /usr/lib/i386-linux-gnu, Motif at /usr/lib
X11_LIB=/usr/lib/i386-linux-gnu
X11_INC=/usr/include/X11
MOTIF_LIB=/usr/lib
MOTIF_INC=/usr/include

recent versions of MEDM (3.1.7) and StripTool (2.5.15.0) conform to used these symbols.

I had to modify an older Probe (1.7.0) Makefile to put Xp_DIR in X11-LIB, but I believe
a recent correction resolves that as well.

	Keith Thorne

On Feb 25, 2013, at 10:18 AM, Kohler <[email protected]> wrote:

Hi,
Just in case anyone is having problems compiling MEDM on Ubuntu1204, here are some tips:
MEDM compile expects some library files in /usr/lib
Ubuntu1204 puts these files in /usr/lib/i386-linux-gnu
so one needs the following symbolic links in /usr/lib, MEDM then compiles:
  ln -s /usr/lib/i386-linux-gnu/libXm.a /usr/lib/libXm.a
  ln -s /usr/lib/i386-linux-gnu/libXt.a /usr/lib/libXt.a
  ln -s /usr/lib/i386-linux-gnu/libXp.a /usr/lib/libXp.a
  ln -s /usr/lib/i386-linux-gnu/libXmu.a /usr/lib/libXmu.a
  ln -s /usr/lib/i386-linux-gnu/libX11.a /usr/lib/libX11.a
  ln -s /usr/lib/i386-linux-gnu/libXext.a /usr/lib/libXext.a
  ln -s /usr/lib/i386-linux-gnu/libXm.so /usr/lib/libXm.so

Remember to install the following package for the larger fonts used by MEDM to work on Ubuntu1204:
  apt-get install xfonts-100dpi

For StripTool you also need:
  ln -s /usr/lib/i386-linux-gnu/libXpm.a /usr/lib/libXpm.a

Cheers,
Ivan Kohler
iThemba LABS




--
Jeong Han Lee, Dr.rer.nat.
---------------------------
Accelerator Division
Rare Isotope Science Project
Institute for Basic Science
70, Yuseong-daero 1689-gil, Yusung-gu,
Daejeon 305-811, South Korea
---------------------------
cell : +82-10-7363-2083
tel  : +82-42-878-8733
fax  : +82-42-878-8799


References:
Compiling MEDM and Striptool on Ubuntu 1204 Kohler

Navigate by Date:
Prev: Re: CA client on iOS? Xiaoqiang Wang
Next: Re: caClient with PCAS Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Compiling MEDM and Striptool on Ubuntu 1204 Keith Thorne
Next: Re: Compiling MEDM and Striptool on Ubuntu 1204 Kohler
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·