View previous topic :: View next topic |
Author |
Message |
spetznaz n00b
Joined: 07 Dec 2003 Posts: 36 Location: Norway
|
Posted: Mon Jul 10, 2006 6:27 pm Post subject: glew-1.3.4-r1 vil ikke kompilere. |
|
|
Quote: | >>> Emerging (1 of 2) media-libs/glew-1.3.4-r1 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking glew-1.3.4-src.tgz ;-)
>>> Unpacking source...
>>> Unpacking glew-1.3.4-src.tgz to /var/tmp/portage/glew-1.3.4-r1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/glew-1.3.4-r1/work/glew ...
cc -march=athlon64 -O3 -pipe -Wall -W -Iinclude -fPIC -o src/glew.pic_o -c src/glew.c
ld -shared -soname libGLEW.so.1.3 -o lib/libGLEW.so.1.3.4 src/glew.pic_o -L/usr/X11R6/lib -lXmu -lXi -lGLU -lGL -lXext -lX11
ld: cannot find -lGLU
make: *** [lib/libGLEW.so.1.3.4] Error 1
!!! ERROR: media-libs/glew-1.3.4-r1 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
glew-1.3.4-r1.ebuild, line 33: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant. |
Jeg antar at linjen jeg har markert er det vesentlige, men hva må jeg gjøre for å fikse det? Det er den siste pakka jeg trenger før compiz-quinnstorm kan installeres og jeg kan kjøre XGL så det er strengt talt ganske irriterende. hvordan finner -lGLU og hva er årsaken til at den ikke eksisterer hadde vært greit å få svar på |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4980 Location: Gothenburg, Sweden
|
Posted: Mon Jul 10, 2006 7:49 pm Post subject: |
|
|
På de system jag har tillgång till tillhör libGLU.* media-libs/mesa om du har modulära xorg (>=7.0), eller monolitiska xorg (<6.9). _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
spetznaz n00b
Joined: 07 Dec 2003 Posts: 36 Location: Norway
|
Posted: Mon Jul 10, 2006 7:54 pm Post subject: |
|
|
Ja stemmer kallamej libGNU tilhører media-libs/mesa. Det fungerer ikke å reinstallere mesa.
Quote: | spetznaz@galactica ~ $ locate libGLU
/usr/lib64/libGLU.la
/usr/portage/media-libs/mesa/files/lib/libGLU.la
/emul/linux/x86/usr/lib/libGLU.so.1.3.060402
/emul/linux/x86/usr/lib/libGLU.so
/emul/linux/x86/usr/lib/libGLU.so.1 |
så den leter rett og slett på feil sted usr/X11R6/lib istedet for /emul/linux/x86/usr/lib/
Hvordan kan jeg fikse det?
Symlinking av filene til usr/X11R6/lib fungerer ikke. |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4980 Location: Gothenburg, Sweden
|
Posted: Mon Jul 10, 2006 8:30 pm Post subject: |
|
|
/emul/... är för 32 bitars kompatibilitet, så de filerna skall och kan den inte använda i det här fallet. De filerna tillhör på min amd64 app-emulation/emul-linux-x86-xlibs. Vilka filer har installerats av media-libs/mesa? Code: | equery f media-libs/mesa
equery k media-libs/mesa |
_________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
spetznaz n00b
Joined: 07 Dec 2003 Posts: 36 Location: Norway
|
Posted: Mon Jul 10, 2006 11:29 pm Post subject: |
|
|
Ja viste egetlig at de er for 32bits aplikasjoner, men er man litt desperat så prøver man alt
Her er outputen fra de to komandoene du foreslo. Den første komandoen gir jo følelsen av at alt er ok og at ting er installert som den skal, Den andre får imidlertid alle alarmklokkene til å ringe når bare 17 av 54 filer viser seg å være i orden.
Vil dette si at overlay'et postage-xgl sin mesa-6.5.1_alpha20060708 er FUBAR eller gir det noe pekepinner på andre ting som kan være feil. Jeg har litt vanskeligf for å tro at det er ebuilden siden det er ganske mange som bruker dette overlayet og jeg har ikke funnet lignende eksempler fra helga. Jeg har heller aldri brukt equery, det er tydeligvis et program jeg må sette meg grundig inn i.
Quote: | spetznaz@galactica ~ $ equery f media-libs/mesa
[ Searching for packages matching media-libs/mesa... ]
* Contents of media-libs/mesa-6.5.1_alpha20060708:
/usr
/usr/include
/usr/include/GL
/usr/include/GL/GLwDrawA.h
/usr/include/GL/GLwMDrawA.h
/usr/include/GL/amesa.h
/usr/include/GL/directfbgl.h
/usr/include/GL/dmesa.h
/usr/include/GL/foomesa.h
/usr/include/GL/fxmesa.h
/usr/include/GL/ggimesa.h
/usr/include/GL/gl_mangle.h
/usr/include/GL/glfbdev.h
/usr/include/GL/glu.h
/usr/include/GL/glu_mangle.h
/usr/include/GL/glx_mangle.h
/usr/include/GL/mesa_wgl.h
/usr/include/GL/mglmesa.h
/usr/include/GL/miniglx.h
/usr/include/GL/osmesa.h
/usr/include/GL/svgamesa.h
/usr/include/GL/uglglutshapes.h
/usr/include/GL/uglmesa.h
/usr/include/GL/vms_x_fix.h
/usr/include/GL/wmesa.h
/usr/include/GL/xmesa.h
/usr/include/GL/xmesa_x.h
/usr/include/GL/xmesa_xf86.h
/usr/lib64
/usr/lib64/dri
/usr/lib64/dri/r200_dri.so
/usr/lib64/dri/r300_dri.so
/usr/lib64/dri/radeon_dri.so
/usr/lib64/lib
/usr/lib64/lib/libGL.so -> libGL.so.1
/usr/lib64/lib/libGL.so.1 -> libGL.so.1.2
/usr/lib64/lib/libGL.so.1.2
/usr/lib64/lib/libGLU.so -> libGLU.so.1
/usr/lib64/lib/libGLU.so.1 -> libGLU.so.1.3.060500
/usr/lib64/lib/libGLU.so.1.3.060500
/usr/lib64/lib/libGLw.so -> libGLw.so.1
/usr/lib64/lib/libGLw.so.1 -> libGLw.so.1.0.0
/usr/lib64/lib/libGLw.so.1.0.0
/usr/lib64/libGLU.la
/usr/lib64/opengl
/usr/lib64/opengl/xorg-x11
/usr/lib64/opengl/xorg-x11/extensions
/usr/lib64/opengl/xorg-x11/include
/usr/lib64/opengl/xorg-x11/include/gl.h
/usr/lib64/opengl/xorg-x11/include/glext.h
/usr/lib64/opengl/xorg-x11/include/glx.h
/usr/lib64/opengl/xorg-x11/include/glxext.h
/usr/lib64/opengl/xorg-x11/lib
/usr/lib64/opengl/xorg-x11/lib/libGL.la
|
Quote: |
spetznaz@galactica ~ $ equery k media-libs/mesa
[ Checking media-libs/mesa-6.5.1_alpha20060708 ]
!!! Failed to calculate MD5 sum for /usr/include/GL/miniglx.h
!!! Failed to calculate MD5 sum for /usr/include/GL/vms_x_fix.h
!!! Failed to calculate MD5 sum for /usr/include/GL/GLwDrawA.h
!!! Failed to calculate MD5 sum for /usr/include/GL/glu_mangle.h
!!! Failed to calculate MD5 sum for /usr/include/GL/mglmesa.h
!!! Failed to calculate MD5 sum for /usr/include/GL/uglmesa.h
!!! Failed to calculate MD5 sum for /usr/include/GL/glfbdev.h
!!! Failed to calculate MD5 sum for /usr/include/GL/dmesa.h
!!! Failed to calculate MD5 sum for /usr/lib64/opengl/xorg-x11/lib/libGL.la
!!! Failed to calculate MD5 sum for /usr/include/GL/directfbgl.h
!!! Failed to calculate MD5 sum for /usr/lib64/dri/r300_dri.so
!!! Failed to calculate MD5 sum for /usr/lib64/lib/libGLU.so.1.3.060500
!!! Failed to calculate MD5 sum for /usr/lib64/lib/libGLw.so.1.0.0
!!! Failed to calculate MD5 sum for /usr/include/GL/fxmesa.h
!!! Failed to calculate MD5 sum for /usr/lib64/libGLU.la
!!! Failed to calculate MD5 sum for /usr/include/GL/uglglutshapes.h
!!! Failed to calculate MD5 sum for /usr/include/GL/foomesa.h
!!! Failed to calculate MD5 sum for /usr/include/GL/xmesa_x.h
!!! Failed to calculate MD5 sum for /usr/include/GL/ggimesa.h
!!! Failed to calculate MD5 sum for /usr/lib64/opengl/xorg-x11/include/glxext.h
!!! Failed to calculate MD5 sum for /usr/include/GL/wmesa.h
!!! Failed to calculate MD5 sum for /usr/lib64/lib/libGL.so.1.2
!!! Failed to calculate MD5 sum for /usr/include/GL/amesa.h
!!! Failed to calculate MD5 sum for /usr/include/GL/glx_mangle.h
!!! Failed to calculate MD5 sum for /usr/include/GL/xmesa.h
!!! Failed to calculate MD5 sum for /usr/lib64/opengl/xorg-x11/include/glext.h
!!! Failed to calculate MD5 sum for /usr/include/GL/gl_mangle.h
!!! Failed to calculate MD5 sum for /usr/include/GL/xmesa_xf86.h
!!! Failed to calculate MD5 sum for /usr/lib64/dri/radeon_dri.so
!!! Failed to calculate MD5 sum for /usr/include/GL/glu.h
!!! Failed to calculate MD5 sum for /usr/include/GL/mesa_wgl.h
!!! Failed to calculate MD5 sum for /usr/include/GL/svgamesa.h
!!! Failed to calculate MD5 sum for /usr/include/GL/GLwMDrawA.h
!!! Failed to calculate MD5 sum for /usr/include/GL/osmesa.h
!!! Failed to calculate MD5 sum for /usr/lib64/opengl/xorg-x11/include/glx.h
!!! Failed to calculate MD5 sum for /usr/lib64/opengl/xorg-x11/include/gl.h
!!! Failed to calculate MD5 sum for /usr/lib64/dri/r200_dri.so
* 17 out of 54 files good
|
Det eneste jeg kan slå fast er at det er noe galt med mesa, men hvorfor det går galt har jeg fortsatt ikke noen ide om. alle ideer og forslang er høyst velkommene |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4980 Location: Gothenburg, Sweden
|
Posted: Tue Jul 11, 2006 6:56 am Post subject: |
|
|
spetznaz wrote: | Code: | spetznaz@galactica ~ $ equery f media-libs/mesa
[ Searching for packages matching media-libs/mesa... ]
* Contents of media-libs/mesa-6.5.1_alpha20060708:
/usr/lib64/lib
/usr/lib64/lib/libGL.so -> libGL.so.1
/usr/lib64/lib/libGL.so.1 -> libGL.so.1.2
/usr/lib64/lib/libGL.so.1.2
/usr/lib64/lib/libGLU.so -> libGLU.so.1
/usr/lib64/lib/libGLU.so.1 -> libGLU.so.1.3.060500
/usr/lib64/lib/libGLU.so.1.3.060500
/usr/lib64/lib/libGLw.so -> libGLw.so.1
/usr/lib64/lib/libGLw.so.1 -> libGLw.so.1.0.0
/usr/lib64/lib/libGLw.so.1.0.0
|
|
Använder inte xgl-overlayet, men det här ser lite skumt ut. Borde nog vara /usr/lib64/libG*, inte /usr/lib64/lib/libG*. Finns /usr/lib64/lib ? _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
spetznaz n00b
Joined: 07 Dec 2003 Posts: 36 Location: Norway
|
Posted: Wed Jul 12, 2006 2:46 am Post subject: |
|
|
jepp det finnes, og det er bare mesa stash der gitt... Mener du ebuilden legger det på feil sted?
Quote: | spetznaz@galactica ~ $ ls -l /usr/lib64/lib
total 1129
lrwxrwxrwx 1 root root 10 Jul 10 21:27 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 12 Jul 10 21:27 libGL.so.1 -> libGL.so.1.2
-rwxr-xr-x 1 root root 569624 Jul 10 21:27 libGL.so.1.2
lrwxrwxrwx 1 root root 11 Jul 10 21:27 libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root 20 Jul 10 21:27 libGLU.so.1 -> libGLU.so.1.3.060500
-rwxr-xr-x 1 root root 549816 Jul 10 21:27 libGLU.so.1.3.060500
lrwxrwxrwx 1 root root 11 Jul 10 21:27 libGLw.so -> libGLw.so.1
lrwxrwxrwx 1 root root 15 Jul 10 21:27 libGLw.so.1 -> libGLw.so.1.0.0
-rwxr-xr-x 1 root root 25528 Jul 10 21:27 libGLw.so.1.0.0
|
|
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4980 Location: Gothenburg, Sweden
|
Posted: Wed Jul 12, 2006 7:31 am Post subject: |
|
|
spetznaz wrote: | Mener du ebuilden legger det på feil sted? |
Ja, det syns mig så. Du kan ju alltid kopiera filerna till lib64 eller länka filerna/katalogen och se om det hjälper. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
spetznaz n00b
Joined: 07 Dec 2003 Posts: 36 Location: Norway
|
Posted: Thu Jul 13, 2006 9:50 am Post subject: |
|
|
Jeg fant vel igrunnen ut at XGL er alt formye alfa software til at det nytter å bruke det uten å ha det som prosjekt. Så jeg fjernet overlayet og brukte bare portage sine ebuilds og ting ser ut til å virke igjen. amaroK spiller til og med musikk
men takk for hjelpen. også fikk jeg litt nærmere kjenskap til equery yey! |
|
Back to top |
|
|
|