<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 8pt Microsoft Sans Serif; MARGIN-LEFT: 2px">
<DIV><FONT size=1>Folks,</FONT></DIV>
<DIV><FONT size=1></FONT> </DIV>
<DIV><FONT size=1>I have really been looking forward to and am excited about the
PDF support in mapserver. Thanks very much for doing it. However, I
cannot get it to compile. I downloaded and installed pdflib with c++
support (which may or may not be the problem) and I am pretty sure it was done
properly. When I attempt to compile mapserver with PDF, it chokes and looks
like this:</FONT></DIV>
<DIV><FONT size=1></FONT> </DIV>
<DIV>mappdf.c: In function `msDrawMarkerSymbolPDF':<BR>mappdf.c:325: warning:
implicit declaration of function `gdFree'<BR>ar rc libmap.a mapbits.o maphash.o
mapshape.o mapxbase.o mapparser.o maplexer.o maptree.<BR>o mapsearch.o
mapstring.o mapsymbol.o mapfile.o maplegend.o maputil.o mapscale.o
mapquer<BR>y.o maplabel.o maperror.o mapprimitive.o mapproject.o mapraster.o
mapsde.o mapogr.o mapp<BR>ostgis.o maplayer.o mapresample.o mapwms.o
mapwmslayer.o maporaclespatial.o mapgml.o map<BR>projhack.o epplib.o
mappdf.o<BR>ranlib libmap.a<BR>gcc -c -O2 -Wall
-DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H
-DUSE_WM<BR>S -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUSE_GD_TTF -DUSE_PD<BR>F
-I/usr/include
shp2img.c -o shp2img.o<BR>gcc -O2 -Wall -DIGNORE_MISSING_DATA
-DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS<BR> -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_TTF
-DUSE_PDF<BR>
-I/usr/include
shp2img.o -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lfreet<BR>ype -lpng -lz
-lpdf -ltiff -ljpeg -lfreetype -lpng -lz -lproj
-ljpeg -lm -o
sh<BR>p2img<BR>gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL
-DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WM<BR>S -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_TTF
-DUSE_PD<BR>F
-I/usr/include
shp2pdf.c -o shp2pdf.o<BR>shp2pdf.c: In function `main':<BR>shp2pdf.c:51:
warning: unused variable `FontHash'<BR>shp2pdf.c:50: warning: unused variable
`MapPixelSize'<BR>shp2pdf.c:49: warning: unused variable
`MapScaleFactor'<BR>shp2pdf.c:37: warning: unused variable `img'<BR>gcc
-O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ
-DUSE_PROJ_API_H -DUSE_WMS<BR> -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_TTF -DUSE_PDF<BR>
-I/usr/include
shp2pdf.o -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lfreet<BR>ype -lpng -lz
-lpdf -ltiff -ljpeg -lfreetype -lpng -lz -lproj
-ljpeg -lm -o
sh<BR>p2pdf<BR>./libmap.a(mappdf.o): In function
`msDrawMarkerSymbolPDF':<BR>mappdf.o(.text+0xc5c): undefined reference to
`gdFree'<BR>collect2: ld returned 1 exit status<BR>make: *** [shp2pdf] Error
1</DIV>
<DIV> </DIV>
<DIV>It compiles fine when I set the --without-pdf flag. Oh yeah, when I run the
configure script, it checks for pdf libs and seems to find them OK. </DIV>
<DIV> </DIV>
<DIV>Any ideas or assistance would be much appreciated.</DIV>
<DIV> </DIV>
<DIV>Thanks </DIV>
<DIV> </DIV>
<DIV>Andrew</DIV></BODY></HTML>