[Zoo-discuss] ZOO and Mapserver 6.4
Fenoy Gerald
gerald.fenoy at geolabs.fr
Wed Jan 15 02:18:01 PST 2014
Hi Luca,
Le 14 janv. 2014 à 10:35, Luca Delucchi <lucadeluge at gmail.com> a écrit :
> On 19 December 2013 11:08, Fenoy Gerald <gerald.fenoy at geolabs.fr> wrote:
>> Hi Luca,
>
> Hi Gerald,
>
>> nice to hear that you are trying to use the MapServer support with the 6.4.0 version. I never tried it before as I’m mainly using 6.2.0 version by now.
>>
>> Nevertheless, I successfully link the ZOO-Kernel against a fresh MapServer 6.4.0 build on MacOS X by using the patch attached to this email.
>>
>> I hope it helps and will work for you.
>>
>
> I patched with
> patch -p0 < mapserver.patch
>
> but I obtain this problem during configure
>
> checking for xmlInitParser in -lxml2... yes
> ./configure: line 5503:
> /home/lucadelu/compilati/mapserver-6-4-1/mapserver-config: No such
> file or directory
> ./configure: line 5504:
> /home/lucadelu/compilati/mapserver-6-4-1/mapserver-config: No such
> file or directory
> ./configure: line 5504:
> /home/lucadelu/compilati/mapserver-6-4-1/mapserver-config: No such
> file or directory
> Using user-specified MapServer src path:
> /home/lucadelu/compilati/mapserver-6-4-1
>
The mapserver-config tool is still called from configure script even if it doesn’t exists. This should not hurt and the settings should be correct despite this error message.
>
> and this during compilation
>
> g++ -I/include -I/include -I/usr/local/include -fpic -DUSE_MS
> -I/home/lucadelu/compilati/mapserver-6-4-1 -I../../thirds/cgic206 -I.
> -DLINUX_FREE_ISSUE -c lex.cr.c
> gcc -DUSE_JS -I/usr/include/js/ -I/usr/include/libxml2 -I/include
> -I/include -I/usr/local/include -fpic -DUSE_MS
> -I/home/lucadelu/compilati/mapserver-6-4-1 -I../../thirds/cgic206 -I.
> -DLINUX_FREE_ISSUE -fPIC -c service_internal.c
> In file included from service_internal_ms.h:41:0,
> from service_internal.c:27:
> /home/lucadelu/compilati/mapserver-6-4-1/mapserver.h:32:30: fatal
> error: mapserver-config.h: No such file or directory
> #include "mapserver-config.h"
> ^
> compilation terminated.
> make: *** [service_internal.o] Error 1
>
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 ?
You need to have build MapServer prior to ZOO-Kernel.
Hope this help and you can successfully build ZOO-Kernel against Mapserver-6.4.
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/20140115/e8bf1bc2/attachment.pgp>
More information about the Zoo-discuss
mailing list