[Zope] compiling Python modules for Zope

Mark James Adams mark@raysend.com
Fri, 29 Jun 2001 15:58:57 -0400


Could it be that I'm using Zope 2.4b1? I already had Python 2.1 
installed from a precompiled binary, so I went with installing the 
latest dev version of Zope. I'm using MacOS X Server, so I had to do 
source installation.

On Friday, June 29, 2001, at 03:53 PM, Vid B wrote:

> I am using Zope source installation Zope-2.3.2-src.tgz
> (it does not come with python, so you have to have
> python 1.5 or higher instaled) That could be the
> reason I am not getting error you do.
>
> Source instalation solves the lots of problems related
> to other products. (PoPy and ZPopyDA)
>
>
> --- Mark James Adams <mark@raysend.com> wrote:
>>
>> On Friday, June 29, 2001, at 02:18 PM, Vid B wrote:
>>
>>> You have to copy Makefile.pre.in that is in Zope
>>> python directory
>>>
>>> cp /Zope/lib/python/Makefile.pre.in
>>> /Zope/lib/python/Products/ZPatterns
>>>
>>> make -f Makefille.pre.in boot
>>
>> I found the version of Makefile.pre.in from the
>> /Zope/lib/python and
>> copied it over, but still I'm getting the same
>> error:
>>
>> ../../ZODB/cPersistence.h:89: header file
>> 'ExtensionClass.h' not found
>>
>> followed by errors relating to "undefined type,
>> found 'PyObject'", which
>> I assume means make isn't finding Python.h either.
>>
>> --
>> Mark James Adams
>> mark at raysend dot com