[XML-SIG] install problem PyXML-0.5.5.1
Lambert van Eijck
eijck@iri.tudelft.nl
Mon, 18 Sep 2000 15:29:17 +0200 (CEST)
Hello there,
Because I'd like to take a look at PyGuiXML I tried to install
PyXML-0.5.5.1 according to README included.
The '$ python setup.py build' is (I guess) trying to use something in the
directory '/usr/lib/python-1.5/config' which is not there (RedHat6.1). Do
you know if this is the problem and what I can do?
I got the following output:
_________________________________________________________
$ 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
`/home/eijck/src/tgz/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
`/home/eijck/src/tgz/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
`/home/eijck/src/tgz/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
`/home/eijck/src/tgz/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 `/home/eijck/src/tgz/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 `/home/eijck/src/tgz/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'
$
$
$
________________________________________________
Thanks for the help,
Lambert van Eijck
IRI TU Delft Netherlands