[XML-SIG] Problems installing XML package v 0.5.2
Eileen Kinley
e.kinley@calian.com
Fri, 1 Sep 2000 14:07:09 -0400
Environment: Windows 98
Python version: 1.5.2
Questions and a problem report wrt installation.
python setup.py build/install fail due to problems compiling sgmlop (see
problem report below)
I went ahead and ran setup.py install --skip-build, and it copied the
hierarchy (generated by my earlier attempts) into my python directory.
I noticed that there is a precompiled version of sgmlop available, however
it (and several other DLLs) did not get copied.
Question: Do I simply need to put these dll's in a directory that is in my
search path?
c:/Program Files/PyXML-0.5.5.1/windows:
total 142
drwxrwxrwx 2 kinley 123 0 Sep 1 10:06 .
drwxrwxrwx 2 kinley 123 0 Sep 1 10:02 ..
-rw-rw-rw- 1 kinley 123 8704 Aug 15 1999 pyexpat.dll
-rw-rw-rw- 1 kinley 123 12800 Aug 15 1999 sgmlop.dll
-rw-rw-rw- 1 kinley 123 386 Jul 31 1998 sgmlop.mak
-rw-rw-rw- 1 kinley 123 49152 May 29 1999 xmlparse.dll
-rw-rw-rw- 1 kinley 123 73728 May 29 1999 xmltok.dll
Next question:
To save my colleagues having to step through this, can I simply zip up the
python/xml subdirectory that has been created and ship that?
=============================
Installation problem report
Some additional documentation might help this one (the readme says to simply
run setup.py)
Caveat: I'm not a C programmer! I recently installed the cygwin utilities,
so do have gcc available...
python setup.py build fails with the following error:
building 'sgmlop' extension
cl.exe /c /nologo /Ox /MD /W3 /GX "-IC:\PROGRAM FILES\PYTHON\Include"
/Tcextensions/sgmlop.c /Fobuild\temp.win32\Release\extensions/sgmlop.obj
warning: build_py: package init file 'xml\parsers\xmlproc\__init__.py' not
found (or not a regular file)
warning: build_ext: old-style (ext_name, build_info) tuple found in
ext_modules for extension 'sgmlop'-- please convert to Extension instance
warning: build_ext: old-style (ext_name, build_info) tuple found in
ext_modules for extension 'xml.unicode.wstrop'-- please convert to Extension
instance
warning: build_ext: old-style (ext_name, build_info) tuple found in
ext_modules for extension 'xml.parsers.pyexpat'-- please convert to
Extension instance
error: command 'cl.exe' failed: No such file or directory
"cl" doesn't exist on my machine.
I recently installed the cygwin utilities, so seem to have gcc available;
however I'm not sure how to compile/link sgmlop.
TIA,
Eileen
Eileen Kinley
Calian