LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 05-15-2004, 07:57 AM   #1
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
gentoo emerge problems


ok ive seen alot of people with the same problem but i havent really found a straight answer that works for me so im afriad i will have to ask as well. i get errors when i ry to emerge mldonky and gimp. here is the last bit that gimp spits out:

gdkgl.c:327: error: `GLXPixmap' undeclared (first use in this function)
gdkgl.c:327: error: syntax error before "glxpixmap"
gdkgl.c:328: error: `GLXContext' undeclared (first use in this function)
gdkgl.c:333: error: dereferencing pointer to incomplete type
gdkgl.c:334: error: `glxpixmap' undeclared (first use in this function)
gdkgl.c:334: error: dereferencing pointer to incomplete type
gdkgl.c:335: error: `glxcontext' undeclared (first use in this function)
gdkgl.c:335: error: dereferencing pointer to incomplete type
make[1]: *** [gdkgl.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtkglarea-1.2.3-r1/work/gtkglarea-1.2.3/gtkgl'
make: *** [all-recursive] Error 1

!!! ERROR: x11-libs/gtkglarea-1.2.3-r1 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! (no error message)


This seems to be a common problem so im sure there is a way toi fix this, im pretty new to gentoo so if someone could help me out. Thanks in advance
 
Old 05-15-2004, 08:21 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I had this problem when I needed to run opengl-update nvidia after installing the nvidia drivers. Other people have complained of the same thing. If you didn't use the protage package this post from the Gentoo Forums talks about how to get the GL stuff working so protage links against it correctly:

"Problem solved.
Since i couldn't run "opengl-update nvidia" because i used nvidia's own drivers and not the "emerge nvidia-* drivers" i did the fololwing:

To find out what lib libGL.so is currently linked to and take note:
Code:
ls -l /usr/lib/libGL.so


To setup the opengl stuff (This will change the libGL.so to link another GL lib, among other things i have no idea about ):
Code:
opengl-update xfree


But we want it to be linked to the old one, so:
Code:
rm /usr/lib/libGL.so
ln -s /usr/lib/[The old lib here (in my case libGL.so.1)] /usr/lib/libGL.so


After that gimp and all the other libs compiled.

This worked for me but that's no garantee, i'm just a gentoo n00b" -tc-

Also, not that I want to discourage you posting on this forum. This is a great forum for linux problems. But for Gentoo specific issues you will tend to get faster and more complete responces from forums.gentoo.org.
 
Old 05-16-2004, 12:35 AM   #3
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Original Poster
Rep: Reputation: 31
why thank you very much. that worked! i originally had the nvidia drivers i downloaded from the site installed becuse emerging them i had trouble with the 2.6.5 kernel. i didnt feel like all the sym linking and hunting so i decided to make gentoo emerge them, i finally got them installed, for some reason gentoo has the latest drivers masked. no i am curious as to why i had to do this because the last install of gentoo i had on here i didnt have to. did me emergring gnome with the usepkg option the first time and not the second time have something to do with it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo, IPW2100/Centrino, Emerge problems... bfloeagle Linux - Laptop and Netbook 2 03-03-2007 01:16 AM
Problems running emerge -u system Gentoo FreeThinkerJim Linux - Distributions 4 04-24-2005 11:36 PM
Problems using emerge on gentoo maxbolotin Linux - Software 1 11-30-2004 11:10 AM
Problems with emerge -p on gentoo aeruzcar Linux - Software 1 11-30-2004 12:31 AM
gentoo emerge problems Goatdemon Linux - Distributions 12 08-16-2003 02:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 05:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration