Bryan Bui-Tuong wrote: > Hello everyone, > > I am trying to cross compile DirectFB 1.1.1 on my desktop for an arm board > and get the following error message when I do a 'make install > prefix=/opt/arcom/arm-linux': > > > ---------------------------------------------------------------------------- > ------------------------- > > > test -z "/opt/arcom/arm-linux/lib" || /bin/mkdir -p > "/opt/arcom/arm-linux/lib" > /bin/sh ../../libtool --mode=install /usr/bin/install -c > 'libfusion.la' '/opt/arcom/arm-linux/lib/libfusion.la' > libtool: install: error: cannot install `libfusion.la' to a directory > not ending in /usr/lib > make[4]: *** [install-libLTLIBRARIES] Error 1 > > > > ---------------------------------------------------------------------------- > ------------------------- > > > > These are my path settings and ./configure settings: > > > ---------------------------------------------------------------------------- > ------------------------- > > CROSSCOMPILE=/opt/arcom/bin > CC=arm-linux-gcc > NM=arm-linux-nm > LD=arm-linux-ld > CXX=arm-linux-g++ > RANLIB=arm-linux-ranlib > AR=arm-linux-ar > STRIP=arm-linux-strip > ARMLINUX=/opt/arcom/arm-linux > PATH=$ARMLINUX/bin:$CROSSCOMPILE:$ARMLINUX/lib:$PATH > > ./configure --disable-sdl --disable-osx --disable-x11 --disable-mmx > --disable-sse --disable-vnc --disable-video4linux --with-gfxdrivers=none > --with-inputdrivers=none --without-software --prefix=/usr --host=arm-linux > --target=arm-linux --build=i686-redhat-linux-gnu > > ---------------------------------------------------------------------------- > ------------------------- > > Why am I not able to install into my arm-linux folder on my local drive > before I move it to the target drive?
Consider using scratchbox (www.scratchbox.org) if you are able. It really takes the headache out of cross-compiling. You are going to run into issues with other packages that will be far more troublesome to fix than this one. Zac _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users