View previous topic :: View next topic |
Author |
Message |
whishkah n00b


Joined: 23 Apr 2004 Posts: 34
|
Posted: Sun Feb 06, 2005 4:49 am Post subject: Can't get gimp |
|
|
Evertime I try to get gimp I get an error with pyopengl. It says :
gcc -pthread -shared -O2 -march=pentium3 -fomit-frame-pointer build/temp.linux-i686-2.3/src/interface/GL.ARB.matrix_palette.o -L/usr/lib -L/usr/local/lib-L/usr/X11R6/lib -Lbuild/temp.linux-i686-2.3 -lGL -lX11 -lXext -lGLU -linterface_util -lGLE -o build/lib.linux-i686-2.3/OpenGL/GL/ARB/matrix_palette.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
I don't know what this means.
-Also, how do I emerge a masked package? It says to use a =, but the man pages I found say USE=ROOT. I even recently got Guitoo, but I still don't grasp the concept.
Thanks |
|
Back to top |
|
 |
Sujao l33t


Joined: 25 Sep 2004 Posts: 677 Location: Germany
|
Posted: Sun Feb 06, 2005 4:57 am Post subject: |
|
|
Dont know how about the gcc error. You can install masked packages by adding the following to /etc/portage/package.keywords
Code: | media-video/mkvtoolnix ~x86
|
In this case you would enable installing of the "mkvtoolnix" package which is masked with ~x86. Make an new line for every package.
You could also use:
Code: | ACCEPT_KEYWORDS="~x86" emerge mkvtoolnix |
but this is considered dangerous as it could break your portage when you update. So always use the keywords file. |
|
Back to top |
|
 |
kmare l33t


Joined: 20 Nov 2004 Posts: 619 Location: Thessaloniki, Greece
|
Posted: Sun Feb 06, 2005 5:03 am Post subject: |
|
|
what graphics card do you have? if it's an nvidia try:
Code: | opengl-update nvidia |
if it's ati or you want to use xorg's drivers replace nvidia with ati or xorg-x11. That should update your gl libraries for your system. Of course the prob might be something else, but here gimp runs really great! |
|
Back to top |
|
 |
whishkah n00b


Joined: 23 Apr 2004 Posts: 34
|
Posted: Sun Feb 06, 2005 7:41 am Post subject: |
|
|
I tried opengl-update ati since I have a 3D Rage Pro graphics card. That told me that I need xorg-6.8.0. I have 6.7.0 for some reason. I also, have tried media-gfx/gimp ~86 that also did nothing. -Also, I have kernel 2.4.28-gentoo-r5. Do I need a new xorg? If so how do I upgrade it; ie, do I just emerge it and then startx again, or what?
Thanks |
|
Back to top |
|
 |
uman Apprentice

Joined: 20 Dec 2004 Posts: 223
|
Posted: Sun Feb 06, 2005 7:48 am Post subject: |
|
|
For your own good, get an nVidia card. Even if it's an old one. You will be able to get a cheap old one for almost nothing, and I guarantee it wil be worth avoiding the pain that attempting to use ATI under Gentoo will inflict upon your mind and soul. |
|
Back to top |
|
 |
hjnenc Veteran


Joined: 15 Aug 2004 Posts: 1599 Location: Vienna, Austria
|
Posted: Sun Feb 06, 2005 8:16 am Post subject: |
|
|
Trying to bring that thread back on topic, there is a problem with your OpenGL setup. Since the ATI OpenGL implementation is not working for you (to get it working is again another topic, you can do that afterwards), try to use the xorg OpenGL.
Code: | opengl-update xorg-x11
emerge gimp |
|
|
Back to top |
|
 |
whishkah n00b


Joined: 23 Apr 2004 Posts: 34
|
Posted: Sun Feb 06, 2005 10:26 am Post subject: |
|
|
I still get the same result:
Code: | * Detected X 6.7 series, revision 3
* This version requires >=x11-base/xorg-x11-6.8.0-r4
|
This is getting very bothersome. My graphic card doesn't support OpenGL, and I have used Gimp before. -So why do I even need that file? |
|
Back to top |
|
 |
