use DESTDIR=/opt/arcom/arm-linux and --prefix=/usr etc for 
configure/autoconf and DESTDIR=/opt/arcom/arm-linux for make install.  
libtool is completely ridiculous.  What's with the absolute paths at 
compile time?!

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?  
>
> Thanks in advance for all your help.
>
>
> Bryan B.
> SSC-PACIFIC
> Electrical Engineer
>
>
>
> _______________________________________________
> directfb-users mailing list
> directfb-users@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>
>   

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to