View Single Post
Old 07-21-2008, 04:49 PM   #6
Antartica
Evangelist
Antartica has learned how to read e-booksAntartica has learned how to read e-booksAntartica has learned how to read e-booksAntartica has learned how to read e-booksAntartica has learned how to read e-booksAntartica has learned how to read e-booksAntartica has learned how to read e-books
 
Posts: 415
Karma: 754
Join Date: Jun 2006
Location: Madrid, Spain
Device: iliad, onhandpc, newton, zaurus
Quote:
Originally Posted by Sunn Sunn View Post
Code:
../dl-and-install.sh libXtst.so
No package 'recordproto' found. How would you do in situations like these? You want to compile something, that something needs libraries, and so on? It's easy to do on my "real" OS, but the multiple levels of indirection with Scratchbox has my head spinning - there's the host OS, the scratchbox environment, and then the environment on the iliad itself.
When something talks about packages in a configure or makefile, it refers to pkgconfig .pc files.

For that, it suffices to do an
Code:
./dl-and.install.sh recordproto.pc
If it complains about a .h or something like that, then explore packages.debian.org and find what it is referring to, and when you have found it, go to the "list-files" that is besides the arm link to download and pick one file from there as a parameter for the dl-and-install script (without the leading /, or the script will not work).

About the levels of "indirection", there are really only two environments in that setup: your host OS and the scratchbox one. In the scratchbox you have installed the iliad libraries without development headers, so when you need to compile something that depends on a library, you need to have compiled/installed tht library on the scratchbox environment, so really the iliad part is only there for the liberm.so/liberipc.so libraries and for testing purposes.

That is very different from the maemo development environment (where scratchbox was born, IIRC), where you have a full debian environment inside scratchbox and you simply apt-get the things you need, AFAIK.
Antartica is offline   Reply With Quote