g+
g+ Communities
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  <2013 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <2013
<== Date ==> <== Thread ==>

Subject: Re: medm build
From: Hinko Kocevar <hinko.kocevar@i-tech.si>
To: tech-talk@aps.anl.gov
Date: Thu, 10 Jan 2013 09:19:20 +0100
We seen this problems too with newer Ubuntu and Mint Linux distros (other might apply too).

I think that the root problem is in the fact that "multiarch" is supported out-of-the box on the newer versions of Linux distros. In other words, static and dynamic libraries for certain packages (mostly X11) end up in the /usr/lib/i386-linux-gnu folder (or similar) instead of in the /usr/lib folder (where EPICS looks for them).

We solved the problem by making a soft link like this

ln -snf /usr/lib/i386-linux-gnu/libXt.a /usr/lib/libXt.a

Note the full path!

I would like to see more friendly solution in the future for this issue.

Thank you!

--
Hinko

On 01/10/2013 04:18 AM, Kate Feng wrote:
One need to install the libxt-dev package, too for the development header.
Also, depending on your build config,  one might need to  provide the link
from the medm source tree directory/lib

ln -f -s /usr/lib/.../libxt.a libXt.a

Cheers,
Kate

On 01/09/2013 09:58 PM, Mark Rivers wrote:
You need to install the libXt package on Linux.

Mark

________________________________________
From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on
behalf of D Peter Siddons [siddons@bnl.gov]
Sent: Wednesday, January 09, 2013 8:38 PM
To: tech-talk@aps.anl.gov
Subject: medm build

I just tried to build medm 3_1_7 using epics base-3.14.12.2 on Ubuntu
12.04. It gives an error:

   *** No rule to make target `/usr/lib64/libXt.a', needed by `medm'.

I suspect a configuration error. Any suggestions?

Pete.

--
D. Peter Siddons
Detector Development Group Leader
NSLS, Bldg. 725D
Photon Sciences Directorate,
Brookhaven National Laboratory
Upton, NY 11973

email: siddons@bnl.gov
Phone: (631) 344-2738





Replies:
Re: medm build Andrew Johnson
References:
medm build D Peter Siddons
RE: medm build Mark Rivers
Re: medm build Kate Feng

Navigate by Date:
Prev: routing Pavel Maslov
Next: Re: medm build Jeong Han Lee
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <2013
Navigate by Thread:
Prev: Re: medm build Kate Feng
Next: Re: medm build Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <2013
ANJ, 10 Jan 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·