Re: [Zope-dev] Can't build 2.6.2-b5 on Redhat 7.3

2003-08-24 Thread Paul Winkler
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)

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Can't build 2.6.2-b5 on Redhat 7.3

2003-08-24 Thread Dieter Maurer
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

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Can't build 2.6.2-b5 on Redhat 7.3

2003-08-24 Thread Anthony Baxter

>>> 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 <[EMAIL PROTECTED]>   
It's never too late to have a happy childhood.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )