Kann nicht Kompilieren. Abbruch bei: LD_LIBRARY_PATH

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
Reichi
Erleuchteter
Erleuchteter
Beiträge: 477
Registriert: Sonntag 7. Oktober 2001, 00:00

Kann nicht Kompilieren. Abbruch bei: LD_LIBRARY_PATH

Beitrag von Reichi »

Hallo!

Ich kann nicht um die Burg kompilieren.
Ghost war gestern mal so freundlich und hat mich eingewiesen und mir geholfen das CVS runterzuladen etc.
Wenn ich make eingebe dann bricht der immer an der selben Stelle ab.
Wenn sich jemand jedoch von außen per telnet einloggt, dann geht alles ohne Probleme!
Hier mal der LOG
____________________________________________________________________
striker@linux:~/tuxbox-cvs/cdk> make
( rm -rf glibc-2.2.5 || /bin/true ) && bunzip2 -cd Archive/glibc-2.2.5.tar.bz2 | tar -x && ( cd glibc-2.2.5; bunzip2 -cd ../Archive/glibc-linuxthreads-2.2.5.tar.bz2 | tar -x ) && ( cd glibc-2.2.5; patch -p1 < ../Patches/glibc.diff ) && ( rm -rf build || /bin/true ) && mkdir build
patching file Makerules
patching file sysdeps/powerpc/Dist
patching file sysdeps/powerpc/Makefile
patching file sysdeps/powerpc/__longjmp.S
patching file sysdeps/powerpc/fclrexcpt.c
patching file sysdeps/powerpc/fe_nomask.c
patching file sysdeps/powerpc/fprrest.S
patching file sysdeps/powerpc/fprsave.S
patching file sysdeps/powerpc/fpu/Dist
patching file sysdeps/powerpc/fpu/Makefile
patching file sysdeps/powerpc/fpu/fclrexcpt.c
patching file sysdeps/powerpc/fpu/fe_nomask.c
patching file sysdeps/powerpc/fpu/fprrest.S
patching file sysdeps/powerpc/fpu/fprsave.S
patching file sysdeps/powerpc/fpu/fpu_control.h
patching file sysdeps/powerpc/fpu_control.h
patching file sysdeps/powerpc/memset.S
patching file sysdeps/powerpc/setjmp.S
cd build && \
CC=powerpc-tuxbox-linux-gnu-gcc AR=powerpc-tuxbox-linux-gnu-ar RANLIB=powerpc-tuxbox-linux-gnu-ranlib \
CFLAGS="-O2 -mcpu=823" LDFLAGS="-s" \
../glibc-2.2.5/configure \
--build=i686-suse-linux \
--host=powerpc-tuxbox-linux-gnu \
--prefix= \
--with-headers=/home/striker/tuxbox-cvs/cdk/linux-2.4.2/include \
--enable-kernel=2.4.2 \
--disable-profile \
--enable-shared \
--enable-add-ons=linuxthreads \
--without-fp && \
make all && \
make install install_root=/dbox2/cdkroot
creating cache ./config.cache
checking host system type... powerpc-tuxbox-linux-gnu
checking sysdep dirs... sysdeps/powerpc/elf linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysdeps/powerpc sysdeps/unix/sysv/linux/powerpc sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/powerpc sysdeps/unix sysdeps/posix sysdeps/powerpc sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/powerpc/soft-fp sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for pwd... /bin/pwd
checking build system type... i686-suse-linux-gnu
checking for powerpc-tuxbox-linux-gnu-gcc... powerpc-tuxbox-linux-gnu-gcc
checking version of powerpc-tuxbox-linux-gnu-gcc... 3.1, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 3.79.1, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.10.37, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.0, ok
checking for gsed... no
checking for sed... sed
checking version of sed... 3.02, ok
checking whether the C compiler (powerpc-tuxbox-linux-gnu-gcc -O2 -mcpu=823 -s) works... no
checking whether the C compiler (powerpc-tuxbox-linux-gnu-gcc -O2 -mcpu=823 -s) is a cross-compiler... (cached) yes
checking whether we are using GNU C... yes
checking build system type... i686-suse-linux-gnu
checking for gcc... gcc
checking how to run the C preprocessor... /lib/cpp
checking whether /dbox2/cdk/lib/gcc-lib/powerpc-tuxbox-linux-gnu/3.1/../../../../powerpc-tuxbox-linux-gnu/bin/as is GNU as... yes
checking whether /dbox2/cdk/lib/gcc-lib/powerpc-tuxbox-linux-gnu/3.1/../../../../powerpc-tuxbox-linux-gnu/bin/ld is GNU ld... yes
checking for powerpc-tuxbox-linux-gnu-mig... mig
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... contains current directory
configure: error:
*** LD_LIBRARY_PATH shouldn't contain the current directory when
*** building glibc. Please change the environment variable
*** and run configure again.
make: *** [.glibc] Error 1
striker@linux:~/tuxbox-cvs/cdk>

Kann mir von euch jemand helfen???
Danke schon mal,

Reichi
rasta12
Interessierter
Interessierter
Beiträge: 54
Registriert: Donnerstag 10. Januar 2002, 09:06

Beitrag von rasta12 »

Du hast sicherlich vor dem make kein
export=LD_LIBRARY_PATH=""
ausgeführt.
waldi
Senior Member
Beiträge: 104
Registriert: Freitag 20. Juli 2001, 00:00

Beitrag von waldi »

du benutzt eine version der suse distribution die fuer normale benutzer einen LD_LIBRARY_PATH setzt anstatt /etc/ld.so.conf zu benutzen. diese environment veriable wird auch in einem falschen format gesetzt, das sich fuer den dynamic linker immer . darin befindet. die glibc kann das beim compilen nicht gebrauchen.

waldi