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