Can't build 2.6.2-b5 on Redhat 7.3
Like the subject says... python2.1 wo_pcgi fails... this is the same python 2.1.3 that I built from source, and which I used to build and run zope 2.6.1 for a few months now... ------------------------------------------------------------------------------ Building extension modules /usr/local/bin/python2.1 setup.py build_ext -i running build_ext building 'AccessControl.cAccessControl' extension gcc -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -Wstrict-prototypes -fPIC -I/zope/Zope-2.6.2b5-src/lib/Components/ExtensionClass/src -I/usr/local/include/python2.1 -c AccessControl/cAccessControl.c -o build/temp.linux-i686-2.1/cAccessControl.o In file included from AccessControl/cAccessControl.c:54: /zope/Zope-2.6.2b5-src/lib/Components/ExtensionClass/src/ExtensionClass.h:94:20: Python.h: No such file or directory /zope/Zope-2.6.2b5-src/lib/Components/ExtensionClass/src/ExtensionClass.h:95:20: import.h: No such file or directory error: command 'gcc' failed with exit status 1 Traceback (most recent call last): File "wo_pcgi.py", line 45, in ? if __name__=='__main__': main(sys.argv[0]) File "wo_pcgi.py", line 33, in main import build_extensions File "/zope/Zope-2.6.2b5-src/inst/build_extensions.py", line 24, in ? do('%s setup.py build_ext -i' % sys.executable) File "/zope/Zope-2.6.2b5-src/inst/do.py", line 32, in do if i and picky: raise SystemError, i SystemError: 256 make: *** [all] Error 1 -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's UBERMAESTRO DEPUTY SHERIFF KUMQUAT! (random hero from isometric.spaceninja.com)
Never mind, operator error. Wasn't the python i thought it was... it was a binary copied from another machine and built with a different glibc apparently. On Wed, Aug 20, 2003 at 07:19:01PM -0400, Paul Winkler wrote:
Like the subject says... python2.1 wo_pcgi fails... (snip) --
Paul Winkler http://www.slinkp.com Look! Up in the sky! It's CROTCHETY SUPER SNAIL-DOG! (random hero from isometric.spaceninja.com)
Paul Winkler wrote Like the subject says... python2.1 wo_pcgi fails...
this is the same python 2.1.3 that I built from source, and which I used to build and run zope 2.6.1 for a few months now...
gcc -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -Wstrict-prototypes -fPIC -I/zope/Zope-2.6.2b5-src/lib/Components/ExtensionClass/src -I/usr/local/include/python2.1 -c AccessControl/cAccessControl.c -o build/temp.linux-i686-2.1/cAccessControl.o In file included from AccessControl/cAccessControl.c:54: /zope/Zope-2.6.2b5-src/lib/Components/ExtensionClass/src/ExtensionClass.h:94:20: Python.h: No such file or directory
It can't find Python.h - it's looking in /usr/local/include/python2.1 for it - is the file there? Is it readable by the user that the build is running under? Anthony -- Anthony Baxter <anthony@interlink.com.au> It's never too late to have a happy childhood.
Paul Winkler wrote at 2003-8-20 19:19 -0400:
Like the subject says... python2.1 wo_pcgi fails...
this is the same python 2.1.3 that I built from source, and which I used to build and run zope 2.6.1 for a few months now...
------------------------------------------------------------------------------ Building extension modules /usr/local/bin/python2.1 setup.py build_ext -i running build_ext building 'AccessControl.cAccessControl' extension gcc -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -Wstrict-prototypes -fPIC -I/zope/Zope-2.6.2b5-src/lib/Components/ExtensionClass/src -I/usr/local/include/python2.1 -c AccessControl/cAccessControl.c -o build/temp.linux-i686-2.1/cAccessControl.o In file included from AccessControl/cAccessControl.c:54: /zope/Zope-2.6.2b5-src/lib/Components/ExtensionClass/src/ExtensionClass.h:94:20: Python.h: No such file or directory ...
The compiler cannot find "Python.h" in "-I/usr/local/include/python2.1". Maybe, the Python development packages is not (correctly) installed? Dieter
participants (3)
-
Anthony Baxter -
Dieter Maurer -
Paul Winkler