[mapserver-dev] 5.6.0-beta1 build error for Python mapscript

Jeff McKenna jmckenna at gatewaygeomatics.com
Fri Sep 25 11:47:00 EDT 2009


Hi devs,

I'm trying to package 5.6.0-beta1 on MSVC 2008 (php, java, c# mapscripts 
build fine) but the Python mapscript compile throws errors (below), can 
anyone see what this is caused by?

installing to build\bdist.win32\dumb
running install
running install_lib
copying build\lib.win32-2.6\mapscript.py -> 
build\bdist.win32\dumb\build\mapserver-buildki
t-2008\Python-2.6.2\Lib\site-packages
copying build\lib.win32-2.6\_mapscript.pyd -> 
build\bdist.win32\dumb\build\mapserver-build
kit-2008\Python-2.6.2\Lib\site-packages
byte-compiling 
build\bdist.win32\dumb\build\mapserver-buildkit-2008\Python-2.6.2\Lib\site-
packages\mapscript.py to mapscript.pyc
running install_egg_info
Removing 
build\bdist.win32\dumb\build\mapserver-buildkit-2008\Python-2.6.2\Lib\site-packag
es\MapScript-_5.6.0_beta1_-py2.6.egg-info
Writing 
build\bdist.win32\dumb\build\mapserver-buildkit-2008\Python-2.6.2\Lib\site-package
s\MapScript-_5.6.0_beta1_-py2.6.egg-info
creating 
'D:\build\mapserver-buildkit-2008\mapserver-5.6.0_beta1\mapscript\python\dist\Map
Script-"5.6.0-beta1".win32.zip' and adding '.' to it
error: 
D:\build\mapserver-buildkit-2008\mapserver-5.6.0_beta1\mapscript\python\dist\MapScr
ipt-"5.6.0-beta1".win32.zip: invalid mode ('wb') or filename
NMAKE : fatal error U1077: 
'D:\build\mapserver-buildkit-2008\mapserver-5.6.0_beta1\..\Pyth
on-2.6.2\PCBuild\python.exe' : return code '0x1'
Stop.

-jeff



-- 
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the mapserver-dev mailing list