[ZOO-Discuss] compilation error

Gérald Fenoy gerald.fenoy at geolabs.fr
Tue Mar 22 02:06:54 PDT 2011


Hi Pierre,
to get the configure script in your ZOO-Kernel directory you should use the 
autoconf command.

After using the autoconf command from the ZOO-Kernel source directory you
should then be able to use the configure command.

Hope it helps,

Le 22 mars 2011 à 01:43, Pierre Roudier a écrit :

> Hi Gerald,
> 
> Actually I was able to compile cgic206 - that gives me libcgic.a, but
> I'm not too sure  what to do with it (I'm not familiar with lib
> linkages) - do you have an example command to execute?
> 
> Also, in the last svn update (r125), bit of a surprise as the
> ./configure does not work in zoo-kernel! - I must have done something
> wrong:
> 
> root at grass:/usr/local/src/zoo/zoo-kernel# ls -a
> .             main.cfg          README              service_internal.h
>      service_internal_perl.c    service_internal_python.h
> zoo_loader.c
> ..            main_conf_read.l  service_conf.l
> service_internal_java.c  service_internal_perl.h    service_loader.c
>        zoo_service_loader.c
> configure.ac  main_conf_read.y  service_conf.y
> service_internal_java.h  service_internal_php.c     .svn
> Doxyfile      Makefile.in       service.h
> service_internal_js.c    service_internal_php.h     ulinet.c
> locale        makefile.vc       service_internal.c
> service_internal_js.h    service_internal_python.c  ulinet.h
> root at grass:/usr/local/src/zoo/zoo-kernel# ./configure
> -bash: ./configure: No such file or directory
> 
> Cheers,
> 
> Pierre
> 
> 2011/3/21 Gérald Fenoy <gerald.fenoy at geolabs.fr>:
>> Hi Pierre,
>> you should compile cgic library from the third/cgic206 directory to be able to
>> compile the ZOO-Kernel and link it to the libcgic.a static lib.
>> 
>> I hope you can confirm that solve your issue.
>> 
>> Best regards,
>> 
>> Le 21 mars 2011 à 05:57, Pierre Roudier a écrit :
>> 
>>> Hi list,
>>> 
>>> I got the following compilation error when compiling the last trunk update:
>>> 
>>> g++ -g -O2        -I/usr/include/libxml2   -I../thirds/cgic206 -I.
>>> -DLINUX_FREE_ISSUE  -c zoo_loader.c  -fno-common -DPIC -o zoo_loader.o
>>> g++   -I/usr/local/include -I/usr/include/libxml2
>>> -I../thirds/cgic206 -I. -DLINUX_FREE_ISSUE  zoo_loader.o
>>> zoo_service_loader.o service_internal.o        ulinet.o lex.cr.o
>>> lex.sr.o service_conf.tab.o main_conf_read.tab.o -o zoo_loader.cgi
>>> -lcurl -L../thirds/cgic206 -lcgic -lcurl -L/usr/local/lib -lgdal
>>> -lxml2       -lfcgi -lcrypto
>>> /usr/bin/ld: cannot find -lcgic
>>> collect2: ld returned 1 exit status
>>> make: *** [zoo_loader.cgi] Error 1
>>> 
>>> I suspect a static library link is missing but I'm not too sure - if
>>> anybody here has a pointer that'd be great,
>>> 
>>> Pierre
>>> 
>>> --
>>> Scientist
>>> Landcare Research, New Zealand
>>> _______________________________________________
>>> Zoo-discuss mailing list
>>> Zoo-discuss at gisws.media.osaka-cu.ac.jp
>>> http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss
>> 
>> Djay
>> ZOO-PSC Chair
>> gerald.fenoy at geolabs.fr
>> 
>> 
> 
> 
> 
> -- 
> Scientist
> Landcare Research, New Zealand

Gérald Fenoy
gerald.fenoy at geolabs.fr


GEOLABS
Siège social :
Futur Building I
1280, avenue des Platanes
34970 Lattes
Tél. fixe : +33 (0) 4 67 43 09 95
Tél. portable : +33 (0) 6 70 08 25 39

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20110322/c714926d/attachment.html>


More information about the Zoo-discuss mailing list