[Zoo-discuss] during compilation - fatal error: cgic.h: No such file or directory

karsten karsten at terragis.net
Fri Jan 16 08:06:34 PST 2015


Hi Gerald

That’s that part seems to be working correct now.

Now I get a installation hiccup with copying a directory - when installing
the QREncode service 
form  the /qrencode-3.4.1 dir I do

sudo cp cgi-env/* /usr/lib/cgi-bin/mm/
Give s me
cp: cannot stat 'cgi-env/*': No such file or directory

When I look on the system this dir is not available in there but there are
multiple such dir in the MapMint dir tree but I am not sure which one needs
to be copied here ?

Thanks
Karsten

-----Original Message-----
From: Fenoy Gerald [mailto:gerald.fenoy at geolabs.fr] 
Sent: Friday, January 16, 2015 3:10
To: karsten at terragis.net
Cc: ZOO-discuss
Subject: Re: during compilation - fatal error: cgic.h: No such file or
directory

Hi Karsten,
I made simple modifications to the configure.ac and Makefile.in for each C
service in such a way that informations about MapServer for instance are
directly accessed from the ZOOMakefile.opts file located in your ZOO-Kernel
directory. This way you should not face any issue anymore about wrong
options when trying to compile the MapMint C Services.

I hope this will solve your issue,
Best regards,


> Le 16 janv. 2015 à 01:22, karsten <karsten at terragis.net> a écrit :
> 
> 
> Hi Gerald,
> 
> Yes I am excited to try it.
> 
> I checked out the updated source code for mm.
> I retried to compile and again when Building MapMint C Services I get 
> an error after I do
> 
> cd $SRC/mapmint/mapmint-services
> for i in *-src ; do
> echo $i
> cd $i
> autoconf
> ./configure --with-zoo-kernel=$SRC/zoo/zoo-project/zoo-kernel
> --with-mapserver=$SRC/mapserver-6.2.0
> make
> cd ..
> done
> 
> I get the following now:
> 
> g++: error: /home/src/mapserver-6.2.0/libmapserver.a: No such file or
> directory
> make: *** [cgi-env/service.zo] Error 1 symbol-tools-src
> configure: WARNING: unrecognized options: --with-mapserver
> 
> There is no file libmapserver.a on the system But I have 
> /home/src/mapserver-6.2.0/libmapserver.la
> /home/src/mapserver-6.2.0/.libs/libmapserver.la
> /home/src/mapserver-6.2.0/.libs/libmapserver.lai
> /usr/lib/libmapserver.la
> 
> How can this be fixed ?
> Cheers
> Karsten
> 
> -----Original Message-----
> From: Fenoy Gerald [mailto:gerald.fenoy at geolabs.fr]
> Sent: Thursday, January 15, 2015 2:22
> To: karsten at terragis.net
> Cc: ZOO-discuss
> Subject: Re: during compilation - fatal error: cgic.h: No such file or 
> directory
> 
> Hi Karsten,
> nice to hear that you try to setup the ZOO-Project and MapMint.
> 
> I suppose that the issue come from the vector-tools services, so I 
> committed the required modifications on github lately [1].
> 
> I hope this will solve your issue and you can confirm it was solved.
> 
> Best regards,
> 
> [1]
> https://github.com/mapmint/mapmint/commit/f2a7df571aff1661ced39c5c597a
> ecdc00
> 3b62a7
> 
>> Le 14 janv. 2015 à 23:45, karsten <karsten at terragis.net> a écrit :
>> 
>> Hi All,
>> 
>> I am trying to install zoo (in conjunction with mapmint) on 
>> ubuntu14.04. I
> get an error during compilation :
>> 
>> I get the error below when trying to compile from the instruction at 
>> https://github.com/mapmint/mapmint/blob/master/INSTALL.md
>> 
>> doing this
>> 
>> cd $SRC/mapmint/mapmint-services
>> for i in *-src ; do
>> echo $i
>> cd $i
>> autoconf
>> ./configure --with-zoo-kernel=$SRC/zoo/zoo-project/zoo-kernel
>> --with-mapserver=$SRC/mapserver-6.2.0
>> make
>> cd ..
>> done
>> 
>> I get this error:
>> In file included from service.c:48:0:
>> /home/src/zoo/zoo-project/zoo-kernel/service_internal.h:44:18: fatal
>> error: cgic.h: No such file or directory  #include "cgic.h"
>> 
>> Note: I can find the file cgic.h in two place on the system 
>> /home/src/zoo/thirds/cgic206/cgic.h
>> /home/src/zoo_test/thirds/cgic206/cgic.h
>> 
>> Any ideas how to fix this ?
>> Karsten
>> Karsten Vennemann
>> Principal
>> 
>> Terra GIS LTD
>> 2119 Boyer Ave E
>> Seattle, WA  98112
>> USA
>> www.terragis.net
>> Phone ++1 206 905 1711
>> Fax      ++1 925 905 1711
>> 
> 
> 
> 
> Gérald Fenoy
> http://wiki.osgeo.org/wiki/User:Djay
> 
> 



Gérald Fenoy
http://wiki.osgeo.org/wiki/User:Djay




More information about the Zoo-discuss mailing list