I haven't seen many postings about Darwin and Mac OS X in this
group, so let me add one!
Has anybody a clue about the official status of distutils on
this platform? I'm trying to build the reportlab package,
but find that distutils seems to be fully unaware of anything
like a 'darwin' platform...
On my OS X box I get the following:
[localhost:~/Desktop/reportlab/lib] dinu% python
Python 2.1 (#4, 05/17/01, 18:34:21)
[GCC Apple DevKit-based CPP 6.0alpha] on darwin1
Type "copyright", "credits" or "license" for more information.
>>> import sys, os
>>> from distutils.util import get_platform
(Note the space in 'darwin-1.4-Power Macintosh'!) I checked the
distutils packge of 2.2a?, but that doesn't seem to be any
When trying to build the reportlab package (after adding
'darwin1' to the list of known platforms), I get this:
[localhost:~/Desktop/reportlab/lib] dinu% python setup.py build
building '_rl_accel' extension
creating build/temp.darwin-1.4-Power Macintosh-2.1
cc -g -O2 -Wall -Wstrict-prototypes -I/usr/local/include/python2.1 -c _rl_accel.c -o build/temp.darwin-1.4-Power Macintosh-2.1/_rl_accel.o
In file included from /usr/local/include/python2.1/pyport.h:84,
/usr/include/math.h:191: warning: function declaration isn't a prototype
creating build/lib.darwin-1.4-Power Macintosh-2.1
cc -bundle -undefined suppress build/temp.darwin-1.4-Power Macintosh-2.1/_rl_accel.o -o build/lib.darwin-1.4-Power Macintosh-2.1/_rl_accel.so
/usr/bin/ld: /usr/lib/libSystem.dylib load command 6 unknown cmd field
error: command 'cc' failed with exit status 1
I can see that Just posted a message about possibly related
issues but didn't get any feedback...
Well, that's it for a start...
Dinu C. Gherman
"They made a desert and called it peace." (Tacitus)