From: Andrew E. <and...@gm...> - 2004-08-05 16:51:05
|
Hi folks, I'm trying to install python onto an AIX 5.1 ml04 box and have tried 2 methods: install of the RPM from the website: rpm -Uvh python-2.2-4.aix4.3.ppc.rpm error: failed dependencies: libdb.a(libdb-3.3.so.0) is needed by python-2.2-4 libexpat.a(libexpat.so.0) is needed by python-2.2-4 libgdbm.a(libgdbm.so.2) is needed by python-2.2-4 libreadline.a(libreadline.so.4) is needed by python-2.2-4 and I don't see the lib* rpms on the toolbox download page method 2 - install gcc and g++ from the toolbox site and compile Ptyhon 2.3.4 from source a) ./configure bombs out with: checking for g++... g++ checking for C++ compiler default output... configure: error: C++ compiler cannot create executables See `config.log' for more details. and config log complains of "collect2: Library libm not found" so, b) ./configure --with-gcc --with-cxx=g++ --with-libm="" --disable-ipv6 at least makes me a Makefile, but wont compile (several autoconf warning) --- make g++ -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Modules/ccpython.o ./Modules/ccpython.cc In file included from Include/Python.h:28, from ./Modules/ccpython.cc:3: /usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix51-020209/include/stdio.h:386: sys/types.h: The file access permissions do not allow the specified action. In file included from Include/Python.h:33, from ./Modules/ccpython.cc:3: /usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix51-020209/include/string.h:39: sys/types.h: The file access permissions do not allow the specified action. In file included from /usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix51-020209/include/math.h:386, from Include/pyport.h:92, from Include/Python.h:48, from ./Modules/ccpython.cc:3: /usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix51-020209/include/stdlib.h:227: sys/wait.h: The file access permissions do not allow the specified action. /usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix51-020209/include/stdlib.h:439: sys/types.h: The file access permissions do not allow the specified action. /usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix51-020209/include/stdlib.h:443: sys/localedef.h: The file access permissions do not allow the specified action. In file included from Include/pyport.h:105, from Include/Python.h:48, from ./Modules/ccpython.cc:3: /usr/include/time.h:157: sys/types.h: The file access permissions do not allow the specified action. In file included from Include/Python.h:48, from ./Modules/ccpython.cc:3: Include/pyport.h:157: sys/stat.h: The file access permissions do not allow the specified action. Include/pyport.h:554: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." In file included from Include/unicodeobject.h:55, from Include/Python.h:74, from ./Modules/ccpython.cc:3: /usr/include/ctype.h:110: sys/localedef.h: The file access permissions do not allow the specified action. In file included from Include/Python.h:135, from ./Modules/ccpython.cc:3: Include/pyfpe.h:8: warning: `\' followed by white space at end of line make: 1254-004 The error code from the last command is 1. Stop. --- and all this is to try and run Mailman on the machine (any chance of a toolbox image?) Any hints? |