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

Dinu Gherman reportlab-users@reportlab.com
Sat, 25 Oct 2003 10:13:57 +0200


Chris Leonello:

> 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:

Python 2.1 has a couple of issues... 2.2 and 2.3 should work fine.

> 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

Try running ranlib on build/temp.darwin-6.8-Power 
Macintosh-2.1/lib_renderPM_gt1.a
and recompiling... If that doesn't help I don't know.

Dinu

PS: Robin, will there ever be a tarball of renderPM in this new
     millenium?