[Zoo-discuss] during compilation - fatal error: cgic.h: No such file or directory
karsten
karsten at terragis.net
Fri Jan 16 09:33:15 PST 2015
Oh yes I must have missed the cd command to go there , now it worked.
I still cant seem o start the system but while troubleshooting seem to be
down to the "Final tweaks" section to get this wrapped up , there a couple
of things did not work out form the description on my system
To create symbolic links the first two work:
sudo ln -s /home/src/mapmint/mapmint-ui/ /var/www/html/ui
sudo ln -s /home/src/mapmint/public_map/ /var/www/html/pm
The third one does not
sudo ln -s /home/src/mapmint/mapmint-services/ /usr/lib/cgi-bin/mm
Gives me
ln: failed to create symbolic link '/usr/lib/cgi-bin/mm/mapmint-services':
File exists
And sure enough the dir /usr/lib/cgi-bin/mm physically exists as we did some
lines above a copy to cerate it
( Install QREncode service ..... sudo cp cgi-env/*
/usr/lib/cgi-bin/mm/ )
Is that ok to get the system up and running ? What should I do about it -
just ignore ?
The other things I noticed is that in the
"Create required directories" section two commands fail
1. works: sudo chown -R www-data:www-data /var/data
2. fails: sudo chown www-data:www-data /usr/lib/cgi-bin/main.cfg
chown: cannot access '/usr/lib/cgi-bin/main.cfg': No such file or directory
3. also works: sudo chown www-data:www-data /usr/lib/cgi-bin/mapcache.xml
4. fails: sudo chown -R www-data:www-data /var/www/html/pm/styles
chown: cannot access '/var/www/html/pm/styles': No such file or directory
What do I need to do to fix this - items 2 and 3 above ?
(as I can't access my MapMint installation so far)
Also wondering when I looked at $SRC/mapmint/mapmint-services/main.cfg
What settings I need to change. For example do I need to install libreoffice
, as it lists :
[oo]
path=/opt/libreoffice-4.1/program/python
ghostscript=/usr/local/bin/gs
Thanks
Karsten
-----Original Message-----
From: Fenoy Gerald [mailto:gerald.fenoy at geolabs.fr]
Sent: Friday, January 16, 2015 8:38
To: karsten at terragis.net
Cc: ZOO-discuss
Subject: Re: during compilation - fatal error: cgic.h: No such file or
directory
Karsten,
to build the qrencode service, you should run the make command in the
following directory:
$SRC/zoo/zoo-project/zoo-services/qrencode/
Then from here, you should find the cgi-env directory with your service to
deploy.
Hope this helps,
Best regards,
> Le 16 janv. 2015 à 17:06, karsten <karsten at terragis.net> a écrit :
>
> Hi Gerald
>
> Thats 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/f2a7df571aff1661ced39c5c597
>> a
>> 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
>
>
Gérald Fenoy
http://wiki.osgeo.org/wiki/User:Djay
More information about the Zoo-discuss
mailing list