Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get gimp
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
whishkah
n00b
n00b


Joined: 23 Apr 2004
Posts: 34

PostPosted: Sun Feb 06, 2005 4:49 am    Post subject: Can't get gimp Reply with quote

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
View user's profile Send private message
Sujao
l33t
l33t


Joined: 25 Sep 2004
Posts: 677
Location: Germany

PostPosted: Sun Feb 06, 2005 4:57 am    Post subject: Reply with quote

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
View user's profile Send private message
kmare
l33t
l33t


Joined: 20 Nov 2004
Posts: 619
Location: Thessaloniki, Greece

PostPosted: Sun Feb 06, 2005 5:03 am    Post subject: Reply with quote

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
View user's profile Send private message
whishkah
n00b
n00b


Joined: 23 Apr 2004
Posts: 34

PostPosted: Sun Feb 06, 2005 7:41 am    Post subject: Reply with quote

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
View user's profile Send private message
uman
Apprentice
Apprentice


Joined: 20 Dec 2004
Posts: 223

PostPosted: Sun Feb 06, 2005 7:48 am    Post subject: Reply with quote

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
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Sun Feb 06, 2005 8:16 am    Post subject: Reply with quote

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
View user's profile Send private message
whishkah
n00b
n00b


Joined: 23 Apr 2004
Posts: 34

PostPosted: Sun Feb 06, 2005 10:26 am    Post subject: Reply with quote

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
View user's profile Send private message
whishkah
n00b
n00b


Joined: 23 Apr 2004
Posts: 34

PostPosted: Sun Feb 06, 2005 11:24 am    Post subject: Reply with quote

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
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Sun Feb 06, 2005 11:45 am    Post subject: Reply with quote

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
View user's profile Send private message
whishkah
n00b
n00b


Joined: 23 Apr 2004
Posts: 34

PostPosted: Sun Feb 06, 2005 12:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Sun Feb 06, 2005 12:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
whishkah
n00b
n00b


Joined: 23 Apr 2004
Posts: 34

PostPosted: Sun Feb 06, 2005 12:24 pm    Post subject: Reply with quote

No I don't have that. It said no such file or directory.
Back to top
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Sun Feb 06, 2005 12:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
whishkah
n00b
n00b


Joined: 23 Apr 2004
Posts: 34

PostPosted: Sun Feb 06, 2005 12:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Sun Feb 06, 2005 12:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
whishkah
n00b
n00b


Joined: 23 Apr 2004
Posts: 34

PostPosted: Sun Feb 06, 2005 12:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Sun Feb 06, 2005 12:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
whishkah
n00b
n00b


Joined: 23 Apr 2004
Posts: 34

PostPosted: Mon Feb 07, 2005 7:21 am    Post subject: Reply with quote

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:
Code:
opengl-update ati

Now everything works great. Thank you very much for all of your help...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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