[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Kyra Sprite Engine and autotools
- To: linuxgames@xxxxxxxxxx
- Subject: Re: Kyra Sprite Engine and autotools
- From: Pablo Ariel Duboue <pduboue@xxxxxxxxx>
- Date: Mon, 11 Feb 2008 18:02:05 -0800 (PST)
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: mailing list linuxgames@xxxxxxxxxx
- Delivery-date: Mon, 11 Feb 2008 21:02:21 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=354Jz6fV6kjjbXYITq3ztebfx+wbA9Zhk15DgW0LJE0yG4in+jwmXiKSF9PfZYpnjJKt5jeZNC1E0yX5YwMwiTO6sxne6kSVmK6oyXcutWNbCbyD3ptOE3EFj44ree2ioHI43ckJTTD4R6PX2ovZI5FjZ/XsoQYCL3R0NLZf3Xc=;
- In-reply-to: <4650E858.1060008@xxxxxxxxxxx>
- Mailing-list: contact linuxgames-help@xxxxxxxxxx; run by ezmlm
- Reply-to: linuxgames@xxxxxxxxxx
--- Gianfranco Berardi <gberardi@xxxxxxxxxxx> wrote:
(...)
>
> I use those options, and libkyra builds using the
> specified libraries.
> Unfortunately, libengine ignores those libraries and
> uses the system
> installed ones (bringing along all of their
> dependencies), at least
> according to ldd.
>
> I'm trying to figure out how to specify that both
> libkyra and libengine
> should use those SDL prefixes, and while I have some
> familiarity with
> autotools, I can't seem grok the configure/Makefile
> scripts enough,
> especially with libtool involved. I keep digging
> through, and I keep
> discovering new clues, but I haven't yet hit an
> explanation for why
> libengine depends upon my system installed libraries
> as opposed to the
> libraries I specified.
Have you tried setting up a chroot for compilation?
You can trick the tools into using your SDL instead of
the system ones. Then you can use LD_PRELOAD or
LD_LIBRARY_PATH to beat the system libraries with your
own versions in your runGame scripts. I know it is a
huge hack but if it works... one less problem :-)
Good luck,
Pablo
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