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 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>
this sounds like the errors you get on systems with a broken "tar" 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): | File "/usr/local/src/Zope-2.5.0-src/w_pcgi.py", line 39, in ? | if __name__=='__main__': main(sys.argv[0]) | File "/usr/local/src/Zope-2.5.0-src/w_pcgi.py", line 37, in main | import wo_pcgi; wo_pcgi.main(me) | File "/usr/local/src/Zope-2.5.0-src/wo_pcgi.py", line 33, in main | import build_extensions | File "/usr/local/src/Zope-2.5.0-src/inst/build_extensions.py", line 38, in ? | make('lib','python','Products','PluginIndexes','TextIndex','Splitter','ISO_8859_1_Splitter' ) | File "/usr/local/src/Zope-2.5.0-src/inst/do.py", line 63, in make | do('make') | File "/usr/local/src/Zope-2.5.0-src/inst/do.py", line 32, in do | 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 )