Le jeudi 30 juillet 2009 à 16:06 -0400, Matt Spinder a écrit :
> Hi,
> 
> I am getting the same issue when redefining the prefix directory.  It
> was working fine on 1.3 however upgrading the 1.4 the module directory
> string changed.
> 
> In Jose's case the configuration file is setting the MODULEDIR to
> {sysroot}/{libdir} ->
> "/usr/home/jrcmilanez/piapara-livecd-0.133/initrd/usr/lib" and dfb is
> searching for that directory when he boots off the livecd (which is no
> longer correct).
> 
> I have tried changing the exec-prefix option to empty so that libdir
> does not pull my hosts path and instead is set to my targets, however
> the install option now no longer works.  It tries to install to /lib
> instead of /target/lib.
> 
> I am not sure if this effects the data directory as well since I have
> not booted that far into directfb.
> 
> I think what will help us both is an option to specify where to install
> the libraries/modules on the host and an option to specify where the
> directfb libraries will search for modules/data.
> 
> Should sysroot work where the module search path is now
> {sysroot}/lib/directfb?
> 
> Thanks,
> Matt Spinder

Hi Matt,

Cross compilation is always a pain...

Remember that all options you're giving the configure script remain
relatives to the installation directory.
You probably want to compile/link using the --sysroot option from gcc
which will make -L/usr/lib -I/usr/include etc... relative to the sysroot
argument.

The Buildroot project is a nice place to learn about that kind of
problem.

Regards,

-- 
Lionel Landwerlin <lionel.landwer...@openwide.fr>

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to