[Zope-xml] install problem
igor brodnik
ibr at hyperwerk.ch
Thu Feb 28 10:34:10 EST 2002
Hi
First of all: sorry for the long mail...
I've got an install problem and since people on the list do not have a
problem on installing it with linux, I definetely have one, I really
appreciate any help.
I posted a similar mail on the dev mailing-list, so I hope that noone will be
angry...
My running system is suse linux 7.3,
python 2.1.1 src, pyxml src, zope src
first the pyexpat test fails:
# /usr/.../bin/python2.1 regrtest.py
test_dom
test_domu
test test_domu skipped -- an optional feature could not be imported
test_encodings
test_howto
test_htmlb
test_javadom
Warning: can't open ./output/test_javadom
test test_javadom skipped -- an optional feature could not be imported
test_marshal
test test_marshal failed -- Writing: '<?xml version="1.0"?><marshal><object
id="i2" module="xml.marshal.generic" class="_A"><tuple></tuple><dictionary
id="i3"><string>self</string><reference
id="i2"/><string>subobject</string><object id="i4"
module="xml.marshal.generic" class="_B"><tuple></tuple><dictionary
id="i5"><string>list</string><list
id="i6"><none/><int>1</int><long>10633823966279326983230456482242756608</long><float>19.72</float><complex>1.0
5.0</complex><string>here is a string & a <fake
tag></string></list></dictionary></object></dictionary></object></marshal>',
expected: '<?xml version="1.0"?><marshal><object id="i2"
module="xml.marshal.generic" class="_A"><tuple></tuple><dictionary
id="i3"><string>subobject</string><object id="i4"
module="xml.marshal.generic" class="_B"><tuple></tuple><dictionary
id="i5"><string>list</string><list
id="i6"><none/><int>1</int><long>10633823966279326983230456482242756608</long><float>19.72</float><complex>1.0
5.0</complex><string>here is a string & a <fake
tag></string></list></dictionary></object><string>self</string><reference
id="i2"/></dictionary></object></marshal>'
test_minidom
test_pyexpat
test test_pyexpat failed -- Writing: "u'attr2': u'value2\\\\u1f40',",
expected:
"u'attr2': u'value2\\\\\\u1f40'"
test_sax
test_sax_xmlproc
test_saxdrivers
test_utils
9 tests OK.
2 tests failed: test_marshal test_pyexpat
2 tests skipped: test_domu test_javadom
then when I try to run:python setup.py (in the expat dir in the from you
described location) before the script executes the make command I get the
following lines...
:it doesn't find Setup.thread
: too many arguments to function 'PyFrame_New'
-m Makefile.pre -c /usr/lib/python2.1/config/config.c.in Setup -n
/usr/lib/python2.1/config/Setup.thread
/usr/lib/python2.1/config/Setup.local /usr/lib/python2.1/config/Setup
cat: /usr/lib/python2.1/config/Setup.thread: No such file or directory
make -f Makefile do-it-again
make[2]: Entering directory
`/usr/local/zope/Zope-2.4.3-src/lib/python/Products/ParsedXML/Expat'
/usr/lib/python2.1/config/makesetup \
-m Makefile.pre -c /usr/lib/python2.1/config/config.c.in Setup -n
/usr/lib/python2.1/config/Setup.thread
/usr/lib/python2.1/config/Setup.local /usr/lib/python2.1/config/Setup
cat: /usr/lib/python2.1/config/Setup.thread: No such file or directory
make[2]: Leaving directory
`/usr/local/zope/Zope-2.4.3-src/lib/python/Products/ParsedXML/Expat'
make[1]: Leaving directory
`/usr/local/zope/Zope-2.4.3-src/lib/python/Products/ParsedXML/Expat'
gcc -fPIC -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -O2 -mcpu=i486
-ma rch=i486 -I/usr/include/python2.1 -I/usr/include/python2.1
-DHAVE_CONFIG_H -DHAVE_EXPAT_H -Ilib -c ././pyexpat.c -o ./pyexpat.o
././pyexpat.c: In function `call_with_frame':
././pyexpat.c:365: too many arguments to function `PyFrame_New'
make: *** [pyexpat.o] Error 1
I'd appreciate any help
kind regards
igor
More information about the Zope-xml
mailing list