Re: Crosscompiling / Default configuration

[email protected] (Matthew Allum) Mon, 24 Jan 2005 06:28:50 -0600
Newsgroups gmane.comp.handhelds.matchbox
Message-ID <[email protected]>
Hi;

on Mon, Jan 24, 2005 at 01:15:35PM +0100, Roland Hoesch wrote:
> 
> since my application is build on another system then it is executed, the path 
> of installation makes problems for me.
> When compiling matchbox I use
> 	./configure --prefix=/home/rh/eli/rootfs/usr .....
> which installs matchbox at this location.
> But when I'm installing matchbox on my embedded box, the installation path 
> is /usr, of course. The result is, that when I'm starting 
> matchbox-window-manager I get error messages, because matchbox is looking for 
> configuration files in /home/rh/eli/rootfs/usr/share, which actually does not 
> exist.
>

If iirc, use DESTDIR. i.e. ./configure with --prefix=/usr but when you
make install do like;

make DESTDIR=/home/rh/eli/rootfs install
 
> 
> BTW:
> Where can I find default configuration files (f.e. for .Xdefaults or session)?

Check the mb manual; 

http://projects.o-hand.com/matchbox/manual.html

  -- Matthew