[mapserver-dev] 5.6.0-beta1 build error for Python mapscript
Dan Little
danlittle at yahoo.com
Fri Sep 25 16:50:25 EDT 2009
Wild-ass guess:
mapscript/python/mapscript_wrap.c : 44996
SWIG_Python_SetConstant(d, "MS_VERSION",SWIG_FromCharPtr("5.6.0-beta1")); Try changing it to 5.6.0 and see if that corrects the issue...
----- Original Message ----
> From: Jeff McKenna <jmckenna at gatewaygeomatics.com>
> Cc: MapServer Dev Mailing List <mapserver-dev at lists.osgeo.org>
> Sent: Friday, September 25, 2009 1:16:50 PM
> Subject: Re: [mapserver-dev] 5.6.0-beta1 build error for Python mapscript
>
> Dan Little wrote:
> > IIRC "s are not allowed in FAT32/NTFS filenames.
> >
> >
> >
> > ----- Original Message ----
> >> From: Jeff McKenna
> >> To: MapServer Dev Mailing List
> >> Sent: Friday, September 25, 2009 10:47:00 AM
> >> Subject: [mapserver-dev] 5.6.0-beta1 build error for Python mapscript
> >>
> >> 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.
> >>
>
> Hi Dan,
>
> Yes Windows does not like these double quotes in the filename. For example, on
> the same build machine (and same python) here is the compiler output:
>
> MS 5.4.2 (valid filename):
>
> creating
> 'D:\build\mapserver-buildkit-2008\mapserver-5.4.2\mapscript\python\dist\mapscript-5.4.2.win32.zip'
>
> MS trunk (invalid filename):
>
> creating
> 'D:\build\mapserver-buildkit-2008\mapserver-5.6.0_beta1\mapscript\python\dist\MapScript-"5.6.0-beta1".win32.zip'
>
>
> But I don't know where these new quotes are coming from. ???
>
> -jeff
>
> -- Jeff McKenna
> FOSS4G Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
More information about the mapserver-dev
mailing list