Page 1 of 1
Problem with starting Eclipse
Posted: 22. Aug 2011, 19:59
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?
Re: Problem with starting Eclipse
Posted: 22. Aug 2011, 22:52
by gapan
Are you on 32bits or 64bits? There is probably something wrong with the package.
Re: Problem with starting Eclipse
Posted: 23. Aug 2011, 14:00
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.
Re: Problem with starting Eclipse
Posted: 25. Aug 2011, 22:28
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.
Re: Problem with starting Eclipse
Posted: 26. Aug 2011, 09:33
by gapan
Since we can't have a broken package in our binary repositories, I removed it. Use slapt-src/sourcery to install eclipse.
Re: Problem with starting Eclipse
Posted: 28. Aug 2011, 21:45
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?
Re: Problem with starting Eclipse
Posted: 29. Aug 2011, 09:37
by JRD
Hum Probably that the binary itself does work only on 32 bits. I should check it and make another package. Sorry.