MS 5.0.0-rc2 issue

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Sat Sep 15 16:32:41 EDT 2007


Hi all,

I just downloaded agg-2.4 and mapserver-5.0.0-rc2 and got the following 
build error.

g++ -g -O2 -fPIC -Wall  -DNEED_NONBLOCKING_STDERR -DIGNORE_MISSING_DATA 
  -DHAVE_VSNPRINTF -DNEED_STRLCAT  -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR 
-DUSE_WMS_LYR -DUSE_WFS_SVR        -DUSE_GD_GIF -DUSE_GD_PNG 
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR 
-DGD_HAS_GETBITMAPFONTS -DUSE_AGG    -DUSE_OGR -DUSE_GDAL  -DUSE_ICONV 
  -DUSE_POSTGIS   -DUSE_ZLIB  -I/usr/include 
-I/home/swoodbridge/work/mapserver-5.0.0-rc2/../agg-2.4/include 
-I/home/swoodbridge/work/mapserver-5.0.0-rc2/../agg-2.4/font_freetype 
-I/usr/include/freetype2  -I/usr/include     -I/usr/local/include 
-I/usr/include            -c -o mapagg.o mapagg.cpp
mapagg.cpp: In function `agg::rendering_buffer gdImg2AGGRB_BGRA(gdImage*)':
mapagg.cpp:201: error: `gdImageGetTrueColorPixel' was not declared in 
this scope
mapagg.cpp:201: warning: unused variable 'gdImageGetTrueColorPixel'
make: *** [mapagg.o] Error 1

./configure \
   --enable-ignore-missing-data \
   --enable-debug \
   --with-httpd=/usr/sbin/httpd \
   --with-proj=/usr \
   --with-agg=../agg-2.4 \
   --with-gd \
   --with-gdal \
   --with-freetype \
   --with-postgis \
   --without-tiff \
   --with-wmsclient \
   --with-ogr \
   --with-wfs \

I suspect this is because the libgd2 that is loaded on this system is 
too old, but then ./configure did not check and complain for that.

Any thoughts?

-Steve W



More information about the mapserver-dev mailing list