Problem with starting Eclipse

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
ZuLuuuuuu
Posts: 19
Joined: 23. Aug 2010, 15:40

Problem with starting Eclipse

Post by ZuLuuuuuu »

Hello, I installed Eclipse IDE using Gslapt. But it didn't add an entry to the Salix menu, so I tried "eclipse" command on terminal but this time it gave this error:

Code: Select all

/usr/bin/eclipse: line 3: ./eclipse: No such file or directory
What might be the problem?
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: Problem with starting Eclipse

Post by gapan »

Are you on 32bits or 64bits? There is probably something wrong with the package.
Image
Image
ZuLuuuuuu
Posts: 19
Joined: 23. Aug 2010, 15:40

Re: Problem with starting Eclipse

Post by ZuLuuuuuu »

gapan wrote:Are you on 32bits or 64bits? There is probably something wrong with the package.
I'm using 64-bit XFCE version.
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Problem with starting Eclipse

Post by JRD »

It's an error of me in packaging.
As root, simply edit /usr/bin/eclipse and correct the wrong path. Then all will work.
Sorry, I will take care of this for the next version.
Image
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: Problem with starting Eclipse

Post by gapan »

Since we can't have a broken package in our binary repositories, I removed it. Use slapt-src/sourcery to install eclipse.
Image
Image
ZuLuuuuuu
Posts: 19
Joined: 23. Aug 2010, 15:40

Re: Problem with starting Eclipse

Post by ZuLuuuuuu »

JRD wrote:It's an error of me in packaging.
As root, simply edit /usr/bin/eclipse and correct the wrong path. Then all will work.
Sorry, I will take care of this for the next version.
It looks like correct, what should I change it into? The content is:

Code: Select all

cd /usr/share/eclipse
./eclipse "$@"
Interestingly, when I go to "/usr/share/eclipse" and do "ls -l" there is an "eclipse" executable inside it. But when I do "./eclipse" inside that folder it says "No such file or directory". How is that possible?
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Problem with starting Eclipse

Post by JRD »

Hum Probably that the binary itself does work only on 32 bits. I should check it and make another package. Sorry.
Image
Post Reply