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: "J. Lewis Muir" <[email protected]>
To: Kohler <[email protected]>
Cc: tech-talk <[email protected]>
Date: Mon, 25 Feb 2013 10:43:46 -0600
On 2/25/13 10:18 AM, Kohler 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

Hi, Ivan.

Creating those symlinks is *not* the right thing to do.  You're having
problems because Ubuntu 12.04 uses a "multiarch" [1] file system layout.

What you need to do is correctly define the X11_LIB, X11_INC, XPM_LIB,
etc. EPICS build system configure variables for your target
architecture.  (Or the EPICS build system would need to be made smarter.)

Lewis

1. http://wiki.debian.org/Multiarch

References:
Compiling MEDM and Striptool on Ubuntu 1204 Kohler

Navigate by Date:
Prev: Re: Compiling MEDM and Striptool on Ubuntu 1204 Andrew Johnson
Next: Re: Compiling MEDM and Striptool on Ubuntu 1204 Keith Thorne
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 Andrew Johnson
Next: Re: Compiling MEDM and Striptool on Ubuntu 1204 Keith Thorne
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 ·