[XML-SIG] New xml-0.5 prerelease

Tamito Kajiyama kajiyama@etl.go.jp
Thu, 3 Dec 98 03:03:47 JST


"Andrew M. Kuchling" <akuchlin@cnri.reston.va.us> writes:
| Round the loop we go again!  I've put a new prerelease of the XML
| package up at http://www.python.org/sigs/xml-sig/files/ ; look for
| xml-0.5.tgz or .zip.
| 
| 	I really want to announce 0.5, so please try compiling it and
| let me know if it goes smoothly; send me private e-mail even if you
| have no problems, so that I know that people have actually tried it.

I tried xml-0.5.tgz on SunOS 4.1.4_JL.

This OS seems not to have libintl.h so that compiling intl.c failed.
I built the XML package by removing 'intl*' from Makefile.pre.in and
Setup.in.  IMHO, I don't think it's worth supporting SunOS 4.x, since
this version branch seems no longer supported by Sun and many vendors,
and it would be out-of-date in the near future.

Also, Python 1.5.1 seems not to define PySys_WriteStderr, and I had the
following error:

    Python 1.5.1 (#45, Jul 16 1998, 10:46:19)  [GCC 2.7.2.1] on sunos4
    Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
    >>> from xml.sax import saxexts
    >>> parser = saxexts.make_parser()
    ld.so: Undefined symbol: _PySys_WriteStderr

I avoided this error by explicitly giving saxexts.make_parser() a parser
name (e.g. 'xmlproc').

BTW, if the directory $prefix/lib/python1.5/site-packages does not
exist, the installation process simply fails.  How about creating it if
it does not exist as it is for subdirectories?  I wonder if this is a
general installation problem of Python...

Regards,

-- 
KAJIYAMA, Tamito <kajiyama@etl.go.jp>