Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
../../../bin/mklib -o GL -linker 'x86_64-pc-linux-gnu-gcc' \ -major 1 -minor 2 \ -install ../../../lib64 -lX11 -lXext -lXxf86vm -lXdamage -lXfixes -lm -lpthread -ldl `pkg-config --libs libdrm` glcontextmodes.o clientattrib.o compsize.o eval.o glxcmds.o glxext.o glxextensions.o indirect.o indirect_init.o indirect_size.o indirect_window_pos.o indirect_transpose_matrix.o indirect_vertex_array.o indirect_vertex_program.o pixel.o pixelstore.o render2.o renderpix.o single2.o singlepix.o vertarr.o xfont.o glx_pbuffer.o glx_query.o glx_texture_compression.o dri_glx.o XF86dri.o ../../../src/mesa/main/dispatch.o ../../../src/mesa/glapi/glapi.o ../../../src/mesa/glapi/glthread.o ../../../src/mesa/x86/glapi_x86.o mklib: Making Linux shared library: libGL.so.1.2 /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../libX11.so when searching for -lX11 /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../libX11.a when searching for -lX11 /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libX11.so when searching for -lX11 /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libX11.a when searching for -lX11 /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status mklib: Installing libGL.so.1.2 libGL.so.1 libGL.so in ../../../lib64 mv: cannot stat `libGL.so.1.2': No such file or directory make[3]: *** [../../../lib64/libGL.so] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src/glx/x11' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1' make: *** [linux-dri-x86] Error 2 [31;01m*[0m [31;01m*[0m ERROR: media-libs/mesa-7.0.1 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 1695: Called dyn_compile [31;01m*[0m ebuild.sh, line 1033: Called qa_call 'src_compile' [31;01m*[0m ebuild.sh, line 44: Called src_compile [31;01m*[0m mesa-7.0.1.ebuild, line 206: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake -j1 ${CONFIG} || die "Build failed" [31;01m*[0m The die message: [31;01m*[0m Build failed [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/tmp/portage/media-libs/mesa-7.0.1/temp/build.log'. [31;01m*[0m |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »cockroach« (05.11.2007, 20:45)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
../utils/mkdependC/mkdependC -f .depend -I. -Iinclude -I../includes -- -O -O2 -march=nocona -pipe -Wa,--noexecstack -I. -Iinclude -D__GHC_PATCHLEVEL__=0 -I../libraries/base/cbits -I../libraries/base/include -- cbits/directory.c cbits/rawSystem.c cbits/unicode.c /var/tmp/portage/dev-lang/ghc-6.6.1/work/usr/bin/ghc -M -optdep-f -optdep.depend -osuf o -H16m -O -optc-march=nocona -opta-march=nocona -opta-Wa,--noexecstack -fno-warn-deprecations -I. -Iinclude -Rghc-timing -I../libraries -fglasgow-exts -no-recomp Compat/Directory.hs Compat/RawSystem.hs Compat/Unicode.hs Distribution/Compat/FilePath.hs Distribution/Compat/ReadP.hs Distribution/Compiler.hs Distribution/GetOpt.hs Distribution/InstalledPackageInfo.hs Distribution/License.hs Distribution/Package.hs Distribution/ParseUtils.hs Distribution/Version.hs Language/Haskell/Extension.hs System/Directory/Internals.hs /var/tmp/portage/dev-lang/ghc-6.6.1/work/usr/lib/ghc-6.6.1/ghc-6.6.1: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory make[1]: *** [depend] Error 127 make: *** [stage1] Error 1 [31;01m*[0m [31;01m*[0m ERROR: dev-lang/ghc-6.6.1 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 1695: Called dyn_compile [31;01m*[0m ebuild.sh, line 1033: Called qa_call 'src_compile' [31;01m*[0m ebuild.sh, line 44: Called src_compile [31;01m*[0m ghc-6.6.1.ebuild, line 270: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake all datadir="/usr/share/doc/${P}" || die "make failed" [31;01m*[0m The die message: [31;01m*[0m make failed [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/tmp/portage/dev-lang/ghc-6.6.1/temp/build.log'. [31;01m*[0m |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »cockroach« (30.10.2007, 12:33)
Quellcode |
|
1 |
# emerge -1 -av readline |
Zitat
Original von dyle
Du hast allerdings mehr als eine Platte im System ... gemountet ... mit System-Libs ... mal 32, mal 64 Bit ... wie sieht das denn aus? Hoho ... "no risk, no fun!", wa?
Wie ist denn da deine Config?
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »cockroach« (30.10.2007, 12:55)
Zitat
Original von cockroach
Quellcode
1 /var/tmp/portage/dev-lang/ghc-6.6.1/work/usr/lib/ghc-6.6.1/ghc-6.6.1: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory
das komische ist allerdings, dass ich auf meinem 32bit system, das auf ner andren platte installiert ist, kein x11 installiert habe, aber mesa ist installiert...
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »cockroach« (30.10.2007, 18:15)
Quellcode |
|
1 |
# ldconfig -p | grep readline |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
Portage 2.1.3.16 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.23-gentoo x86_64) ================================================================= System uname: 2.6.23-gentoo x86_64 Intel(R) Pentium(R) D CPU 2.80GHz Timestamp of tree: Tue, 30 Oct 2007 09:50:01 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.3-r4, 2.5.1-r3 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.61 sys-devel/automake: 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.mneisen.org/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acl alsa amd64 avahi avi berkdb bitmap-fonts bzip2 cli cracklib crypt cups divx dri esd fortran gdbm gif glx gnome gpm gtk hal iconv isdnlog jpeg logrotate midi mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin oggvorbis opengl openmp pam pcre pdf perl png pppd python qt quicktime rar readline reflection session spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts unicode wma wmf x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# ld.so.conf autogenerated by env-update; make all changes to # contents of /etc/env.d directory /usr/local/lib //usr/lib64/opengl/xorg-x11/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 /lib32 /usr/lib32 /usr/local/lib32 /usr/x86_64-pc-linux-gnu/lib /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/32 |
Quellcode |
|
1 2 |
libreadline.so.5 (libc6,x86-64) => /lib/libreadline.so.5 libreadline.so (libc6,x86-64) => /lib/libreadline.so |
Quellcode |
|
1 |
# file /lib/libreadline.so.5 |
Quellcode |
|
1 |
# file /lib/libreadline.so.5.2 |
Quellcode |
|
1 |
# emerge --sync; emerge -avuDN world; revdep-rebuild |
Zitat
Original von dyle
Okeeee ... das ist 64Bit. Also sollte er das jedenfalls finden und linken können.
Hmm, was sagt der übliche Dreierschritt eigentlich
Quellcode
1 # emerge --sync; emerge -avuDN world; revdep-rebuild
Läuft da alles klar durch (bis mal mesa und ghc)?
Sieht nach einer guten, harten Nuß aus.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
touch src/.depend # to prevent unecessary warnings make -C src dep make[1]: Entering directory `/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. bison -y /var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src/prog/gpm-root.y && mv y.tab.c prog/gpm-root.c # make links in srcdir make[1]: [dep] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ x86_64-pc-linux-gnu-gcc -I. -I /var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src -M -I/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR=""/etc/gpm"" -DSBINDIR=""/usr/sbin"" $DEPS | \ /bin/sed 's/\(\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done make[1]: Leaving directory `/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src' make[1]: Entering directory `/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src' x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR=""/etc/gpm"" -DSBINDIR=""/usr/sbin"" -O2 -march=nocona -pipe -fomit-frame-pointer -O2 -march=nocona -pipe -fomit-frame-pointer -c -o main.o main.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR=""/etc/gpm"" -DSBINDIR=""/usr/sbin"" -O2 -march=nocona -pipe -fomit-frame-pointer -O2 -march=nocona -pipe -fomit-frame-pointer -c -o gpm.o gpm.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR=""/etc/gpm"" -DSBINDIR=""/usr/sbin"" -O2 -march=nocona -pipe -fomit-frame-pointer -O2 -march=nocona -pipe -fomit-frame-pointer -c -o gpn.o gpn.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR=""/etc/gpm"" -DSBINDIR=""/usr/sbin"" -O2 -march=nocona -pipe -fomit-frame-pointer -O2 -march=nocona -pipe -fomit-frame-pointer -c -o mice.o mice.c gpm.c: In function 'getMouseData': gpm.c:380: warning: pointer targets in initialization differ in signedness gpm.c:399: warning: pointer targets in return differ in signedness gpm.c:430: warning: pointer targets in return differ in signedness gpm.c: In function 'processMouse': gpm.c:482: warning: pointer targets in passing argument 2 of 'which_mouse->m_type->fun' differ in signedness gpm.c: In function 'processConn': gpm.c:812: warning: passing argument 3 of 'accept' from incompatible pointer type gpm.c: In function 'old_main': gpm.c:1123: warning: value computed is not used gpm.c: In function 'open_console': gpm.c:172: warning: control reaches end of non-void function mice.c:170: warning: type qualifiers ignored on function return type mice.c: In function 'option_modem_lines': mice.c:185: warning: pointer targets in initialization differ in signedness mice.c:186: warning: pointer targets in initialization differ in signedness mice.c:187: warning: pointer targets in initialization differ in signedness gpn.c: In function 'loadlut': gpn.c:108: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness gpn.c:110: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness mice.c: In function 'M_gunze': mice.c:1323: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness gpm.c:165: warning: 'si.line' is used uninitialized in this function x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR=""/etc/gpm"" -DSBINDIR=""/usr/sbin"" -O2 -march=nocona -pipe -fomit-frame-pointer -O2 -march=nocona -pipe -fomit-frame-pointer -c -o special.o special.c gpm.c: In function 'get_console_size': gpm.c:165: warning: 'si.line' is used uninitialized in this function gpm.c:157: note: 'si.line' was declared here special.c: In function 'processSpecial': special.c:158: error: 'OPEN_MAX' undeclared (first use in this function) special.c:158: error: (Each undeclared identifier is reported only once special.c:158: error: for each function it appears in.) make[1]: *** [special.o] Error 1 make[1]: *** Waiting for unfinished jobs.... gpm.c: In function 'processMouse': gpm.c:165: warning: 'si.line' is used uninitialized in this function gpm.c:157: note: 'si.line' was declared here gpm.c: In function 'emit_keystrokes': gpm.c:165: warning: 'si.line' is used uninitialized in this function gpm.c:157: note: 'si.line' was declared here make[1]: Leaving directory `/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src' make: *** [do-all] Error 1 * * ERROR: sys-libs/gpm-1.20.1-r6 failed. * Call stack: * ebuild.sh, line 1695: Called dyn_compile * ebuild.sh, line 1033: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * gpm-1.20.1-r6.ebuild, line 44: Called die * The specific snippet of code: * emake \ * CC=$(tc-getCC) \ * AR=$(tc-getAR) \ * RANLIB=$(tc-getRANLIB) \ * EMACS=: \ * || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-libs/gpm-1.20.1-r6/temp/build.log'. * |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »cockroach« (31.10.2007, 09:53)
Quellcode |
|
1 2 |
# grep OPEN_MAX /usr/include/linux/limits.h #define OPEN_MAX 256 /* # open files a process may have */ |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
/opt/ghc/lib/ghc-6.6.1/ghc-6.6.1: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory /usr/portage/dev-haskell/cabal/cabal-1.1.6.2.ebuild: line 23: test: =: unary operator expected >>> Unpacking cabal-1.1.6.2.tar.gz to /var/tmp/portage/dev-haskell/cabal-1.1.6.2/work /opt/ghc/lib/ghc-6.6.1/ghc-6.6.1: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-haskell/cabal-1.1.6.2/work/cabal-1.1.6.2 ... /opt/ghc/lib/ghc-6.6.1/ghc-6.6.1: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory /usr/portage/dev-haskell/cabal/cabal-1.1.6.2.ebuild: line 35: test: =: unary operator expected /opt/ghc/lib/ghc-6.6.1/ghc-6.6.1: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory mkdir -p dist/tmp /opt/ghc/bin/ghc --make -fno-warn-unused-matches -cpp -i. -odir dist/tmp -hidir dist/tmp Setup.lhs -o setup /opt/ghc/lib/ghc-6.6.1/ghc-6.6.1: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory make: *** [setup] Error 127 /opt/ghc/lib/ghc-6.6.1/ghc-6.6.1: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory /opt/ghc/lib/ghc-6.6.1/ghc-6.6.1: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory /usr/portage/eclass/haskell-cabal.eclass: line 143: ./setup: No such file or directory * * ERROR: dev-haskell/cabal-1.1.6.2 failed. * Call stack: * ebuild.sh, line 1695: Called dyn_compile * ebuild.sh, line 1033: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * cabal-1.1.6.2.ebuild, line 41: Called cabal-configure * haskell-cabal.eclass, line 154: Called die * The specific snippet of code: * ./setup configure \ * --ghc --prefix=/usr \ * --with-compiler="$(ghc-getghc)" \ * --with-hc-pkg="$(ghc-getghcpkg)" \ * --prefix=/usr \ * --libdir=/usr/$(get_libdir) \ * --libsubdir=${P}/ghc-$(ghc-version) \ * --datadir=/usr/share/ \ * --datasubdir=${P}/ghc-$(ghc-version) \ * ${cabalconf} \ * ${CABAL_CONFIGURE_FLAGS} \ * "$@" || die "setup configure failed" * The die message: * setup configure failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-haskell/cabal-1.1.6.2/temp/build.log'. * |