whishkah n00b


Joined: 23 Apr 2004 Posts: 34
|
Posted: Sun Feb 06, 2005 11:24 am Post subject: |
|
|
Okay so far nothing seems to work. Yet, now when I try to --pretend gimp this happens, ( Also same error with just emerge gimp.)
Code: | bash-2.05b# emerge --pretend gimp
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[blocks B ] <net-www/mozilla-firefox-1.0-r3 (from pkg media-libs/freetype-2.1.9-r1)
[ebuild N ] dev-python/pyopengl-2.0.0.44
[ebuild N ] x11-libs/gtkglarea-1.99.0
[ebuild N ] gnome-base/libglade-2.4.0
[ebuild N ] dev-python/pygtk-2.4.1
[ebuild U ] media-libs/freetype-2.1.9-r1 [2.1.5-r1]
[ebuild N ] media-gfx/gimp-2.2.3
|
I don't know how to correct this, do I just get rid of firefox, and get another web browser or what?
Thanks |
|
Back to top |
|
 |
nelchael Retired Dev


Joined: 20 Mar 2004 Posts: 1948 Location: /dev/drzewo
|
Posted: Sun Feb 06, 2005 11:45 am Post subject: |
|
|
New freetype requires newer firefox. Unmerge FF, update freetype and them merge FF back. _________________ [color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]
[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166] |
|
Back to top |
|
 |
whishkah n00b


Joined: 23 Apr 2004 Posts: 34
|
Posted: Sun Feb 06, 2005 12:05 pm Post subject: |
|
|
Now when I emerge gimp I get this error again..
Code: | gcc -pthread -shared -O2 -march=pentium3 -fomit-frame-pointer build/temp.linux-i686-2.3/src/interface/GL.ARB.matrix_palette.o -L/usr/lib -L/usr/local/lib-L/usr/X11R6/lib -Lbuild/temp.linux-i686-2.3 -lGL -lX11 -lXext -lGLU -linterface_util -lGLE -o build/lib.linux-i686-2.3/OpenGL/GL/ARB/matrix_palette.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
!!! ERROR: dev-python/pyopengl-2.0.0.44 failed.
!!! Function distutils_src_compile, Line 38, Exitcode 1
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.
|
I don't know if I just messed up the entire gentoo install; ie, not using the gentoo-dev-sources kernel, only having xorg-6.7 or what. Should I just start over? I only have a 9GB hard drive and I don't want a lot of stuff I can't (really) use anyway taking up space. My computer is a real old workstation, that's got:
Dual Pentium 3 @ 450MHz
256MB Ram
9GB SCSI HDD
ATI 3D RAGE PRO (1x/2x) |
|
Back to top |
|
 |
nelchael Retired Dev


Joined: 20 Mar 2004 Posts: 1948 Location: /dev/drzewo
|
Posted: Sun Feb 06, 2005 12:14 pm Post subject: |
|
|
It's just the OpenGL stuff, check if you have libGL.so:
Code: | nelchael@nelchael ~$ ls -l /usr/lib/libGL.so
0 lrwxrwxrwx 1 root root 41 Jan 18 23:41 /usr/lib/libGL.so -> /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
nelchael@nelchael ~$ |
_________________ [color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]
[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166] |
|
Back to top |
|
 |
whishkah n00b


Joined: 23 Apr 2004 Posts: 34
|
Posted: Sun Feb 06, 2005 12:24 pm Post subject: |
|
|
No I don't have that. It said no such file or directory. |
|
Back to top |
|
 |
nelchael Retired Dev


Joined: 20 Mar 2004 Posts: 1948 Location: /dev/drzewo
|
Posted: Sun Feb 06, 2005 12:31 pm Post subject: |
|
|
whishkah wrote: | No I don't have that. It said no such file or directory. |
So create it (using opengl-update or by hand) and try to compile gimp again. _________________ [color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]
[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166] |
|
Back to top |
|
 |
