Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: ca_mousse on August 10, 2010, 06:01:35 pm
-
Hi,
I have some trouble with the Codeblocks 10.05. Running my program does not work (neither debugging) :
Checking for existence: /home/camousse/myprogram/myprogram/myprogram
Executing: xterm -T myprogram -e /usr/local/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/camousse/myprogram/myprogram/myprogram (in /home/camousse/myprogram/.)
Process terminated with status -1 (0 minutes, 0 seconds)
I compile Codeblocks myself, and xterm is installed, as if i paste the command in a terminal,it works
My environnements :
- debian lenny 32bit installed in a virtual box, using distant X (ssh -Y). It works
- debian lenny 32bit installed in a lxc (http://lxc.sourceforge.net/), distant X too : it doesn't work.
I seek for a little more log, but codeblocks -d doesn't seems to give me more
I think this can be related to a missing lib (lxc is a fresh install), or a tty issue (as i define some acces rules on /dev).
Regards,
Camousse
-
Ok i think it is lxc specific. I have some
xterm[27093] general protection ip:f7758aa8 sp:ff908cd8 error:0 in ld-2.7.so[f7744000+1a000]
in dmesg
I have the same thing for Oracle
Sorry,
Regards,
Camousse
-
Really strange.
If i set in Terminal to launch program "/home/camousse/test.sh -T $TITLE -e"
and test.sh contain :
#!/bin/sh
echo "0" | xterm $*
It works...
If i put the echo "0" | xterm in the Terminal to launch program, fail
Regards,
Camousse