Error while compiling 'trousers'

Amruta Gokhale amrutag at cs.rutgers.edu
Fri Feb 19 16:10:17 CET 2010


Hello,

I am trying to build the 'trousers' library 
(http://trousers.sourceforge.net/) on Ubuntu 9.04 for openmoko.

Since I could not find trousers after doing 'opkg list | grep trousers', 
I assume it's not
yet available in pre-compiled toolchain.

I followed the instructions at :
http://wiki.openmoko.org/wiki/Toolchain#Installing_additional_libraries_into_the_toolchain

I am getting the following error after doing 'make' :
<console>
/bin/grep: /usr/lib/libpixman-1.la: No such file or directory
/bin/sed: can't read /usr/lib/libpixman-1.la: No such file or directory
libtool: link: `/usr/lib/libpixman-1.la' is not a valid libtool archive
make[2]: *** [libtspi.la] Error 1
make[2]: Leaving directory 
`/home/src/trousers/openmoko-trousers-0.3.1/src/tspi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/src/trousers/openmoko-trousers-0.3.1/src'
make: *** [all-recursive] Error 1
$:~/src/trousers/openmoko-trousers-0.3.1$ locate libpixman-1.la
/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/libpixman-1.la
</console>

I believe the libtool is looking for the 'libpixman' library in the 
wrong place - /usr/lib instead of
/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib
What do I need to do to fix this?

There is a similar problem reported in another thread :
http://lists.openmoko.org/nabble.html#nabble-td2571591

And I tried that solution -- setting the LIBTOOL_SYSROOT_PATH. But 
'make' gives the same error.

I have attached my environment settings.

I will appreciate any help.

Thanks,
Amruta





-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: env.txt
Url: http://lists.openmoko.org/pipermail/devel/attachments/20100219/970ece66/attachment.txt 


More information about the devel mailing list