Re: Configure failing why?
I found a workaround,that is, to disable attribute caching using the noac nfs option. #These two worked on tiger 10.4.3 exec -c console=ttyAM0,115200 ip=10.0.2.155:10.0.2.150:10.0.2.1:255.255.255.0:ts7250 nfsroot=10.0.2.150:/Data/nfsroot,noac #fstab entry they have to match 10.0.2.150:/Data/nfsroot/ / nfs noac,noauto 0 0 #If use noac,sync,dirsync then gcc does not work -- http://mail.python.org/mailman/listinfo/python-list
Re: Configure failing why?
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
Re: Configure failing why?
cat foo.cpp int main(){return 0;} c++ foo.cpp ll a.out -rwxr-xr-x 1 root tsarm 12124 Nov 15 15:54 a.out ./a.out but if I gcc foo.cpp ll a.out -rw-r--r-- 1 root tsarm 12060 Nov 15 15:55 a.out but if I do it again # gcc foo.cpp ll a.out -rwxr-xr-x 1 root tsarm 12060 Nov 15 15:58 a.out On 15 Nov, 2005, at 15:40, Fredrik Lundh wrote: 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 ** Samuel M. Smith Ph.D. 2966 Fort Hill Road Eagle Mountain, Utah 84043 801-768-2768 voice 801-768-2769 fax ** The greatest source of failure and unhappiness in the world is giving up what we want most for what we want at the moment ** -- http://mail.python.org/mailman/listinfo/python-list