[Zoo-discuss] ZOO and Mapserver 6.4

Luca Delucchi lucadeluge at gmail.com
Thu Jan 16 02:15:26 PST 2014


On 16 January 2014 10:38, Fenoy Gerald <gerald.fenoy at geolabs.fr> wrote:
> Luca,

Hi Gerald

>
> When I provided the patch, I supposed that the build was made directly in the source tree (which mean that there is no build subdirectory as you have). Nevetheless, you should be able to compile by editing the Makefile generated by configure script in the ZOO-Kernel directory.
>

I did it because when I use cmake usually I compile in different
directory, but I could change my behavior

> You should add to the MS_CFLAGS variable the following value :
>     -I/home/lucadelu/compilati/mapserver-6-4-1 .
>

added

> As you build in different directory than the source code, location for include files differ. Once you have confirmed that adding this value solve your issue, we may think of adding some configure option to specify the source tree and compilation tree as it seems it may be useful.
>

this solve my issue, but compilation continue to fail

g++  -I/usr/include/js/ -I/usr/local/include -I/usr/include/libxml2
-I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7
-fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security  -DNDEBUG
-g -fwrapv -O2 -Wall -Wstrict-prototypes -I/include -I/include
-I/usr/local/include -fpic  -DUSE_MS
-I/home/lucadelu/compilati/mapserver-6-4-1/build
-I/home/lucadelu/compilati/mapserver-6-4-1/ -I../../thirds/cgic206 -I.
-DLINUX_FREE_ISSUE  zoo_loader.o zoo_service_loader.o
service_internal.o service_internal_ms.o service_internal_python.o
service_internal_js.o  ulinet.o lex.cr.o lex.sr.o service_conf.tab.o
main_conf_read.tab.o -o zoo_loader.cgi -lcurl -L../../thirds/cgic206
-lcgic -L/usr/local/lib -lgdal -lxml2
-L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -lpthread -ldl
 -lutil -lm  -lpython2.7 -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions     -L/usr/lib -lmozjs185 -lm -lfcgi -lcrypto
-L/home/lucadelu/compilati/mapserver-6-4-1/build -lmapserver
/usr/bin/ld: warning: libgd.so.2, needed by
/usr/local/lib/libmapserver.so, not found (try using -rpath or
-rpath-link)
/usr/bin/ld: warning: libwebp.so.2, needed by
/usr/local/lib/libmapserver.so, not found (try using -rpath or
-rpath-link)
/usr/local/lib/libmapserver.so: undefined reference to `gdImageString'
/usr/local/lib/libmapserver.so: undefined reference to `gdNewDynamicCtx'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageCreate'
/usr/local/lib/libmapserver.so: undefined reference to `gdImagePng'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageJpegCtx'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageSetThickness'
/usr/local/lib/libmapserver.so: undefined reference to `gdFontCacheSetup'
/usr/local/lib/libmapserver.so: undefined reference to `gdFontGetGiant'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageStringFTEx'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageColorAllocate'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageJpeg'
/usr/local/lib/libmapserver.so: undefined reference to `gdDPExtractData'
/usr/local/lib/libmapserver.so: undefined reference to
`gdImageGetTrueColorPixel'
/usr/local/lib/libmapserver.so: undefined reference to
`gdImageColorAllocateAlpha'
/usr/local/lib/libmapserver.so: undefined reference to `gdImagePngCtx'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageGif'
/usr/local/lib/libmapserver.so: undefined reference to `gdFree'
/usr/local/lib/libmapserver.so: undefined reference to
`gdImageColorResolveAlpha'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageLine'
/usr/local/lib/libmapserver.so: undefined reference to `gdFontGetTiny'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageSetTile'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageCopyRotated'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageCreateTrueColor'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageSaveAlpha'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageSetPixel'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageCreateFromPngCtx'
/usr/local/lib/libmapserver.so: undefined reference to `gdImagePolygon'
/usr/local/lib/libmapserver.so: undefined reference to `gdFontGetMediumBold'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageCopy'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageFilledRectangle'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageAlphaBlending'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageGetPixel'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageInterlace'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageCopyMerge'
/usr/local/lib/libmapserver.so: undefined reference to `gdFontGetLarge'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageArc'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageStringFT'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageFilledEllipse'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageDestroy'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageColorTransparent'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageFilledPolygon'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageColorResolve'
/usr/local/lib/libmapserver.so: undefined reference to `gdFontGetSmall'
/usr/local/lib/libmapserver.so: undefined reference to `gdImagePaletteCopy'
/usr/local/lib/libmapserver.so: undefined reference to `gdFontCacheShutdown'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageGifCtx'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageSetBrush'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageSetStyle'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageCreateFromGifCtx'
/usr/local/lib/libmapserver.so: undefined reference to `gdImageCopyResampled'
collect2: error: ld returned 1 exit status
make: *** [zoo_loader.cgi] Error 1


> Hope to hear back from you,
> Best regards,
>


-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org


More information about the Zoo-discuss mailing list