Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Eclipse on new gentoo install will not run [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
zzaappp
Apprentice
Apprentice


Joined: 06 Jun 2003
Posts: 176

PostPosted: Mon Nov 06, 2006 7:55 pm    Post subject: Eclipse on new gentoo install will not run [SOLVED] Reply with quote

I downloaded Eclipse from eclipse.org, installed and tried running it. Unfortunately I get the following error
Quote:
/usr/local/eclipse/eclipse: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory


But a call to locate yields the following
Quote:
2)~ $ locate libgtk-x11-2
/usr/lib64/libgtk-x11-2.0.so.0.800.19
/usr/lib64/libgtk-x11-2.0.so.0
/usr/lib64/libgtk-x11-2.0.so
/usr/lib64/libgtk-x11-2.0.la


So the files are present.

I'm not sure what to do about this. Is it looking for the 32-bit version of the lib? If so, how do I build it?

So I tried to use portage to get my hands on it and if failed: It says its masked. So I created /etc/portage/portage.unmask and added:
Quote:
3)/etc/portage $ cat package.unmask
=>dev-util/eclipse-sdk-3.2.1-r1



But that still didn't unmask the package: When I try to emerge I get the following error:
Quote:
$ emerge eclipse-sdk
Calculating dependencies
!!! All ebuilds that could satisfy "eclipse-sdk" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/eclipse-sdk-3.2.1 (masked by: ~amd64 keyword)
- dev-util/eclipse-sdk-3.0.1-r3 (masked by: ~amd64 keyword)
- dev-util/eclipse-sdk-3.1.2-r3 (masked by: ~amd64 keyword)
- dev-util/eclipse-sdk-3.2 (masked by: ~amd64 keyword)
- dev-util/eclipse-sdk-3.2.1-r1 (masked by: ~amd64 keyword)
- dev-util/eclipse-sdk-3.0.2-r1 (masked by: ~amd64 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.


I've made this work on previous releases of gentoo - 2005.0 and 2005.1; I'm really at a loss making it work with the latest incarnation.

Thoughts?

-z


Last edited by zzaappp on Wed Nov 08, 2006 12:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
zwik
Apprentice
Apprentice


Joined: 08 Sep 2002
Posts: 167
Location: NL, NB, Liempde

PostPosted: Mon Nov 06, 2006 9:40 pm    Post subject: Reply with quote

Try adding "dev-util/eclipse-sdk" in your /etc/portaga/package.unmask file instead ;) .
_________________
Daily life and stuff.
Back to top
View user's profile Send private message
zzaappp
Apprentice
Apprentice


Joined: 06 Jun 2003
Posts: 176

PostPosted: Mon Nov 06, 2006 9:52 pm    Post subject: Reply with quote

I made the changes suggested. /etc/portage/package.unmask now contains the following:
Quote:
dev-util/eclipse-sdk


Here is what happens when I run emerge:
Quote:
9)/etc/portage $ emerge eclipse-sdk
Calculating dependencies
!!! All ebuilds that could satisfy "eclipse-sdk" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/eclipse-sdk-3.2.1 (masked by: ~amd64 keyword)
- dev-util/eclipse-sdk-3.0.1-r3 (masked by: ~amd64 keyword)
- dev-util/eclipse-sdk-3.1.2-r3 (masked by: ~amd64 keyword)
- dev-util/eclipse-sdk-3.2 (masked by: ~amd64 keyword)
- dev-util/eclipse-sdk-3.2.1-r1 (masked by: ~amd64 keyword)
- dev-util/eclipse-sdk-3.0.2-r1 (masked by: ~amd64 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.


Looks like the same problem as before.

-d
Back to top
View user's profile Send private message
zzaappp
Apprentice
Apprentice


Joined: 06 Jun 2003
Posts: 176

PostPosted: Mon Nov 06, 2006 10:16 pm    Post subject: Eclipse on new gentoo install will not run [SOLVED] Reply with quote

The solution was a slightly different play on the suggestion.

To /etc/portage/package.keywords, the following line was added:

Quote:
~dev-util/eclipse-sdk-3.2.1-r1 ~*


Then at the commandline I ran the following:

Quote:
emerge =dev-util/eclipse-sdk-3.2.1-r1



That made the emerge work. Then when I ran eclipse, eclipse worked, too.

Shouldn't this package be unmasked by default in the amd64 venue?

-z
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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