[reportlab-users] building _renderPM.so on Mac OS X 10.2.8

Robin Becker reportlab-users@reportlab.com
Sat, 25 Oct 2003 10:06:07 +0100


In article <20031025060859.68323.qmail@web42002.mail.yahoo.com>, Chris
Leonello <cleonello@yahoo.com> writes
>I am trying to build _renderPM.so for use with Python 2.1.3 in a Zope
>2.6.2 installation on a Mac OS X Jaguar (10.2.8).  I recieve the following
>error:
>
>creating build/lib.darwin-6.8-Power Macintosh-2.1
>gcc -flat_namespace -bundle -undefined suppress
>build/temp.darwin-6.8-Power Macintosh-2.1/_renderPM.o
>-Lbuild/temp.darwin-6.8-Power Macintosh-2.1 -l_renderPM_libart
>-l_renderPM_gt1 -o build/lib.darwin-6.8-Power Macintosh-2.1/_renderPM.so
>ld: archive: build/temp.darwin-6.8-Power
>Macintosh-2.1/lib_renderPM_libart.a has no table of contents, add one with
>ranlib(1) (can't load from it)
>ld: archive: build/temp.darwin-6.8-Power Macintosh-2.1/lib_renderPM_gt1.a
>has no table of contents, add one with ranlib(1) (can't load from it)
>error: command 'gcc' failed with exit status 1
I assume this is some platform problem with distutils. I will ask on
that list how to fix the setup.py.
-- 
Robin Becker