[Zope] Mac OS X.1.2 and Zope 2.5.0 woes...
Jens Vagelpohl
jens@zope.com
Mon, 18 Feb 2002 23:51:45 -0500
http://www.zope.org/Members/jens/docs/zope_osx
On Monday, February 18, 2002, at 04:21 , Eckhoff, Damon wrote:
> 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=20
> binary distribution and am getting errors. I read jens docs and made =
sure=20
> 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=20
> -I/usr/local/include/python2.1 -DHAVE_CONFIG_H =20
> -I../Components/ExtensionClass/src -c=20
> ././../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=20
> 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",=20=
> 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=20
> go... so I grabbed python2.1_macosx and installed that. I noticed =
that=20
> when building python the -flat-namespace flag should be set... In the=20=
> above error... I see -twolevel_namespace... is this my problem? I'm =
new=20
> to OS X and Zope... so my learning curve is steeper than I'd like. =
Any=20
> suggestions?
>
>
> -damon
>
>
>> From: Jens Vagelpohl <jens@zope.com>
>>
>> this sounds like the errors you get on systems with a broken "tar"=20
>> utility
>> where the tarballs get botched during expansion (solaris, mac os x). =
the
>> workaround is to use the gnu version of tar instead.
>>
>> jens
>>
>>
>>> On Friday, February 15, 2002, at 03:58 , Robin S. Socha wrote:
>>>
>>> It's me again, the power-luser from
>>> http://lists.zope.org/pipermail/zope/2002-January/107872.html
>>>
>>> So I followed Chris McDonough's advice and installed 2.1, and then
>>> 2.1.2. Still no luck:
>>>
>>> Python 2.1.2 + Zope fresh from sources. The same two tarballs build =
and
>>> run on FreeBSD 4.5.
>>>
>>> ,----[ zope-error ]
>>> | 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/=
>>> Splitter/ISO_8859_1_Splitter.
>>> | Traceback (most recent call last):
>>> |=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])
>>> |=A0=A0 File "/usr/local/src/Zope-2.5.0-src/w_pcgi.py", line 37, in =
main
>>> |=A0=A0=A0=A0 import wo_pcgi; wo_pcgi.main(me)
>>> |=A0=A0 File "/usr/local/src/Zope-2.5.0-src/wo_pcgi.py", line 33, in =
main
>>> |=A0=A0=A0=A0 import build_extensions
>>> |=A0=A0 File =
"/usr/local/src/Zope-2.5.0-src/inst/build_extensions.py", line
>>> 38, in ?
>>> |=A0=A0=A0=A0
>>> =
make('lib','python','Products','PluginIndexes','TextIndex','Splitter','ISO=
_8859_1_Splitter'
>>> )
>>> |=A0=A0 File "/usr/local/src/Zope-2.5.0-src/inst/do.py", line 63, in =
make
>>> |=A0=A0=A0=A0 do('make')
>>> |=A0=A0 File "/usr/local/src/Zope-2.5.0-src/inst/do.py", line 32, in =
do
>>> |=A0=A0=A0=A0 if i and picky: raise SystemError, i
>>> | SystemError: 512
>>> |
>>> `----
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )