[4suite] Installation problems - 2.0?
Andy Gimblett
gimbo at ftech.net
Wed Sep 13 04:16:21 MDT 2000
Uche Ogbuji wrote:
> What was the problem under 1.52? We haven't done any testing
> with 2.0.
Oh, I just didn't have the xml-sig stuff installed. Then IIRC for
that I needed to install distutils, and then I just thought "what
the hell, I want to try 2.0 anyway". :)
> 4DOM.spec is an RPM spec file for building RPM packages. ignore the
> %prep and %setup. But really, all you need to do to set up
> 4DOM is copy it to your PYTHONPATH.
Ah. Jolly good. Thanks for clearing that up.
> Doesn't it work if you just do a
>
> mkdir /usr/local/lib/python2.0/site-packages/xml
> touch /usr/local/lib/python2.0/site-packages/xml/__init__.py
> cp -r 4dom-0.9.2 /usr/local/lib/python2.0/site-packages/xml
> mv /usr/local/lib/python2.0/site-packages/xml/4dom-0.9.2
> /usr/local/lib/python2.0/site-packages/xml/dom
No... BTW: 4dom-0.92? I extracted 4DOM-nodebug-0.10.2.tgz, which
created a directory called "xml" which had a single subdirectory
called "dom". In carrying out your instructions above, I used this
"dom" directory (which contains Element.py, Node.py, etc etc) where
you said 4dom-0.9.2 - correct?
> But wait a minute. What do we do with xmlsig? 4DOM uses sax, which I
> understand is not in Python 2.0, (but not 1.6). However, I'm
> not aware of how to make those imports.
I think sax *is* in 2.0. At least, in my fresh 2.0 install I have this:
[root at andy xml]# pwd
/usr/local/lib/python2.0/xml
[root at andy xml]# ls
__init__.py __init__.pyc __init__.pyo dom sax
[root at andy xml]# ls sax
__init__.py _exceptions.pyc expatreader.pyo saxutils.py
xmlreader.pyc
__init__.pyc _exceptions.pyo handler.py saxutils.pyc
xmlreader.pyo
__init__.pyo expatreader.py handler.pyc saxutils.pyo
_exceptions.py expatreader.pyc handler.pyo xmlreader.py
> Can anyone at xml-sig help?
>
> Note that the changes would go in
> /usr/local/lib/python2.0/site-packages/xml/dom/ext/reader
"the changes"? What changes?
> We'll help as much as we can. Hopefully we'll have a chance
> to try out Python 2.0 and add some instructions to our upcoming release.
That'd be great! Thanks very much...
Cheers,
Andy
--
Andy Gimblett <andy.gimblett at ftech.net> Programmer
Frontier Internet Services Limited <www.frontier-internet.ltd.uk>
Tel: 029 20 820 044 Fax: 029 20 820 035
Statements made are at all times subject to Frontier's Terms and
Conditions of Business, which are available upon request.
More information about the 4suite
mailing list