[XML-SIG] Problems installing PyXML-0.5.5.1

Kiri Wagstaff wkiri@CS.Cornell.EDU
Wed, 30 Aug 2000 15:58:33 -0400 (EDT)


Hello,

I recently downloaded PyXML-0.5.5.1 but have been unable to install
it.  I'm running Linux.  The README says to

> 1)
>  Run "python setup.py build" to copy *.py files and compile the C
>  extensions.

When I do this, I get the following output:


Executing 'build' action...

Running command: make -f Makefile.pre.in boot
rm -f *.o *~
rm -f `find . -name '*.pyc'`
rm -f `find . -name '*.o'`
rm -f `find . -name '*~'`
cd expat ; make clean
make[1]: Entering directory `/usr/src/PyXML-0.5.5.1/extensions/expat'
rm -f xmltok/xmltok.o xmltok/xmlrole.o xmlwf/xmlwf.o xmlwf/xmlfile.o
xmlwf/codepage.o xmlparse/xmlparse.o xmlparse/hashtable.o
xmlwf/unixfilemap.o xmlwf/xmlwf
make[1]: Leaving directory `/usr/src/PyXML-0.5.5.1/extensions/expat'
rm -f *.a tags TAGS config.c Makefile.pre python sedscript
rm -f *.so *.sl so_locations
cd expat ; make clobber
make[1]: Entering directory `/usr/src/PyXML-0.5.5.1/extensions/expat'
rm -f xmltok/xmltok.o xmltok/xmlrole.o xmlwf/xmlwf.o xmlwf/xmlfile.o
xmlwf/codepage.o xmlparse/xmlparse.o xmlparse/hashtable.o
xmlwf/unixfilemap.o xmlwf/xmlwf
rm -f libexpat.a
make[1]: Leaving directory `/usr/src/PyXML-0.5.5.1/extensions/expat'
VERSION=`python -c "import sys; print sys.version[:3]"`; \
installdir=`python -c "import sys; print sys.prefix"`; \
exec_installdir=`python -c "import sys; print sys.exec_prefix"`; \
make -f ./Makefile.pre.in VPATH=. srcdir=. \
        VERSION=$VERSION \
        installdir=$installdir \
        exec_installdir=$exec_installdir \
        Makefile
make[1]: Entering directory `/usr/src/PyXML-0.5.5.1/extensions'
make[1]: *** No rule to make target
`/usr/lib/python1.5/config/Makefile', needed by `sedscript'.  Stop.
make[1]: Leaving directory `/usr/src/PyXML-0.5.5.1/extensions'
make: *** [boot] Error 2

Running command: make
make: *** No targets.  Stop.
Traceback (innermost last):
  File "setup.py", line 185, in ?
    func()
  File "setup.py", line 155, in build_unix
    shutil.copy('extensions/' + filename, 'build/xml/parsers/')
  File "/usr/lib/python1.5/shutil.py", line 52, in copy
    copyfile(src, dst)
  File "/usr/lib/python1.5/shutil.py", line 17, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: 'extensions/pyexpat.so'

Can you offer any suggestions?

    Thanks,

    Kiri

------------- Kiri Wagstaff, M.S. -------- wkiri@cs.cornell.edu -------------
		  And on the brave and crazy wings of youth
		     They went flying around in the rain
		      And their feathers, once so fine,
			    Grew torn and tattered
		    -- Jackson Browne, Before the Deluge
-----------------------------------------------------------------------------