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: Keith Thorne <[email protected]>
To: [email protected]
Date: Mon, 25 Feb 2013 10:45:13 -0600
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



References:
Compiling MEDM and Striptool on Ubuntu 1204 Kohler

Navigate by Date:
Prev: Re: Compiling MEDM and Striptool on Ubuntu 1204 J. Lewis Muir
Next: Re: Problem when cross-compiling epics base for vxWorks5.5 on win32-x86 J. Lewis Muir
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 J. Lewis Muir
Next: Re: Compiling MEDM and Striptool on Ubuntu 1204 Jeong Han Lee
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 ·