You are not logged in.

#1 2014-03-22 19:36:27

Registered: 2011-12-08
Posts: 167

codelite: Program exited with return code: 127

I installed codelite from AUR. When I try to make a simple "Hello world", this is what I get.

Not even a new window.

I try the same code in a Ubuntu machine, and it works. So I think there are some libraries missing right?


#2 2014-03-24 18:39:14

Registered: 2008-10-06
Posts: 166

Re: codelite: Program exited with return code: 127

I think you may have a more mundane problem. According to this guide, it looks like you just have a typo somewhere;

div curl F = 0


#3 2014-05-17 02:30:35

From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394

Re: codelite: Program exited with return code: 127

Sorry if this counts as a necropost, but I just had this same issue and managed to solve it.

Yes, the 127 means "Command not found," but it has nothing to do with user input. If you check the console, CodeLite is trying to run something like this:

/usr/bin/codelite_xterm './YourProgram ' '/bin/sh -f /usr/bin/codelite_exec ./YourProgram'

Coincidentally, if you run /usr/bin/codelite_xterm yourself with no arguments, it will still return 127. This is because it tries to invoke xterm, which isn't installed.

The CodeLite AUR package needs to depend on xterm to avoid this - I'll bother the packager.


Board footer

Powered by FluxBB