Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gl trouble?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
bigtpumped
n00b
n00b


Joined: 20 Nov 2005
Posts: 7
Location: New Jersey, United States

PostPosted: Mon Nov 28, 2005 2:57 am    Post subject: gl trouble? Reply with quote

Earlier today, i ran a "emerge --update --deep world" to update my system. I since tried to start amarok, where i got an error about gl not being found. I noticed that mplayer gave me the same error. I sucessfully recompiled mplayer, which now works fine. I then tried to recompile amarok, though, and got the following error:
Code:
od.la ../../amarok/src/ipod/itunesdb/libitunesdb.la ../../amarok/src/statusbar/libstatusbar.la -lkutils -lkio -lkdeui -lkdecore -lkhtml -L/usr/lib -ltag -lGL  ../../amarok/src/sqlite/libsqlite.la -ltunepimp -L/usr/lib/mysql -lmysqlclient -L/usr/lib -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[4]: *** [amarokapp] Error 1
make[4]: Leaving directory `/var/tmp/portage/amarok-1.2.4/work/amarok-1.2.4/amarok/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amarok-1.2.4/work/amarok-1.2.4/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amarok-1.2.4/work/amarok-1.2.4/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amarok-1.2.4/work/amarok-1.2.4'
make: *** [all] Error 2

!!! ERROR: media-sound/amarok-1.2.4 failed.
!!! Function kde_src_compile, Line 173, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

I then checked packages, and thought that there might be an issue involving needing the "lablgl" package, so i attempted to emerge that, and got the following:
Code:

ml_glu.c:145: warning: `targ' might be used uninitialized in this function
ml_glu.c:146: warning: `ustride' might be used uninitialized in this function
ml_glu.c: In function `ml_gluNurbsSurface':
ml_glu.c:202: warning: `type' might be used uninitialized in this function
ml_glu.c:203: warning: `sStride' might be used uninitialized in this function
ml_glu.c: In function `ml_gluPwlCurve':
ml_glu.c:279: warning: `type' might be used uninitialized in this function
ml_glu.c:280: warning: `stride' might be used uninitialized in this function
ml_glu.c: In function `ml_gluTessProperty':
ml_glu.c:316: warning: `data' might be used uninitialized in this function
ocamlrun ../src/var2def < raw_tags.var > raw_tags.h
ocamlc -c -w s -ccopt "-c -O -O2 -march=pentium4  -I/usr/X11R6/include" ml_raw.c
ml_raw.c: In function `ml_raw_write_string':
ml_raw.c:173: warning: unused variable `ret'
ocamlc -c -w s -ccopt "-c -O -O2 -march=pentium4  -I/usr/X11R6/include" ml_glarr                                                                                                    ay.c
ml_glarray.c: In function `ml_glEdgeFlagPointer':
ml_glarray.c:34: warning: passing arg 2 of `glEdgeFlagPointer' makes pointer fro                                                                                                    m integer without a cast
ocamlmklib -o lablgl ml_gl.o    ml_glu.o        ml_raw.o ml_glarray.o -lGL -lGLU                                                                                                     -lglut -L/usr/X11R6/lib -lXext -lXmu -lX11
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: c                                                                                                    annot find -lGL
collect2: ld returned 1 exit status
make[1]: *** [liblablgl.a] Error 2
make[1]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/src'
make: *** [lib] Error 2
>>> Test phase [not enabled]: dev-ml/lablgl-1.00

>>> Install lablgl-1.00 into /var/tmp/portage/lablgl-1.00/image/ category dev-ml
make[1]: Entering directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00'
cd src && make install
make[2]: Entering directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/src'
if test -d "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL"; then : ;                                                                                                     else mkdir -p "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL"; fi
cp raw.cmi gl.cmi               glLight.cmi     glList.cmi      glMap.cmi glMat.                                                                                                    cmi     glMisc.cmi      glPix.cmi       glClear.cmi glTex.cmi   glDraw.cmi     g                                                                                                    lFunc.cmi       gluMisc.cmi gluNurbs.cmi        gluQuadric.cmi  gluTess.cmi    g                                                                                                    luMat.cmi glArray.cmi "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL"
cp: cannot stat `raw.cmi': No such file or directory
cp: cannot stat `gl.cmi': No such file or directory
cp: cannot stat `glLight.cmi': No such file or directory
cp: cannot stat `glList.cmi': No such file or directory
cp: cannot stat `glMap.cmi': No such file or directory
cp: cannot stat `glMat.cmi': No such file or directory
cp: cannot stat `glMisc.cmi': No such file or directory
cp: cannot stat `glPix.cmi': No such file or directory
cp: cannot stat `glClear.cmi': No such file or directory
cp: cannot stat `glTex.cmi': No such file or directory
cp: cannot stat `glDraw.cmi': No such file or directory
cp: cannot stat `glFunc.cmi': No such file or directory
cp: cannot stat `gluMisc.cmi': No such file or directory
cp: cannot stat `gluNurbs.cmi': No such file or directory
cp: cannot stat `gluQuadric.cmi': No such file or directory
cp: cannot stat `gluTess.cmi': No such file or directory
cp: cannot stat `gluMat.cmi': No such file or directory
cp: cannot stat `glArray.cmi': No such file or directory
make[2]: *** [install] Error 1
make[2]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/src'
make[1]: *** [real-install] Error 2
make[1]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00'
make: *** [install] Error 2

!!! ERROR: dev-ml/lablgl-1.00 failed.
!!! Function src_install, Line 72, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

I assume that there is a broken package somewhere that portage doesn't know about, but I'm not sure. If anyone has had any similar issues and knows what to do, any help would be much appreciated. Thanks.
Back to top
View user's profile Send private message
bigtpumped
n00b
n00b


Joined: 20 Nov 2005
Posts: 7
Location: New Jersey, United States

PostPosted: Mon Nov 28, 2005 3:37 am    Post subject: Reply with quote

I decided to check something out, and i tried to compile xscreensaver, which required GLE which wasnt working. I decided to download it and do it myself instead of letting portage do it. When i ran the configure script, i got the following error:
Code:
checking for text file /usr/share/doc/xserver-common/copyright... no
checking for text file /usr/X11R6/README... no
checking for locale directory... /usr/share/locale
configure: creating ./config.status
config.status: creating Makefile
config.status: creating utils/Makefile
config.status: creating driver/Makefile
config.status: creating hacks/Makefile
config.status: creating hacks/glx/Makefile
config.status: creating po/Makefile.in
config.status: creating driver/XScreenSaver.ad
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing default-2 commands

    #################################################################

       Note: The OpenGL 3D library was not found.

             More specifically, we found the headers, but not the
             libraries; so either GL is half-installed on this
             system, or something else went wrong.  The `config.log'
             file might contain some clues.

             Those demos which use 3D will not be built or installed.
             You might want to consider installing OpenGL and
             re-running configure.  If your vendor doesn't ship
             their own implementation of OpenGL, you can get a free
             version at <http://www.mesa3d.org/>.  For general OpenGL
             info, see <http://www.opengl.org/>.
head: `-1' option is obsolete; use `-n 1' since this will be removed in the future

    #################################################################

User programs will be installed in /usr/local/bin/
Screen savers will be installed in /usr/local/libexec/xscreensaver/
Configuration will be installed in /usr/local/share/xscreensaver/config/

I realize that opengl isnt installed correctly, but I'm not sure what ebuild to install in order to fix that.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum