[XML-SIG] build error on PyXML 0.5.5 package
oliver
fwang2@yahoo.com
Sat, 5 Aug 2000 09:43:49 -0700 (PDT)
Thanks for reply, after install dev rpm, I can build
PyXML 0.5.4, but compiling PyXML 0.5.5 still gave me
the following errors.
Executing 'build' action...
Running command: make
gcc -fPIC -Iexpat/xmlparse -g -O2
-I/usr/include/python1.5 -I/usr/include/python1.5
-DHAVE_CONFIG_H -c ./pyexpat.c
./pyexpat.c: In function `newxmlparseobject':
./pyexpat.c:474: parse error before `xmlparseobject'
make: *** [pyexpat.o] Error 1
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'
--- Dieter Maurer <dieter@handshake.de> wrote:
> fwang2@yahoo.com writes:
> > make -f ./Makefile.pre.in VPATH=. srcdir=. \
> > VERSION=$VERSION \
> > installdir=$installdir \
> > exec_installdir=$exec_installdir \
> > Makefile
> > make[1]: Entering directory
> `/root/PyXML-0.5.5/extensions'
> > make[1]: *** No rule to make target
> `/usr/lib/python1.5/config/Makefile',
> > needed by `sedscript'. Stop.
> > make[1]: Leaving directory
> `/root/PyXML-0.5.5/extensions'
> > make: *** [boot] Error 2
> You need to install the Python-Dev (Python
> Development) RPM.
>
>
> Dieter
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/