Summary: | mesa-progs will not compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Adam Marthaler <bigun> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic-t-478831-highlight-recompile+fpic.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Adam Marthaler
2006-07-10 11:41:20 UTC
*** This bug has been marked as a duplicate of 136776 *** I love duplicate zealots... please read:
64lappy Mesa-6.4.2 # emerge -p mesa
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] media-libs/mesa-6.4.2-r2
64lappy Mesa-6.4.2 # emerge mesa-progs
Calculating dependencies... done!
>>> Emerging (1 of 1) x11-apps/mesa-progs-6.4.2 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking MesaLib-6.4.2.tar.bz2 ;-)
>>> checking MesaDemos-6.4.2.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking MesaLib-6.4.2.tar.bz2 to /var/tmp/portage/mesa-progs-6.4.2/work
>>> Unpacking MesaDemos-6.4.2.tar.bz2 to /var/tmp/portage/mesa-progs-6.4.2/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/mesa-progs-6.4.2/work/Mesa-6.4.2 ...
x86_64-pc-linux-gnu-gcc -I../../include -Wall -march=k8 -pipe -O2 -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_X86_64_ASM -std=c99 -ffast-math glxinfo.c -L../../lib64 -lglut -lGLU -lGL -lm -o glxinfo
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [glxinfo] Error 1
!!! ERROR: x11-apps/mesa-progs-6.4.2 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
mesa-progs-6.4.2.ebuild, line 68: Called die
!!! glxinfo failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
--
And just for good measure, I even re-compiled it to make double sure it was installed... same error.
Yeah, so how about that you run eselect opengl and fix your opengl, which is apparently just borked? (Just a couple of side notes: wth is -cPIF? And, how is this revelant to this bug? And, remove -fPIC from your C[XX]FLAGS). 64lappy Mesa-6.4.2 # eselect opengl set nvidia shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Switching to nvidia OpenGL interface...ln: creating symbolic link `./libGL.so' to `/usr/lib32/opengl/nvidia/lib/libGL.so': No such file or directory !!! Error: Failed to create /usr/lib32/libGL.so exiting. Well, this is a seperate issue alltogether.. (In reply to comment #4) > Well, this is a seperate issue alltogether.. > Well no, it's not. As said, your opengl is screwed. *** This bug has been marked as a duplicate of 139087 *** Weird... me being in the temp directory effected it... lookit results ---- 64lappy ~ # eselect opengl set xorg-x11 Switching to xorg-x11 OpenGL interface... done 64lappy ~ # emerge mesa-progs Calculating dependencies... done! >>> Emerging (1 of 1) x11-apps/mesa-progs-6.4.2 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking MesaLib-6.4.2.tar.bz2 ;-) >>> checking MesaDemos-6.4.2.tar.bz2 ;-) >>> Unpacking source... >>> Unpacking MesaLib-6.4.2.tar.bz2 to /var/tmp/portage/mesa-progs-6.4.2/work >>> Unpacking MesaDemos-6.4.2.tar.bz2 to /var/tmp/portage/mesa-progs-6.4.2/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/mesa-progs-6.4.2/work/Mesa-6.4.2 ... x86_64-pc-linux-gnu-gcc -I../../include -Wall -march=k8 -pipe -O2 -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_X86_64_ASM -std=c99 -ffast-math glxinfo.c -L../../lib64 -lglut -lGLU -lGL -lm -o glxinfo /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGL collect2: ld returned 1 exit status make: *** [glxinfo] Error 1 !!! ERROR: x11-apps/mesa-progs-6.4.2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile mesa-progs-6.4.2.ebuild, line 68: Called die !!! glxinfo failed !!! If you need support, post the topmost build error, and the call stack if relevant. 64lappy ~ # eselect opengl set nvidia Switching to nvidia OpenGL interface... done 64lappy ~ # emerge mesa-progs Calculating dependencies... done! >>> Emerging (1 of 1) x11-apps/mesa-progs-6.4.2 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking MesaLib-6.4.2.tar.bz2 ;-) >>> checking MesaDemos-6.4.2.tar.bz2 ;-) >>> Unpacking source... >>> Unpacking MesaLib-6.4.2.tar.bz2 to /var/tmp/portage/mesa-progs-6.4.2/work >>> Unpacking MesaDemos-6.4.2.tar.bz2 to /var/tmp/portage/mesa-progs-6.4.2/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/mesa-progs-6.4.2/work/Mesa-6.4.2 ... x86_64-pc-linux-gnu-gcc -I../../include -Wall -march=k8 -pipe -O2 -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_X86_64_ASM -std=c99 -ffast-math glxinfo.c -L../../lib64 -lglut -lGLU -lGL -lm -o glxinfo /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGL collect2: ld returned 1 exit status make: *** [glxinfo] Error 1 !!! ERROR: x11-apps/mesa-progs-6.4.2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile mesa-progs-6.4.2.ebuild, line 68: Called die !!! glxinfo failed !!! If you need support, post the topmost build error, and the call stack if relevant. |