ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Prblems building tslib on QuadCore Ubuntu box


From: Stuart Hughes
Subject: Re: [Ltib] Prblems building tslib on QuadCore Ubuntu box
Date: Wed, 06 May 2009 16:39:55 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Peter Barada wrote:
On Wed, 2009-05-06 at 12:02 +0100, Stuart Hughes wrote:
Peter Barada wrote:
> On Tue, 2009-05-05 at 11:06 +0100, Stuart Hughes wrote:
>> Hi Peter,

> > http://www.bitshrine.org/gpp/gstreamer-core-0.10.12-relink.patch > > and tried the same for tslib, and things worked. Attached is a patch to > tslib that got things to work for me on my X64 Ubutu 9.04 QuadCore system... >
Hi Peter,

Thanks, that looks like a good fix, I'll get it added to CVS/GPP. The interesting thing here is how this problem doesn't show up on other hosts, I suspect it's configure/host-package related.

Could be. I'm running a Ubuntu 9.04 x64 system. I've attached what I've had to do to the stock Ubuntu 9.04 x64 "alternative" installation (as I have RAID1) to get LTIB to build/run - I may have overlooked something which caused tslib to fail.

Would it be safe, in general, to apply this type of patch to all packages that "try to fake it" in ltmain.sh? I'm asking since chasing this down was a total pain...


Hi Peter,

Yes, that idiom to remove the "try to fake it" from ltmain.sh is generally valid for cross-compiling systems. There are many issues related to libtool and cross-compiling, but it's safe to say as a guide:

* Don't install _any_ .la files to the rootfs (target NFS area)
* You may need to add:
perl -pi -e 's,^sys_lib_search_path_spec=.*,sys_lib_search_path_spec=,' libtool
  after ./configure ... in .spec file %Build sections
* You may need to comment out the "try to fake it" -L/usr/lib section from ltmain.sh

BTW: Thanks for sharing your changes to Ubuntu, I think they'll be helpful to others.

Regards, Stuart








reply via email to

[Prev in Thread] Current Thread [Next in Thread]