[reportlab-users] _renderPM.so for Jaguar
Robin Becker
reportlab-users@reportlab.com
Mon, 23 Sep 2002 19:15:05 +0100
In article <3D8F21E1.B39BD797@petr.com>, Petr van Blokland
<buro@petr.com> writes
>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
.....
this looks really screwed up, I guess distutils hasn't yet reached
stability for that OS. Certainly mixing ppc and i386 isn't going to be
useful :).
Perhaps Dinu can say what he needed to do to make this go?
--
Robin Becker