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

Chris Leonello reportlab-users@reportlab.com
Fri, 24 Oct 2003 23:08:59 -0700 (PDT)


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've seen this identical error on previous posts to the list (from last
year).  I tried using the _renderPM-10.1.5.so from ftp.reportlab.com as
previously recommended, but I then receive the following error:

dyld: /usr/local/bin/python.exe Undefined symbols:
/usr/local/lib/python2.1/site-packages/reportlab/graphics/_renderPM.so
undefined reference to _PyType_IsSubtype expected to be defined in the
executable

Any help/suggestions are appreciated.  Thanks!

=====
Chris Leonello
cleonello@yahoo.com

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com