whishkah n00b


Joined: 23 Apr 2004 Posts: 34
|
Posted: Sun Feb 06, 2005 12:36 pm Post subject: |
|
|
How do I do it by hand? If I use emerge I get this:
Code: | bash-2.05b# opengl-update
* Detected X 6.7 series, revision 3
* This version requires >=x11-base/xorg-x11-6.8.0-r4
bash-2.05b# opengl-update ati
* Detected X 6.7 series, revision 3
* This version requires >=x11-base/xorg-x11-6.8.0-r4
bash-2.05b# opengl-update xorg-x11
* Detected X 6.7 series, revision 3
* This version requires >=x11-base/xorg-x11-6.8.0-r4
bash-2.05b# opengl-update xorg
* Detected X 6.7 series, revision 3
* This version requires >=x11-base/xorg-x11-6.8.0-r4
|
|
|
Back to top |
|
 |
nelchael Retired Dev


Joined: 20 Mar 2004 Posts: 1948 Location: /dev/drzewo
|
Posted: Sun Feb 06, 2005 12:42 pm Post subject: |
|
|
Code: | ln -s /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 /usr/lib/libGL.so
ln -s /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 /usr/lib/libGL.so.1 |
_________________ [color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]
[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166] |
|
Back to top |
|
 |
whishkah n00b


Joined: 23 Apr 2004 Posts: 34
|
Posted: Sun Feb 06, 2005 12:47 pm Post subject: |
|
|
Okay did that, but what if I were to emerge xorg-x11-6.8.0-r4. Would that make it easier for me down the road? -Also, would I have to reconfigure xorgconfig, or would the new one just use the old config files?
Thanks for all you help, thus far... |
|
Back to top |
|
 |
nelchael Retired Dev


Joined: 20 Mar 2004 Posts: 1948 Location: /dev/drzewo
|
Posted: Sun Feb 06, 2005 12:55 pm Post subject: |
|
|
whishkah wrote: | Okay did that, but what if I were to emerge xorg-x11-6.8.0-r4. |
Then You would have working opengl-update. IMHO You should upgrade X.Org, then do the trick with freetype and at last merge gimp. It works for me:
Code: | nelchael@nelchael ~$ emerge -p xorg-x11 freetype mozilla-firefox opengl-update gimp
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] x11-base/xorg-x11-6.8.0-r4
[ebuild R ] media-libs/freetype-2.1.9-r1
[ebuild R ] net-www/mozilla-firefox-1.0-r3
[ebuild R ] x11-base/opengl-update-2.1_pre4
[ebuild R ] media-gfx/gimp-2.2.3
nelchael@nelchael ~$ |
_________________ [color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]
[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166] |
|
Back to top |
|
 |
whishkah n00b


Joined: 23 Apr 2004 Posts: 34
|
Posted: Mon Feb 07, 2005 7:21 am Post subject: |
|
|
I have emerged xorg-x11 then I did this:
Code: | bash-2.05b# emerge --pretend freetype mozilla-firefox opengl-update gimp
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[blocks B ] <media-video/ati-drivers-8.8.25-r3 (from pkg x11-base/opengl-update-2.1_pre4)
[ebuild U ] media-libs/freetype-2.1.9-r1 [2.1.5-r1]
[ebuild N ] net-www/mozilla-firefox-1.0
[ebuild U ] x11-base/opengl-update-2.1_pre4 [2.0_pre4-r1]
[ebuild N ] dev-python/pyopengl-2.0.0.44
[ebuild N ] x11-libs/gtkglarea-1.99.0
[ebuild N ] dev-python/pygtk-2.4.1
[ebuild N ] media-gfx/gimp-2.2.3
|
All I had to do was:
Now everything works great. Thank you very much for all of your help... |
|
Back to top |
|
 |
|