./configure --enable-debug --with-freetype=/usr/bin/freetype-config --with-zlib=/usr --with-png=/usr --with-jpeg=/usr --with-gd=/usr --with-pdf=/usr/local --with-eppl --with-proj=/usr/local --with-ogr=/usr/local/bin/gdal-config --with-gdal=/usr/local/bin/gdal-config --without-tiff --with-postgis=/usr/local/pgsql/bin/pg_config --with-wfs --with-wcs --with-wmsclient --with-wfsclient --with-curl-config=/usr/bin/curl-config --with-php=/usr/local/src/php/php-5.2.5 --with-ming=/usr/local --with-sos --with-geos=/usr/local/bin/geos-config --with-agg
mapogr.cpp: In function 'char** msOGRGetValues(layerObj*, void*)':
mapogr.cpp:538: error: 'OGRStyleMgrH' was not declared in this scope
mapogr.cpp:538: error: expected `;' before 'hStyleMgr'
mapogr.cpp:539: error: 'OGRStyleToolH' was not declared in this scope
mapogr.cpp:539: error: expected `;' before 'hLabelStyle'
mapogr.cpp:557: error: 'hStyleMgr' was not declared in this scope
mapogr.cpp:559: error: 'OGR_SM_Create' was not declared in this scope
mapogr.cpp:560: error: 'OGR_SM_InitFromFeature' was not declared in this scope
mapogr.cpp:561: error: expected `;' before 'hStylePart'
mapogr.cpp:562: error: 'hStylePart' was not declared in this scope
mapogr.cpp:562: error: 'OGR_ST_GetType' was not declared in this scope
mapogr.cpp:562: error: 'OGRSTCLabel' was not declared in this scope
mapogr.cpp:563: error: 'hLabelStyle' was not declared in this scope
mapogr.cpp:565: error: 'OGR_ST_Destroy' was not declared in this scope
mapogr.cpp:568: error: 'hLabelStyle' was not declared in this scope
mapogr.cpp:571: error: 'OGRSTLabelTextString' was not declared in this scope
mapogr.cpp:572: error: 'OGR_ST_GetParamStr' was not declared in this scope
mapogr.cpp:578: error: 'OGRSTLabelAngle' was not declared in this scope
mapogr.cpp:579: error: 'OGR_ST_GetParamStr' was not declared in this scope
mapogr.cpp:585: error: 'OGRSTLabelSize' was not declared in this scope
mapogr.cpp:586: error: 'OGR_ST_GetParamStr' was not declared in this scope
mapogr.cpp:635: error: 'hStyleMgr' was not declared in this scope
mapogr.cpp:635: error: 'OGR_SM_Destroy' was not declared in this scope
mapogr.cpp:636: error: 'hLabelStyle' was not declared in this scope
mapogr.cpp:636: error: 'OGR_ST_Destroy' was not declared in this scope
mapogr.cpp: In function 'int msOGRLayerGetAutoStyle(mapObj*, layerObj*, classObj*, int, long int)':
mapogr.cpp:2124: error: 'OGRStyleMgrH' was not declared in this scope
mapogr.cpp:2124: error: expected `;' before 'hStyleMgr'
mapogr.cpp:2125: error: 'hStyleMgr' was not declared in this scope
mapogr.cpp:2125: error: 'OGR_SM_InitFromFeature' was not declared in this scope
mapogr.cpp:2126: error: 'OGR_SM_GetPartCount' was not declared in this scope
mapogr.cpp:2135: error: 'OGRSTClassId' was not declared in this scope
mapogr.cpp:2135: error: expected `;' before 'eStylePartType'
mapogr.cpp:2137: error: 'OGRStyleToolH' was not declared in this scope
mapogr.cpp:2137: error: expected `;' before 'hStylePart'
mapogr.cpp:2138: error: 'hStylePart' was not declared in this scope
mapogr.cpp:2140: error: 'eStylePartType' was not declared in this scope
mapogr.cpp:2140: error: 'hStylePart' was not declared in this scope
mapogr.cpp:2140: error: 'OGR_ST_GetType' was not declared in this scope
mapogr.cpp:2159: error: 'OGRSTUPixel' was not declared in this scope
mapogr.cpp:2159: error: 'OGR_ST_SetUnit' was not declared in this scope
mapogr.cpp:2164: error: 'OGRSTCLabel' was not declared in this scope
mapogr.cpp:2167: error: expected `;' before 'hLabelStyle'
mapogr.cpp:2173: error: 'hLabelStyle' was not declared in this scope
mapogr.cpp:2174: error: 'OGRSTLabelTextString' was not declared in this scope
mapogr.cpp:2175: error: 'OGR_ST_GetParamStr' was not declared in this scope
mapogr.cpp:2178: error: 'OGRSTLabelAngle' was not declared in this scope
mapogr.cpp:2178: error: 'OGR_ST_GetParamDbl' was not declared in this scope
mapogr.cpp:2181: error: 'OGRSTLabelSize' was not declared in this scope
mapogr.cpp:2181: error: 'OGR_ST_GetParamNum' was not declared in this scope
mapogr.cpp:2189: error: 'OGRSTLabelFColor' was not declared in this scope
mapogr.cpp:2192: error: 'OGR_ST_GetRGBFromString' was not declared in this scope
mapogr.cpp:2198: error: 'OGRSTLabelBColor' was not declared in this scope
mapogr.cpp:2201: error: 'OGR_ST_GetRGBFromString' was not declared in this scope
mapogr.cpp:2210: error: 'OGRSTLabelFontName' was not declared in this scope
mapogr.cpp:2290: error: 'OGRSTCPen' was not declared in this scope
mapogr.cpp:2293: error: expected `;' before 'hPenStyle'
mapogr.cpp:2296: error: 'hPenStyle' was not declared in this scope
mapogr.cpp:2297: error: 'OGRSTPenId' was not declared in this scope
mapogr.cpp:2298: error: 'OGR_ST_GetParamStr' was not declared in this scope
mapogr.cpp:2316: error: 'OGRSTPenColor' was not declared in this scope
mapogr.cpp:2319: error: 'OGR_ST_GetRGBFromString' was not declared in this scope
mapogr.cpp:2326: error: 'OGRSTPenWidth' was not declared in this scope
mapogr.cpp:2326: error: 'OGR_ST_GetParamNum' was not declared in this scope
mapogr.cpp:2458: error: 'OGRSTCBrush' was not declared in this scope
mapogr.cpp:2461: error: expected `;' before 'hBrushStyle'
mapogr.cpp:2463: error: 'hBrushStyle' was not declared in this scope
mapogr.cpp:2464: error: 'OGRSTBrushId' was not declared in this scope
mapogr.cpp:2465: error: 'OGR_ST_GetParamStr' was not declared in this scope
mapogr.cpp:2485: error: 'OGRSTBrushFColor' was not declared in this scope
mapogr.cpp:2489: error: 'OGR_ST_GetRGBFromString' was not declared in this scope
mapogr.cpp:2496: error: 'OGRSTBrushBColor' was not declared in this scope
mapogr.cpp:2499: error: 'OGR_ST_GetRGBFromString' was not declared in this scope
mapogr.cpp:2565: error: 'OGRSTCSymbol' was not declared in this scope
mapogr.cpp:2568: error: expected `;' before 'hSymbolStyle'
mapogr.cpp:2577: error: 'hSymbolStyle' was not declared in this scope
mapogr.cpp:2578: error: 'OGRSTSymbolColor' was not declared in this scope
mapogr.cpp:2579: error: 'OGR_ST_GetParamStr' was not declared in this scope
mapogr.cpp:2582: error: 'OGR_ST_GetRGBFromString' was not declared in this scope
mapogr.cpp:2588: error: 'OGRSTSymbolSize' was not declared in this scope
mapogr.cpp:2589: error: 'OGR_ST_GetParamNum' was not declared in this scope
mapogr.cpp:2596: error: 'OGRSTSymbolId' was not declared in this scope
mapogr.cpp:2639: error: 'OGR_ST_Destroy' was not declared in this scope
mapogr.cpp:2647: error: 'OGR_SM_Destroy' was not declared in this scope
make: *** [mapogr.o] Error 1