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
<2013>
2014
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
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|