[ZOO-Discuss] compilation error
Pierre Roudier
pierre.roudier at gmail.com
Mon Mar 21 17:43:04 PDT 2011
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
More information about the Zoo-discuss
mailing list