Samuel M. Smith wrote: >I am trying to build python2.4.2 on an arm 9 running Debian 3 Sarge
> configure:1842: ./a.out > ./configure: line 1: ./a.out: Permission denied > configure:1845: $? = 126 > configure:1854: error: cannot run C++ compiled programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details. > > It appears that for some reason the a.out file that the configure > script is making is not getting execute permissions enable by the > configure script on a sane standard Unixoid system, the compiler is required to set the following permission flags S_IRWXO | S_IRWXG | S_IRWXU if and only if the program was successfully compiled and linked. what happens if you do $ cat >foo.cpp int main(){ return 0; } <control-D> $ c++ foo.cpp $ ls -l a.out ? </F> -- http://mail.python.org/mailman/listinfo/python-list