[Zope] Mac OS X.1.2 and Zope 2.5.0 woes...

Eckhoff, Damon damon@missouri.edu
Mon, 18 Feb 2002 15:21:23 -0600


I'm having a problems on Mac OS X.1.2

I'm trying to build Zope from Zope-2.5.0-src using python2.1_macosx =
binary distribution and am getting errors. I read jens docs and made =
sure to use the gnutar to extract the gztar file.

Here is the Error:
..........
cc  -g -O2 -Wall -Wstrict-prototypes -I/usr/local/include/python2.1 =
-I/usr/local/include/python2.1 -DHAVE_CONFIG_H  =
-I../Components/ExtensionClass/src -c =
././../Components/ExtensionClass/src/ExtensionClass.c -o =
./ExtensionClass.o
In file included from /usr/local/include/python2.1/pyport.h:84,
                 from /usr/local/include/python2.1/Python.h:54,
                 from =
././../Components/ExtensionClass/src/ExtensionClass.h:114,
                 from =
././../Components/ExtensionClass/src/ExtensionClass.c:61:
/usr/include/math.h:191: warning: function declaration isn't a prototype
cc  -bundle -undefined suppress  ./ExtensionClass.o   -o =
./ExtensionClass.so
/usr/bin/ld: -undefined error must be used when -twolevel_namespace is =
in effect
make: *** [ExtensionClass.so] Error 1
Traceback (most recent call last):
  File "wo_pcgi.py", line 45, in ?
  File "wo_pcgi.py", line 33, in main
  File "/Users/damon/Desktop/Zope-2.5.0-src/inst/build_extensions.py", =
line 30, in ?
    make('lib','python')
  File "/Users/damon/Desktop/Zope-2.5.0-src/inst/do.py", line 63, in =
make
    do('make')
  File "/Users/damon/Desktop/Zope-2.5.0-src/inst/do.py", line 32, in do
    if i and picky: raise SystemError, i
SystemError: 512
..........

Okay... I tried to build Python 2.1.2 from src and couldn't get that to =
go... so I grabbed python2.1_macosx and installed that.  I noticed that =
when building python the -flat-namespace flag should be set... In the =
above error... I see -twolevel_namespace... is this my problem?  I'm new =
to OS X and Zope... so my learning curve is steeper than I'd like.  Any =
suggestions?


-damon


>From: Jens Vagelpohl <jens@zope.com>=20
>
>this sounds like the errors you get on systems with a broken "tar" =
utility=20
>where the tarballs get botched during expansion (solaris, mac os x). =
the=20
>workaround is to use the gnu version of tar instead.=20
>
>jens=20
>
>
>>On Friday, February 15, 2002, at 03:58 , Robin S. Socha wrote:=20
>>
>> It's me again, the power-luser from=20
>> http://lists.zope.org/pipermail/zope/2002-January/107872.html=20
>>=20
>> So I followed Chris McDonough's advice and installed 2.1, and then=20
>> 2.1.2. Still no luck:=20
>>=20
>> Python 2.1.2 + Zope fresh from sources. The same two tarballs build =
and=20
>> run on FreeBSD 4.5.=20
>>=20
>> ,----[ zope-error ]=20
>> | make: don't know how to make ././src/ISO_8859_1_Splitter.c. Stop in =

>> =
/usr/local/src/Zope-2.5.0-src/lib/python/Products/PluginIndexes/TextIndex=
/=20
>> Splitter/ISO_8859_1_Splitter.=20
>> | Traceback (most recent call last):=20
>> |=A0=A0 File "/usr/local/src/Zope-2.5.0-src/w_pcgi.py", line 39, in ? =

>> |=A0=A0=A0=A0 if __name__=3D=3D'__main__': main(sys.argv[0])=20
>> |=A0=A0 File "/usr/local/src/Zope-2.5.0-src/w_pcgi.py", line 37, in =
main=20
>> |=A0=A0=A0=A0 import wo_pcgi; wo_pcgi.main(me)=20
>> |=A0=A0 File "/usr/local/src/Zope-2.5.0-src/wo_pcgi.py", line 33, in =
main=20
>> |=A0=A0=A0=A0 import build_extensions=20
>> |=A0=A0 File =
"/usr/local/src/Zope-2.5.0-src/inst/build_extensions.py", line=20
>> 38, in ?=20
>> |=A0=A0=A0=A0=20
>> =
make('lib','python','Products','PluginIndexes','TextIndex','Splitter','IS=
O_8859_1_Splitter'=20
>> )=20
>> |=A0=A0 File "/usr/local/src/Zope-2.5.0-src/inst/do.py", line 63, in =
make=20
>> |=A0=A0=A0=A0 do('make')=20
>> |=A0=A0 File "/usr/local/src/Zope-2.5.0-src/inst/do.py", line 32, in =
do=20
>> |=A0=A0=A0=A0 if i and picky: raise SystemError, i=20
>> | SystemError: 512=20
>> |=20
>> `----=20