[XML-SIG] Problems installing sig.
Alejandro Fernandez
ale@sift.co.uk
Tue, 22 Aug 2000 10:53:33 +0100
Here is what I get when I try to run PyXML on my red hat 6.2 box: I downloaded
and untarred http://www.python.org/sigs/xml-sig/files/PyXML-0.5.5.1.tar.gz
It seems to not find libexpat.so, which I thought was one of the packages it
was trying to install in the first place.
Is there anything I am doing wrong?
Thanks for your help,
Alejandro
---
[root@kubric PyXML-0.5.5.1]# 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/archive/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/archive/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/archive/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/archive/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/archive/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/archive/PyXML-0.5.5.1/extensions'
make: *** [boot] Error 2
Running command: make
make: *** No targets specified and no makefile found. 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'
[root@kubric PyXML-0.5.5.1]# python setup.py install
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/archive/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/archive/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/archive/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/archive/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/archive/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/archive/PyXML-0.5.5.1/extensions'
make: *** [boot] Error 2
Running command: make
make: *** No targets specified and no makefile found. 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'
--
Alejandro Fernandez
Webmaster
Sift Group plc., 100 Victoria Street, BRISTOL, BS1 6HZ
tel:+44 117 915 9600 fax:+44 117 915 9630 http://www.sift.co.uk
------------ "Vertical B2B Communities"