[XML-SIG] Build problem on Win2k
Brad Clements
bkc@murkworks.com
Wed, 4 Oct 2000 10:45:50 -0400
I have Python 1.5.2, trying to install XML v0.5.2
I have dist-utils installed (perhaps its too old).
python setup.py build produces this traceback.. I'll start looking to see
what's happening, but here's the info in case someone knows what's up.
<snip>
creating build\lib.win32\xml\utils
copying xml\utils\iso8601.py -> build\lib.win32\xml\utils
copying xml\utils\qp_xml.py -> build\lib.win32\xml\utils
copying xml\utils\__init__.py -> build\lib.win32\xml\utils
running build_ext
warning: build_ext: old-style (ext_name, build_info) tuple found in ext_modules
for extension 'sgmlop'-- please convert to Extension instance
warning: build_ext: old-style (ext_name, build_info) tuple found in ext_modules
for extension 'xml.unicode.wstrop'-- please convert to Extension instance
warning: build_ext: old-style (ext_name, build_info) tuple found in ext_modules
for extension 'xml.parsers.pyexpat'-- please convert to Extension instance
building 'sgmlop' extension
creating build\temp.win32
creating build\temp.win32\Release
creating build\temp.win32\Release\extensions
D:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD /W3
-Id:\progra~1\python\Include /Tcextensions/sgmlop.c /Fobuild\temp.win32\Release\
extensions/sgmlop.obj
sgmlop.c
Traceback (innermost last):
File "setup.py", line 53, in ?
ext_modules = wstr_modules +
File "d:\Program Files\Python\Lib\distutils\core.py", line 112, in setup
dist.run_commands ()
File "d:\Program Files\Python\Lib\distutils\dist.py", line 776, in run_command
s
self.run_command (cmd)
File "d:\Program Files\Python\Lib\distutils\dist.py", line 797, in run_command
cmd_obj.run ()
File "d:\Program Files\Python\Lib\distutils\command\build.py", line 117, in ru
n
self.run_command ('build_ext')
File "d:\Program Files\Python\Lib\distutils\cmd.py", line 310, in run_command
self.distribution.run_command (command)
File "d:\Program Files\Python\Lib\distutils\dist.py", line 797, in run_command
cmd_obj.run ()
File "d:\Program Files\Python\Lib\distutils\command\build_ext.py", line 224, i
n run
self.build_extensions ()
File "d:\Program Files\Python\Lib\distutils\command\build_ext.py", line 428, i
n build_extensions
libraries=self.get_libraries(ext),
File "d:\Program Files\Python\Lib\distutils\command\build_ext.py", line 571, i
n get_libraries
return ext.libraries + [pythonlib]
TypeError: bad operand type(s) for +
Brad Clements, bkc@murkworks.com (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com AOL-IM: BKClements