[reportlab-users] _renderPM.so for Jaguar

Petr van Blokland reportlab-users@reportlab.com
Mon, 23 Sep 2002 16:14:58 +0200


Andy Robinson wrote:
> 
> > LS
> > Did anyone manage to build _renderPM.so already for
> > Jaguar. I get an error with the rl_addons from ReportLab
> > CVS download.
> What's Jaguar?
> (I was never any good at Macronyms....)
> 

Sorry, that is the code name for Mac OSX 10.2 
I did compile from the CVS rl_addons in standard OSX 10.2
with the following result:

[...]
running build_ext
building '_renderPM' extension
skipping _renderPM.c (build/temp.darwin-6.0-Power
Macintosh-2.2/_renderPM.o up-to-date)
gcc -arch i386 -arch ppc -bundle -flat_namespace -undefined suppress
build/temp.darwin-6.0-Power Macintosh-2.2/_renderPM.o
-Lbuild/temp.darwin-6.0-Power Macintosh-2.2 -l_renderPM_libart
-l_renderPM_gt1 -o build/lib.darwin-6.0-Power Macintosh-2.2/_renderPM.so
ld: for architecture i386
ld: warning /usr/lib/bundle1.o cputype (18, architecture ppc) does not
match cputype (7) for specified -arch flag: i386 (file not loaded)
ld: warning build/temp.darwin-6.0-Power Macintosh-2.2/_renderPM.o
cputype (18, architecture ppc) does not match cputype (7) for specified
-arch flag: i386 (file not loaded)
ld: warning build/temp.darwin-6.0-Power
Macintosh-2.2/lib_renderPM_libart.a archive's cputype (18, architecture
ppc) does not match cputype (7) for specified -arch flag: i386 (can't
load from it)
ld: warning build/temp.darwin-6.0-Power Macintosh-2.2/lib_renderPM_gt1.a
archive's cputype (18, architecture ppc) does not match cputype (7) for
specified -arch flag: i386 (can't load from it)
ld: warning /usr/lib/gcc/darwin/3.1/libgcc.a archive's cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (can't load from it)
ld: warning /usr/lib/libSystem.dylib cputype (18, architecture ppc) does
not match cputype (7) for specified -arch flag: i386 (file not loaded)
ld: for architecture ppc
ld: archive: build/temp.darwin-6.0-Power
Macintosh-2.2/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.0-Power
Macintosh-2.2/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


Kind regards,
Petr van Blokland

-- 
<!-- .............................. -->
     <email>buro@petr.com</email>
     <site>www.petr.com</site>
     <name>Petr van Blokland</name>
<!-- .............................. -->