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