[Zoo-discuss] ZOO and Mapserver 6.4

Fenoy Gerald gerald.fenoy at geolabs.fr
Thu Jan 16 01:38:46 PST 2014


Luca,
my answer inline bellow.

Le 16 janv. 2014 à 09:19, Luca Delucchi <lucadeluge at gmail.com> a écrit :

>> 
>> I guess that if you don’t have the mapserver-config.h in your mapserver compilation directory ( /home/lucadelu/compilati/mapserver-6-4-1 ) it means that you probably didn’t build it at that place, in’t it ?
>> 
> 
> I used wrong directory ( /home/lucadelu/compilati/mapserver-6-4-1/build )
> 
>> You need to have build  MapServer prior to ZOO-Kernel.
>> 
> 
> Obviously done
> 
>> Hope this help and you can successfully build ZOO-Kernel against Mapserver-6.4.
>> 
> 
> New error
> 
> In file included from service_internal.c:27:0:
> service_internal_ms.h:41:23: fatal error: mapserver.h: No such file or directory
> #include <mapserver.h>
>                       ^
> compilation terminated.
> make: *** [service_internal.o] Error 1

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. 

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

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.

Hope to hear back from you,
Best regards,


Gérald Fenoy
gerald.fenoy at geolabs.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20140116/53010e56/attachment.pgp>


More information about the Zoo-discuss mailing list