[mapserver-users] Python MapScript compile error

Jackey Cheung cheung.jackey at gmail.com
Wed Jul 4 19:14:28 PDT 2012


Hi all,

Not sure if i've done anything wrong. I've met the "Unknown option: -a"
while compiling Python MapScript.

MapServer: Git trunk, CentOS 6 box running on Intel Pentium D.
./configure --with-wms --with-wfs --with-curl --with-jpeg --with-freetype
--with-png --with-threads --with-postgis --with-xml2 --with-libiconv
--with-proj --with-ogr --with-gdal --with-cairo --with-ftgl --with-opengl
--with-threads --with-geos --with-postgis --with-mysql --with-wmsclient
--with-wfsclient --with-sos --with-wcs --with-curl --with-kml
--with-xml-mapfile --with-xslt --with-fastcgi --with-exempi
--with-fribidi-config --with-zlib --with-gd --with-postgis --with-mysql
--with-php --with-libsvg-cairo --enable-fast-nint --enable-proj-fastpath
--enable-point-z-m --enable-python-mapscript

Although I don't need all these features yet, I've decided to test
compiling all of them in case I need them in future. Configure went well,
and finished with everything. But while compiling Python:
cd mapscript/python; make;
make[1]: Entering directory
`/home/jackey.cheung/mapserver-6.2.0-beta1/mapscript/python'
python -shadow -modern -templatereduce -fastdispatch -fvirtual -fastproxy
-modernargs -castmode -dirvtable -fastinit -fastquery -noproxydel
-nobuildnone -DUSE_PROJ_FASTPATHS  -DUSE_POINT_Z_M  -DUSE_FASTCGI
-DUSE_SVG_CAIRO -DUSE_CAIRO -DUSE_FRIBIDI -DUSE_FRIBIDI2 -DUSE_EXSLT
-DUSE_XSLT -DUSE_XMLMAPFILE -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_SOS_SVR
-DUSE_LIBXML2 -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH -DUSE_KML -DUSE_EXEMPI
-DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR  -DUSE_MYSQL -DUSE_POSTGIS
-DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR -DUSE_GEOS
 -DHAVE_SYNC_FETCH_AND_ADD -DUSE_THREAD -DUSE_PROJ -DUSE_OGL -DUSE_FTGL
 -DUSE_GD  -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_GIF -DUSE_ICONV -DUSE_JPEG
-DUSE_GIF -DUSE_PNG -DUSE_FREETYPE -DHAVE_VSNPRINTF -DNEED_STRLCPY
-DNEED_STRLCAT -DNEED_STRRSTR   -DDISABLE_CVSID -o mapscript_wrap.c
../mapscript.i
Unknown option: -a
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.

Any clue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120705/7d8c9911/attachment-0001.html>


More information about the mapserver-users mailing list