[Fedora] Codelite not launching

CodeLite installation/troubleshooting forum
Golitan11
CodeLite Curious
Posts: 5
Joined: Fri Jan 31, 2014 11:58 pm
Genuine User: Yes
IDE Question: C++
Contact:

[Fedora] Codelite not launching

Post by Golitan11 » Sat Feb 01, 2014 12:09 am

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

User avatar
eranif
CodeLite Plugin
Posts: 6120
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: [Fedora] Codelite not launching

Post by eranif » Sat Feb 01, 2014 12:13 am

What happens when you install it from a terminal?

do this:

Code: Select all

tail -f ~/.codelite/codelite-stdout-stderr.log&
codelite &
Eran
Make sure you have read the HOW TO POST thread

Golitan11
CodeLite Curious
Posts: 5
Joined: Fri Jan 31, 2014 11:58 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: [Fedora] Codelite not launching

Post by Golitan11 » Sat Feb 01, 2014 12:31 am

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".
Last edited by Golitan11 on Sat Feb 01, 2014 1:10 am, edited 1 time in total.

DavidGH
CodeLite Plugin
Posts: 690
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: [Fedora] Codelite not launching

Post by DavidGH » Sat Feb 01, 2014 1:04 am

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

Golitan11
CodeLite Curious
Posts: 5
Joined: Fri Jan 31, 2014 11:58 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: [Fedora] Codelite not launching

Post by Golitan11 » Sat Feb 01, 2014 1:09 am

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?

User avatar
eranif
CodeLite Plugin
Posts: 6120
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: [Fedora] Codelite not launching

Post by eranif » Sat Feb 01, 2014 1:31 am

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
Make sure you have read the HOW TO POST thread

DavidGH
CodeLite Plugin
Posts: 690
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: [Fedora] Codelite not launching

Post by DavidGH » Sat Feb 01, 2014 1:35 am

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 ?

Golitan11
CodeLite Curious
Posts: 5
Joined: Fri Jan 31, 2014 11:58 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: [Fedora] Codelite not launching

Post by Golitan11 » Sat Feb 01, 2014 7:04 am

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".

User avatar
eranif
CodeLite Plugin
Posts: 6120
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: [Fedora] Codelite not launching

Post by eranif » Sat Feb 01, 2014 8:04 am

On ubuntu/debian this is fixed by installing the libssh-dev package
Try installing the fedora equivalent?

Eran
Make sure you have read the HOW TO POST thread

Golitan11
CodeLite Curious
Posts: 5
Joined: Fri Jan 31, 2014 11:58 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: [Fedora] Codelite not launching

Post by Golitan11 » Sat Feb 01, 2014 11:37 am

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++").

Post Reply