Hi, I'm trying to install mapnik for the first time and ran into a problem with the python build script:
g++ -o plugins/input/gdal/gdal_datasource.os -c -pthread "-DBOOST_PROPERTY_TREE_XML_PARSER_TINYXML -DTIXML_USE_STL" "-ansi -Wall -pthread -ftemplate-depth-100 -DNETBSD -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O2 -finline-functions -Wno-inline -DNDEBUG" -fPIC -Iagg/include -Itinyxml -Iinclude -I. -I/usr/pkg/include -I/usr/pkg/include/freetype2 plugins/input/gdal/gdal_datasource.cpp cc1plus: error: unrecognized command line option "-ansi -Wall -pthread -ftemplate-depth-100 -DNETBSD -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O2 -finline-functions -Wno-inline -DNDEBUG" The compiler flags are passed in groups in quotation marks. If I omit the '"', gdal_datasource.os is built without problems. Can you give me a hint where the quotes are inserted? Should I write a wrapper for the g++ call or use an older gcc? g++ "-ansi -Wall" runs fine with gcc 3.4.6/Solaris 10, it causes an error with gcc 4.1.3/NetBSD and gcc 4.3.1/Linux. Best wishes, Fabian. _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

