[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    cross-compile
From:       tovbin <tovbin () niisi ! msk ! ru>
Date:       2003-08-27 14:36:27
[Download RAW message or body]

I'm trying to port KDE 3.0 on MIPS, with cross-compiler, but when 
configure script check system libraries, it doesn't look for some X libs, 
but i have it!!! 

# ./configure  --prefix=***** --build=i386-linux 
--host=mips-linux --with-xdmdir=/usr/X11R6/xdm 
--with-motif-includes=/usr/X11R6/LessTif/Motif1.2/include 
--with-motif-libraries=/usr/X11R6/lib --without-xinerama --without-shadow 
--disable-shadow --enable-final --disable-greet-lib --without-cdparanoia 
--disable-lametest --without-lame 


# cat log.1 

checking build system type... i386-pc-linux-gnu
checking host system type... mips-mips-linux-gnu
checking target system type... mips-mips-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking for mips-linux-gcc... mips-linux-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mips-linux-gcc accepts -g... yes
checking dependency style of mips-linux-gcc... gcc3
checking how to run the C preprocessor... mips-linux-gcc -E
checking for mips-linux-g++... mips-linux-g++
checking whether we are using the GNU C++ compiler... yes
checking whether mips-linux-g++ accepts -g... yes
checking dependency style of mips-linux-g++... gcc3
checking whether mips-linux-g++ supports -fno-exceptions... yes
checking whether mips-linux-g++ supports -fno-check-new... yes
checking whether mips-linux-g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... mips-linux-g++ -E
checking whether mips-linux-g++ supports -frepo... yes
checking for ld used by GCC... /export/tools/mips-linux/bin/ld
checking if the linker (/export/tools/mips-linux/bin/ld) is GNU ld... yes
checking for /export/tools/mips-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /export/tools/bin/mips-linux-nm -B
checking for a sed that does not truncate output... 
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /export/tools/bin/mips-linux-nm -B output from \
mips-linux-gcc object... ok checking for objdir... .libs
checking for mips-linux-ranlib... mips-linux-ranlib
checking for mips-linux-strip... mips-linux-strip
checking if mips-linux-gcc static flag  works... yes
checking if mips-linux-gcc supports -fno-rtti -fno-exceptions... yes
checking for mips-linux-gcc option to produce PIC... -fPIC
checking if mips-linux-gcc PIC flag -fPIC works... yes
checking if mips-linux-gcc supports -c -o file.o... yes
checking whether the mips-linux-gcc linker (/export/tools/mips-linux/bin/ld) supports \
shared libraries... yes checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the mips-linux-g++ linker (/export/tools/mips-linux/bin/ld) supports \
shared libraries... yes checking for mips-linux-g++ option to produce PIC... -fPIC
checking if mips-linux-g++ PIC flag -fPIC works... yes
checking if mips-linux-g++ supports -c -o file.o... yes
checking whether the mips-linux-g++ linker (/export/tools/mips-linux/bin/ld) supports \
shared libraries... yes checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) yes
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/export/tools/mips-linux/bin/ld) supports shared \
libraries... yes checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for res_init... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for char... yes
checking size of char... 1
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... no
checking for libXext... no
configure: error: We need a working libXext to proceed. Since configure
can't find it itself, we stop here assuming that make wouldn't find
them either.

# ls -l /export/tools/mips-linux/lib/libXext.*
  -rw-r--r--    1 root     root       119900 Jun 27 19:10 
/export/tools/mips-linux/lib/libXext.a
lrwxrwxrwx    1 root     root           14 Jun 27 15:23 
/export/tools/mips-linux/lib/libXext.so -> libXext.so.6.4
lrwxrwxrwx    1 root     root           14 Jun 26 18:32 
/export/tools/mips-linux/lib/libXext.so.6 -> libXext.so.6.4
-rwxr-xr-x    1 root     root        85356 Jun 23 15:50 
/export/tools/mips-linux/lib/libXext.so.6.


Why configure doesn't find libs?

Thanks, Tommy Tovbin



 -- 

 
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic