PyXML Building on OS X?
Jarrett L Wold
jwold at min.midco.net
Tue Sep 24 20:53:08 EDT 2002
Thanks Martin!
I just opted to install YDL 2.3, I have been meaning to move to Linux for
some time now.
I apologize for not testing that out for you, however I'm liking Linux much
better ;)
Martin v. Loewis wrote:
> Jarrett Wold <jwold at min.midco.net> writes:
>
>> extensions/expat/lib/xmlparse.c:3056: warning: `regparm' attribute
>> directive ignored
>
> I see. Please edit internal.h to replace
>
> #if defined(__GNUC__)
> #define FASTCALL __attribute__((stdcall, regparm(3)))
> #elif defined(WIN32)
> #define FASTCALL __fastcall
> #else
> #define FASTCALL
> #endif
>
> with
>
> #define FASTCALL
>
>> cc -L/sw/lib -bundle -flat_namespace -undefined suppress
>> build/temp.darwin-5.5-Power Macintosh-2.2/pyexpat.o
>> build/temp.darwin-5.5-Power Macintosh-2.2/xmlparse.o
>> build/temp.darwin-5.5-Power Macintosh-2.2/xmlrole.o
>> build/temp.darwin-5.5-Power Macintosh-2.2/xmltok.o -o
>> build/lib.darwin-5.5-Power Macintosh-2.2/_xmlplus/parsers/pyexpat.so
>> -flat_namespace
>> /usr/bin/ld: -undefined: unknown argument: -lbundle1.o
>> error: command 'cc' failed with exit status 1
>
> Very strange. Can you please invoke
>
> cc -L/sw/lib -bundle -flat_namespace -undefined suppress
> build/temp.darwin-5.5-Power Macintosh-2.2/pyexpat.o
> build/temp.darwin-5.5-Power Macintosh-2.2/xmlparse.o
> build/temp.darwin-5.5-Power Macintosh-2.2/xmlrole.o
> build/temp.darwin-5.5-Power Macintosh-2.2/xmltok.o -o
> build/lib.darwin-5.5-Power Macintosh-2.2/_xmlplus/parsers/pyexpat.so -v
>
> on the command line, and report the output?
>
> Regards,
> Martin
More information about the Python-list
mailing list