[Distutils] Re: PyXML build problems
Sun, 18 Jun 2000 11:32:35 -0400
[cc'd to distutils-sig, in case anyone out there knows anything about
OSF/1 and its progeny]
On 18 June 2000, Mark Favas (in private email) said:
> The generated ld command above is fine for using through the shell, but
> will fail if the quotes are not stripped - the pattern will be a literal
> *. If I change the definition for LDSHARED in my
> /usr/local/lib/python1.6/config/Makefile from
> LDSHARED= ld -shared -expect_unresolved "*"
> LDSHARED= ld -shared -expect_unresolved *
> and re-run "python setup.py build" the link step works fine. The
> Makefile is attached.
Good thinking -- I was afraid I'd have to implement a general
quoting-and-unquoting mechanism when parsing Python's Makefile (or
rather, the bits of it that are shell commands). I bet I can get away
with an OSF1-specific hack to deal with this problem, though. ;-)
Note that (I think) your fix will break builds with the old
Makefile.pre.in mechanism, so you'll want to go back to the original
Makefile once I've fixed Distutils.
BTW, what do os.uname() and sys.platform return on your system? Do you
know how consistent these are across various flavours of OSF/1?
Also, didn't OSF/1 mutate into Digital Unix, and then Tru64 Unix? Do
you know if these later versions are similarly affected?
Greg Ward - programmer-at-big email@example.com
Never try to outstubborn a cat.