Re: [gentoo-user] What is libX11.la, and how do I build it?

2011-05-07 Thread Enrico Weigelt
* Alan Mackenzie  wrote:

> I try to emerge, say, gtk+.  It fails building the cairo lib.  The build
> log indicates:
> 
> /bin/sed: can't read /usr/lib64/libX11.la: No such file or directory

Upstream bug. Cairo is broken, they rely on unreliable stuff.
(there's a lot of traffic about .la files and why they are
very bad idea from day one in the mail archives ...)


cu
-- 
--
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weig...@metux.de
 mobile: +49 151 27565287  icq:   210169427 skype: nekrad666
--
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
--



Re: [gentoo-user] What is libX11.la, and how do I build it?

2011-04-18 Thread Philip Webb
110418 Alan Mackenzie wrote:
> I try to emerge, say, gtk+.  It fails building the cairo lib.
> The build log indicates:
>   /bin/sed: can't read /usr/lib64/libX11.la: No such file or directory

I have

  root:504 ~> cd /usr/lib64
  root:505 lib64> ls libX11*
libX11.la  libX11.so  libX11.so.6  libX11.so.6.3.0  libX11-xcb.la  
libX11-xcb.so  libX11-xcb.so.1  libX11-xcb.so.1.0.0
  root:506 lib64> equery belongs /usr/lib64/libX11.la
  [ Searching for file(s) /usr/lib64/libX11.la in *... ]
  x11-libs/libX11-1.4.1 (/usr/lib64/libX11.la)

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] What is libX11.la, and how do I build it?

2011-04-18 Thread Neil Bothwick
On Mon, 18 Apr 2011 07:35:56 +, Alan Mackenzie wrote:

> I try to emerge, say, gtk+.  It fails building the cairo lib.  The build
> log indicates:
> 
> /bin/sed: can't read /usr/lib64/libX11.la: No such file or directory

Run: 
emerge lafilefixer
lafilefixer --justfixit

Later portage versions handle this automatically.


-- 
Neil Bothwick

Beware! The end is... 


signature.asc
Description: PGP signature


[gentoo-user] What is libX11.la, and how do I build it?

2011-04-18 Thread Alan Mackenzie
Hi, Gentoo.

I try to emerge, say, gtk+.  It fails building the cairo lib.  The build
log indicates:

/bin/sed: can't read /usr/lib64/libX11.la: No such file or directory

.  Looking into lib64, most libraries have versions .a, .la, .so*.  What
is .la?  "file libevtlog.la" says "libtool library file".  What does
this mean?  Is it the 64 bit version, or something?

Why is libX11 lacking the .la version?  More to the point, what do I
have to do to build it?  I've already tried setting the "static-libs"
use flag in /etc/portage/package.use, to no avail.

-- 
Alan Mackenzie (Nuremberg, Germany).