Page 1 of 2

[Fedora] Codelite not launching

Posted: Sat Feb 01, 2014 12:09 am
by Golitan11
I am currently running Fedora 20 (64 bits) with Gnome 3 interface and as mentioned, I downloaded the corresponding RPM (for Fedora 20 x86_64). Then, I installed the package successfully, but now, when I try to start the program in the Applications screen, the program just won't start at all (no error, just nothing happenening). I also tried to install it with the two commands provided, but still nothing. Can someone explain me how to install it step-by-step in Fedora or try to troobleshoot my problem? Thanks a lot.

Here is the link (for the commands and the RPMs): http://codelite.org/LiteEditor/Repositories#toc2

Re: [Fedora] Codelite not launching

Posted: Sat Feb 01, 2014 12:13 am
by eranif
What happens when you install it from a terminal?

do this:

Code: Select all

tail -f ~/.codelite/codelite-stdout-stderr.log&
codelite &
Eran

Re: [Fedora] Codelite not launching

Posted: Sat Feb 01, 2014 12:31 am
by Golitan11
It is working fine and it is installing successfully (I get the confirmation at the end). However, when I type your command, it says that I have "No such file or directory".

Re: [Fedora] Codelite not launching

Posted: Sat Feb 01, 2014 1:04 am
by DavidGH
Hi,
It is working fine and it installing successfully
You mean, CodeLite runs successfully from the terminal? And the 'About' box says 5.4, not an old version?

If so, the package itself must be OK. Presumably then it's the gnome menu that has the problem.
You could try removing Codelite, either using your package manager, or direct with (as superuser):

Code: Select all

rpm -e $(rpm -qa codelite\*)
Then reinstall it. Maybe gnome will get it right the second time.

Regards,

David

Re: [Fedora] Codelite not launching

Posted: Sat Feb 01, 2014 1:09 am
by Golitan11
No I mean that it is installing successfully from the terminal, but it is still not launching. I alreay tried to uninstall it (using yum however), and it is doing the same thing. I have tried to install other programs and those are launching and working great, which is really weird. Is there any way to launch the program via the console, or Gnome will still not be able to launch it?

Re: [Fedora] Codelite not launching

Posted: Sat Feb 01, 2014 1:31 am
by eranif
I am no rpm expert, but do you have any

Code: Select all

dpkg -L codelite
equivalent? to give you a hint about what was installed and where?
Eran

Re: [Fedora] Codelite not launching

Posted: Sat Feb 01, 2014 1:35 am
by DavidGH
I see.

First, is it really installed? What happens if you, in a terminal, type codelite ? Does it launch, or fail with an instructive error message?
If the fail message is "command not found", what is the output of doing ls -al /usr/bin/codelite ?

Re: [Fedora] Codelite not launching

Posted: Sat Feb 01, 2014 7:04 am
by Golitan11
When I type "codelite" in the terminal, I get this message: "codelite: error while loading shared libraries: libssh.so.4: cannot open shared object file: No such file or directory".
When I type "ls -al /usr/bin/codelite", I get this message: "-rwxr-xr-x. 1 root root 6245504 12 jan 17:33 /usr/bin/codelite".

Re: [Fedora] Codelite not launching

Posted: Sat Feb 01, 2014 8:04 am
by eranif
On ubuntu/debian this is fixed by installing the libssh-dev package
Try installing the fedora equivalent?

Eran

Re: [Fedora] Codelite not launching

Posted: Sat Feb 01, 2014 11:37 am
by Golitan11
Thanks it is working! I installed "libssh" with yum command and it worked ("sudo yum install libssh"). However, "libssh-dev" didn't work (found nothing to install with this name). I also installed gcc and g++ compilers manually to be able to build my projects ("sudo yum install gcc" and "sudo yum install gcc-c++").