Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xgl error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
netcelli
Apprentice
Apprentice


Joined: 29 Nov 2005
Posts: 169

PostPosted: Mon Jul 10, 2006 8:43 pm    Post subject: xgl error Reply with quote

i get this error when i try to emerge xgl even if i followed the wiki
Code:
glxcmds.c: In function `DoGetFBConfigs':
glxcmds.c:1153: error: `GLX_SWAP_METHOD_OML' undeclared (first use in this function)
glxcmds.c:1153: error: (Each undeclared identifier is reported only once
glxcmds.c:1153: error: for each function it appears in.)
make[2]: *** [glxcmds.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../GL/include -I../../hw/xfree86/os-support -I../../hw/xfree86/os-support/bus -I../../hw/xfree86/common -I../../hw/xfree86/dri -I../../mi -I/var/tmp/portage/xgl-0.0.1_p20060327/work/Mesa/include -DHAVE_DIX_CONFIG_H -I/usr/include/drm -I/usr/include/X11/dri -I/var/tmp/portage/xgl-0.0.1_p20060327/work/Mesa/src/mesa/glapi -I/var/tmp/portage/xgl-0.0.1_p20060327/work/Mesa/src/glx/x11 -I/var/tmp/portage/xgl-0.0.1_p20060327/work/Mesa/src/mesa/main -DXGLServer -DNO_LIBCWRAPPER -DUSE_MGL_NAMESPACE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -march=pentium4 -O2 -fomit-frame-pointer -pipe -MT glxcmdsswap.lo -MD -MP -MF .deps/glxcmdsswap.Tpo -c glxcmdsswap.c  -fPIC -DPIC -o .libs/glxcmdsswap.o
make[2]: Leaving directory `/var/tmp/portage/xgl-0.0.1_p20060327/work/xgl-xorg/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xgl-0.0.1_p20060327/work/xgl-xorg/GL'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xgl-0.0.1_p20060327 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called x-modular_src_compile
  x-modular.eclass, line 327:   Called x-modular_src_make
  x-modular.eclass, line 322:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/xgl-coffee'
Back to top
View user's profile Send private message
dobysirius
n00b
n00b


Joined: 27 Nov 2005
Posts: 69
Location: Sofia, Bulgaria

PostPosted: Mon Jul 10, 2006 10:22 pm    Post subject: Reply with quote

You might try doing
Code:
eselect opengl set xorg-x11

then emerging it, and then doing
Code:
eselect opengl set nvidia/ati/whatever you have

If you don't know what you should set it to, run eselect opengl list.
That's what fixed this for me.
Back to top
View user's profile Send private message
netcelli
Apprentice
Apprentice


Joined: 29 Nov 2005
Posts: 169

PostPosted: Tue Jul 11, 2006 8:51 am    Post subject: Reply with quote

Now it works but when emerge try to unemerge the old xgl i get this error:ù
Code:
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging x11-base/xgl-0.0.1_p20060619-r2...
No package files given... Grabbing a set.

!!! ERROR: x11-base/xgl-0.0.1_p20060619-r2 failed.
Call stack:
  ebuild.sh, line 1447:   Called source '/var/db/pkg/x11-base/xgl-0.0.1_p20060619-r2/xgl-0.0.1_p20060619-r2.ebuild'
  xgl-0.0.1_p20060619-r2.ebuild, line 9:   Called inherit 'flag-o-matic' 'x-modular' 'multilib' 'cvs' 'git'
  ebuild.sh, line 1182:   Called die

!!! git.eclass could not be found by inherit()
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! FAILED prerm: 1
Back to top
View user's profile Send private message
CoffeeBuzz
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 269
Location: Canada Eh.

PostPosted: Tue Jul 11, 2006 11:33 am    Post subject: Reply with quote

have you checkout out the entire overlay? portage-2.1?

do you have the overlay in PORTDIR_OVERLAY in make.conf, did you use layman?
_________________
HP Pavilion zd7260us
Xgl Overlay: http://svn.xgl-coffee.org/xgl-coffee/trunk
Xgl Forums: http://forums.xgl-coffee.org
Back to top
View user's profile Send private message
netcelli
Apprentice
Apprentice


Joined: 29 Nov 2005
Posts: 169

PostPosted: Tue Jul 11, 2006 11:44 am    Post subject: Reply with quote

i downloaded the file (xgl-cofee) from subversion, then i added the overlay
Code:
PORTDIR_OVERLAY=/usr/local/xgl-coffee
to make.conf file... the overlay is complete and i've updated portage version 2 days ago :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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