View previous topic :: View next topic |
Author |
Message |
midscream n00b
Joined: 03 Jun 2005 Posts: 20
|
Posted: Tue Jun 20, 2006 4:21 am Post subject: [Solved]Another xorg-x11 7.0 issue -- some missing libraries |
|
|
I recently tried to upgrade to the new xorg-x11, but something has gone horribly wrong with my system and I am at a loss.
When I emerge xorg-x11 or rather I should say try to emerge it, I get this:
Code: |
../../include/GL/glxext.h:497: error: expected ')' before '*' token
../../include/GL/glxext.h:498: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
../../include/GL/glxext.h:499: error: expected ')' before '*' token
../../include/GL/glxext.h:511: error: expected declaration specifiers or '...' before '*' token
../../include/GL/glxext.h:511: error: expected ')' before '*' token
../../include/GL/glxext.h:512: error: expected ')' before '*' token
../../include/GL/glxext.h:513: error: expected ')' before '*' token
../../include/GL/glxext.h:514: error: expected ')' before '*' token
../../include/GL/glxext.h:515: error: expected ')' before '*' token
../../include/GL/glxext.h:523: error: expected ')' before '*' token
../../include/GL/glxext.h:535: error: expected ')' before '*' token
../../include/GL/glxext.h:536: error: expected ')' before '*' token
../../include/GL/glxext.h:537: error: expected ')' before '*' token
../../include/GL/glxext.h:538: error: expected ')' before '*' token
../../include/GL/glxext.h:539: error: expected ')' before '*' token
../../include/GL/glxext.h:557: error: expected ')' before '*' token
../../include/GL/glxext.h:566: error: expected ')' before '*' token
../../include/GL/glxext.h:567: error: expected declaration specifiers or '...' before '*' token
../../include/GL/glxext.h:567: error: expected ')' before '*' token
../../include/GL/glxext.h:575: error: expected declaration specifiers or '...' before '*' token
../../include/GL/glxext.h:575: error: expected ')' before '*' token
../../include/GL/glxext.h:583: error: expected ')' before '*' token
../../include/GL/glxext.h:591: error: expected declaration specifiers or '...' before '*' token
../../include/GL/glxext.h:591: error: expected ')' before '*' token
../../include/GL/glxext.h:599: error: expected declaration specifiers or '...' before '*' token
../../include/GL/glxext.h:599: error: expected ')' before '*' token
../../include/GL/glxext.h:607: error: expected declaration specifiers or '...' before '*' token
../../include/GL/glxext.h:607: warning: type defaults to 'int' in declaration of 'Bool'
../../include/GL/glxext.h:607: error: 'Bool' declared as function returning a function
../../include/GL/glxext.h:627: error: expected ')' before '*' token
../../include/GL/glxext.h:628: error: expected ')' before '*' token
../../include/GL/glxext.h:629: error: expected declaration specifiers or '...' before '*' token
../../include/GL/glxext.h:629: error: expected ')' before '*' token
../../include/GL/glxext.h:630: error: expected ')' before '*' token
../../include/GL/glxext.h:631: error: expected ')' before '*' token
../../include/GL/glxext.h:671: error: expected ')' before '*' token
../../include/GL/glxext.h:672: error: expected ')' before '*' token
../../include/GL/glxext.h:673: error: expected ')' before '*' token
../../include/GL/glxext.h:674: error: expected ')' before '*' token
../../include/GL/glxext.h:675: error: expected ')' before '*' token
../../include/GL/glxext.h:676: error: expected ')' before '*' token
../../include/GL/glxext.h:677: error: expected ')' before '*' token
../../include/GL/glxext.h:678: error: expected ')' before '*' token
In file included from glxinfo.c:44:
../../include/GL/glx.h:347: error: expected ')' before '*' token
../../include/GL/glx.h:348: error: expected ')' before '*' token
../../include/GL/glx.h:349: error: expected ')' before '*' token
../../include/GL/glx.h:350: error: expected ')' before '*' token
../../include/GL/glx.h:351: error: expected ')' before '*' token
../../include/GL/glx.h:352: error: expected ')' before '*' token
../../include/GL/glx.h:364: error: expected ')' before '*' token
../../include/GL/glx.h:365: error: expected ')' before '*' token
../../include/GL/glx.h:366: error: expected ')' before '*' token
../../include/GL/glx.h:389: error: expected ')' before '*' token
../../include/GL/glx.h:390: error: expected ')' before '*' token
../../include/GL/glx.h:391: error: expected ')' before '*' token
../../include/GL/glx.h:392: error: expected ')' before '*' token
../../include/GL/glx.h:394: error: expected ')' before '*' token
../../include/GL/glx.h:395: error: expected ')' before '*' token
../../include/GL/glx.h:396: error: expected ')' before '*' token
../../include/GL/glx.h:397: error: expected ')' before '*' token
../../include/GL/glx.h:428: error: expected ')' before '*' token
../../include/GL/glx.h:429: error: expected ')' before '*' token
../../include/GL/glx.h:444: error: field 'send_event' declared as a function
../../include/GL/glx.h:445: error: expected specifier-qualifier-list before 'Display'
glxinfo.c:152: error: expected ')' before '*' token
glxinfo.c:218: error: expected ')' before '*' token
glxinfo.c: In function 'visual_class_name':
glxinfo.c:349: error: 'StaticColor' undeclared (first use in this function)
glxinfo.c:349: error: (Each undeclared identifier is reported only once
glxinfo.c:349: error: for each function it appears in.)
glxinfo.c:351: error: 'PseudoColor' undeclared (first use in this function)
glxinfo.c:353: error: 'StaticGray' undeclared (first use in this function)
glxinfo.c:355: error: 'GrayScale' undeclared (first use in this function)
glxinfo.c:357: error: 'TrueColor' undeclared (first use in this function)
glxinfo.c:359: error: 'DirectColor' undeclared (first use in this function)
glxinfo.c: In function 'visual_class_abbrev':
glxinfo.c:371: error: 'StaticColor' undeclared (first use in this function)
glxinfo.c:373: error: 'PseudoColor' undeclared (first use in this function)
glxinfo.c:375: error: 'StaticGray' undeclared (first use in this function)
glxinfo.c:377: error: 'GrayScale' undeclared (first use in this function)
glxinfo.c:379: error: 'TrueColor' undeclared (first use in this function)
glxinfo.c:381: error: 'DirectColor' undeclared (first use in this function)
glxinfo.c: At top level:
glxinfo.c:390: error: expected ')' before '*' token
glxinfo.c:594: error: expected ')' before '*' token
glxinfo.c:647: error: expected ')' before '*' token
glxinfo.c:677: error: expected ')' before '*' token
glxinfo.c: In function 'main':
glxinfo.c:745: error: 'Display' undeclared (first use in this function)
glxinfo.c:745: error: 'dpy' undeclared (first use in this function)
glxinfo.c:750: error: function 'allowDirect' is initialized like a variable
glxinfo.c:750: error: 'True' undeclared (first use in this function)
glxinfo.c:768: error: 'False' undeclared (first use in this function)
glxinfo.c:784: warning: implicit declaration of function 'XOpenDisplay'
glxinfo.c:792: warning: implicit declaration of function 'mesa_hack'
glxinfo.c:793: warning: implicit declaration of function 'find_best_visual'
glxinfo.c:797: warning: implicit declaration of function 'ScreenCount'
glxinfo.c:798: warning: implicit declaration of function 'print_display_info'
glxinfo.c:801: warning: implicit declaration of function 'print_screen_info'
glxinfo.c:803: warning: implicit declaration of function 'print_visual_info'
glxinfo.c:809: warning: implicit declaration of function 'XCloseDisplay'
make: *** [glxinfo] Error 1
!!! ERROR: x11-apps/mesa-progs-6.5 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
mesa-progs-6.5.ebuild, line 68: Called die
!!! glxinfo failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
I figured I am missing a library or I need to reinstall one, I guest it was the message libraries. When I tried to emerge the mesa libraries this is what I got:
Code: |
..........
checking keysymdef.h... configure: error: Cannot find keysymdef.h
!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/libX11-1.0.1/work/libX11-1.0.1/config.log
!!! ERROR: x11-libs/libX11-1.0.1 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 316: Called x-modular_src_configure
x-modular.eclass, line 303: Called econf '--prefix=/usr' '--datadir=/usr/share' '--enable-ipv6'
ebuild.sh, line 541: Called die
!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
I also tried emerge mesa-progs and I got:
Code: |
....................................
../../include/GL/glx.h:352: error: expected ')' before '*' token
../../include/GL/glx.h:364: error: expected ')' before '*' token
../../include/GL/glx.h:365: error: expected ')' before '*' token
../../include/GL/glx.h:366: error: expected ')' before '*' token
../../include/GL/glx.h:389: error: expected ')' before '*' token
../../include/GL/glx.h:390: error: expected ')' before '*' token
../../include/GL/glx.h:391: error: expected ')' before '*' token
../../include/GL/glx.h:392: error: expected ')' before '*' token
../../include/GL/glx.h:394: error: expected ')' before '*' token
../../include/GL/glx.h:395: error: expected ')' before '*' token
../../include/GL/glx.h:396: error: expected ')' before '*' token
../../include/GL/glx.h:397: error: expected ')' before '*' token
../../include/GL/glx.h:428: error: expected ')' before '*' token
../../include/GL/glx.h:429: error: expected ')' before '*' token
../../include/GL/glx.h:444: error: field 'send_event' declared as a function
../../include/GL/glx.h:445: error: expected specifier-qualifier-list before 'Display'
glxinfo.c:152: error: expected ')' before '*' token
glxinfo.c:218: error: expected ')' before '*' token
glxinfo.c: In function 'visual_class_name':
glxinfo.c:349: error: 'StaticColor' undeclared (first use in this function)
glxinfo.c:349: error: (Each undeclared identifier is reported only once
glxinfo.c:349: error: for each function it appears in.)
glxinfo.c:351: error: 'PseudoColor' undeclared (first use in this function)
glxinfo.c:353: error: 'StaticGray' undeclared (first use in this function)
glxinfo.c:355: error: 'GrayScale' undeclared (first use in this function)
glxinfo.c:357: error: 'TrueColor' undeclared (first use in this function)
glxinfo.c:359: error: 'DirectColor' undeclared (first use in this function)
glxinfo.c: In function 'visual_class_abbrev':
glxinfo.c:371: error: 'StaticColor' undeclared (first use in this function)
glxinfo.c:373: error: 'PseudoColor' undeclared (first use in this function)
glxinfo.c:375: error: 'StaticGray' undeclared (first use in this function)
glxinfo.c:377: error: 'GrayScale' undeclared (first use in this function)
glxinfo.c:379: error: 'TrueColor' undeclared (first use in this function)
glxinfo.c:381: error: 'DirectColor' undeclared (first use in this function)
glxinfo.c: At top level:
glxinfo.c:390: error: expected ')' before '*' token
glxinfo.c:594: error: expected ')' before '*' token
glxinfo.c:647: error: expected ')' before '*' token
glxinfo.c:677: error: expected ')' before '*' token
glxinfo.c: In function 'main':
glxinfo.c:745: error: 'Display' undeclared (first use in this function)
glxinfo.c:745: error: 'dpy' undeclared (first use in this function)
glxinfo.c:750: error: function 'allowDirect' is initialized like a variable
glxinfo.c:750: error: 'True' undeclared (first use in this function)
glxinfo.c:768: error: 'False' undeclared (first use in this function)
glxinfo.c:784: warning: implicit declaration of function 'XOpenDisplay'
glxinfo.c:792: warning: implicit declaration of function 'mesa_hack'
glxinfo.c:793: warning: implicit declaration of function 'find_best_visual'
glxinfo.c:797: warning: implicit declaration of function 'ScreenCount'
glxinfo.c:798: warning: implicit declaration of function 'print_display_info'
glxinfo.c:801: warning: implicit declaration of function 'print_screen_info'
glxinfo.c:803: warning: implicit declaration of function 'print_visual_info'
glxinfo.c:809: warning: implicit declaration of function 'XCloseDisplay'
make: *** [glxinfo] Error 1
!!! ERROR: x11-apps/mesa-progs-6.5 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
mesa-progs-6.5.ebuild, line 68: Called die
!!! glxinfo failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
I have searched the forums and I can't seem to find a simular post. I would deeply appreciate some advice.
Thank you in advance. _________________ When emerge gives me a 100% success rate, I will move on to something else fun.
Last edited by midscream on Mon Jul 17, 2006 2:40 am; edited 1 time in total |
|
Back to top |
|
|
Philantrop Retired Dev
Joined: 21 Dec 2004 Posts: 1130 Location: Germany
|
Posted: Tue Jun 20, 2006 6:21 am Post subject: |
|
|
Firstly, emerge x11-proto/xproto. That should fix the configure problem with libX11.
Then try to move on with the installation. If it fails again, read https://forums.gentoo.org/viewtopic-t-472218-highlight-x11proto+xproto.html and see if that helps. If it doesn't, reply here again. _________________ If you feel the issues discussed in this thread have been resolved, please add a "[Solved]" to the subject of your original posting. |
|
Back to top |
|
|
midscream n00b
Joined: 03 Jun 2005 Posts: 20
|
Posted: Mon Jul 17, 2006 2:38 am Post subject: fixed |
|
|
I fixed the issue by emerging with the -e flag _________________ When emerge gives me a 100% success rate, I will move on to something else fun. |
|
Back to top |
|
|
|
|
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
|
|