[Zoo-discuss] ZOO and Mapserver 6.4

Luca Delucchi lucadeluge at gmail.com
Thu Jan 16 00:19:55 PST 2014


On 15 January 2014 11:18, Fenoy Gerald <gerald.fenoy at geolabs.fr> wrote:
> 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 ?
>

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


> Best regards,
>
>


-- 
ciao
Luca

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


More information about the Zoo-discuss mailing list