View previous topic :: View next topic |
Author |
Message |
netcelli Apprentice
Joined: 29 Nov 2005 Posts: 169
|
Posted: Mon Jul 10, 2006 8:43 pm Post subject: xgl error |
|
|
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 |
|
|
dobysirius n00b
Joined: 27 Nov 2005 Posts: 69 Location: Sofia, Bulgaria
|
Posted: Mon Jul 10, 2006 10:22 pm Post subject: |
|
|
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 |
|
|
netcelli Apprentice
Joined: 29 Nov 2005 Posts: 169
|
Posted: Tue Jul 11, 2006 8:51 am Post subject: |
|
|
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 |
|
|
CoffeeBuzz Apprentice
Joined: 15 Jun 2005 Posts: 269 Location: Canada Eh.
|
|
Back to top |
|
|
netcelli Apprentice
Joined: 29 Nov 2005 Posts: 169
|
Posted: Tue Jul 11, 2006 11:44 am Post subject: |
|
|
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 |
|
Back to top |
|
|
|