[XML-SIG] compile of Version 0.5.5.1,

Chris Elliott cje2@biolpc22.york.ac.uk
Thu, 17 Aug 2000 10:47:26 +0100 (BST)


I downloaded the code to my Redhat 6.1 system and tried to install it as
described in the README file (with a vies to using it with the Sketch
program)

I got the following error message on trying to install:

[root@localhost]# python setup.py build

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'