mapserver-5.0.0-beta1 with agg on x86_64

Mike Leahy mgleahy at GOLDEN.NET
Thu Jul 26 23:19:09 PDT 2007


Jim,

I just compiled on F7-x86_64.  I think maybe you need to add
'--libdir=/usr/lib64' to your compile options.

Mike


On Thu, 26 Jul 2007 20:08:09 -0700, James McManus McManus
<jmpmcmanus at YAHOO.COM> wrote:

>I am attempting to install mapserver-5.0.0-beta1, with agg support, on a
x86_64 machine, runing fedora core 7. I first installed agg using the fedora
Package Manager. It put the libraries in /usr/lib64 and headers in
/usr/include/agg2. When I configure a specify  --with-agg=/usr, however, the
following error message occurs:
>
>checking if AGG support requested... configure: error: "could not find
agg_rendering_buffer.h or libagg.a in /usr."
>
>I double checked and these files exist.
>
>I then downloaded and installed agg-2.5 in /usr/local/agg. I was able to
configure mapserver, with this build of aag, but when I attempted to make I
got the following error messages:
>
>g++ -g -O2 -fPIC -Wall  -DENABLE_STDERR_DEBUG -DNEED_NONBLOCKING_STDERR  
-DHAVE_VSNPRINTF -DNEED_STRLCAT  -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR
-DUSE_WMS_LYR  -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_SOS_SVR     -DUSE_GD_GIF
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW
-DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_AGG -DUSE_PDF  
-DUSE_OGR -DUSE_GDAL -DUSE_GEOS -DUSE_ICONV   -DUSE_POSTGIS  -DUSE_THREAD  
-I/usr/include -I/usr/local/agg/include/agg2  -I/usr/include    
-I/usr/include/gdal/ -I/usr/include     -I/usr/include   
-I/usr/include/libxml2   -c -o mapagg.o mapagg.cpp
>mapagg.cpp: In function ‘void msImageInitAGG(imageObj*, colorObj*)’:
>mapagg.cpp:144: warning: format ‘%08x’ expects type ‘unsigned int’,
but argument 3 has type ‘void*’
>mapagg.cpp: In function ‘void imagePolyline(imageObj*, shapeObj*,
colorObj*, int, int, int, int, int*)’:
>mapagg.cpp:263: warning: format ‘%08x’ expects type ‘unsigned int’,
but argument 3 has type ‘void*’
>mapagg.cpp: In function ‘void imageFilledPolygon2(imageObj*, shapeObj*,
colorObj*, int, int)’:
>mapagg.cpp:338: warning: format ‘%08x’ expects type ‘unsigned int’,
but argument 3 has type ‘void*’
>mapagg.cpp: In function ‘void imageFilledPolygon(imageObj*, shapeObj*,
colorObj*, int, int)’:
>mapagg.cpp:387: warning: format ‘%08x’ expects type ‘unsigned int’,
but argument 3 has type ‘void*’
>mapagg.cpp: In function ‘void msDrawMarkerSymbolAGGEllipse(symbolObj*,
double, double, char, styleObj*, int, int, gdImage*, pointObj*)’:
>mapagg.cpp:541: warning: passing ‘double’ for argument 7 to ‘void
gdImageFilledArc(gdImage*, int, int, int, int, int, int, int, int)’
>mapagg.cpp:542: warning: passing ‘double’ for argument 7 to ‘void
gdImageFilledArc(gdImage*, int, int, int, int, int, int, int, int)’
>mapagg.cpp:546: warning: passing ‘double’ for argument 7 to ‘void
gdImageFilledArc(gdImage*, int, int, int, int, int, int, int, int)’
>mapagg.cpp: In function ‘void msDrawMarkerSymbolAGGVector(symbolObj*,
double, double, char, styleObj*, int, int, gdImage*, pointObj*, imageObj*)’:
>mapagg.cpp:635: warning: format ‘%08x’ expects type ‘unsigned int’,
but argument 3 has type ‘void*’
>mapagg.cpp: In function ‘void msPieSliceAGG(imageObj*, styleObj*, double,
double, double, double, double)’:
>mapagg.cpp:928: error: cast from ‘void*’ to ‘int’ loses precision
>mapagg.cpp: In function ‘void msFilledRectangleAGG(imageObj*, styleObj*,
double, double, double, double)’:
>mapagg.cpp:995: error: cast from ‘void*’ to ‘int’ loses precision
>mapagg.cpp: At global scope:
>mapagg.cpp:333: warning: ‘void imageFilledPolygon2(imageObj*, shapeObj*,
colorObj*, int, int)’ defined but not used
>mapagg.cpp:1040: warning: ‘nmsTransformShapeAGG’ defined but not used
>make: *** [mapagg.o] Error 1
>
>Jim
>
>
>



More information about the MapServer-users mailing list