[Top][All Lists]

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

Re: Compiling into chroot

From: Roumen Petrov
Subject: Re: Compiling into chroot
Date: Thu, 12 Jun 2008 21:32:29 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20080329 SeaMonkey/1.1.9

Alon Bar-Lev wrote:

I looked at recent libtool-2 versions and could still not find a solution to 
compile into chroot.

I want to create an image to embedded device using a cross compiler.

So I do:
mkdir /tmp/device-root
cd /package1
./configure --host=<> --prefix=/usr
make install DESTDIR=/tmp/device-root
cd /package2
./configure --host=<> --prefix=/usr
make install DESTDIR=/tmp/device-root

But package2 cannot find libraries as the .la files constains pathes to 
/usr/lib and not /tmp/device-root/usr/lib.

Is there any way to make libtool search the /tmp/device-root prefix, and behave 
I am thinking like an environment variable so that packages will not be 

Alon Bar-Lev.

Hmm. What is related to chroot ?


reply via email to

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