You are not logged in.

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

doblerone
Member
Registered: 2011-12-08
Posts: 184

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?

Offline

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

vkumar
Member
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;

http://www.tldp.org/LDP/abs/html/exitcodes.html


div curl F = 0

Offline

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

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

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.

Offline

#4 2017-08-19 03:47:23

mainas
Member
Registered: 2017-08-19
Posts: 1

Re: codelite: Program exited with return code: 127

I had the same issue today. The user arew264 pointed out correctly about Codelite depending on xterm. So all I did to fix this was execute "sudo pacman -S xterm" and voila!

Offline

#5 2017-08-20 10:16:47

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 7,974
Website

Re: codelite: Program exited with return code: 127

Thanks for sharing your solution, mainas, however please note the age of the thread. OP is unlikely to still be searching for a solution.

Closing.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB