[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: zoo-project 1.7.0



Dear Angelos,
I guess that on your setup, the libfcgi.a is located in /usr/lib/x86_64-gnu-linux or something similar.

Your may run a sed command on the Makefile to set the correct location before running make.

I hope this helps.


Gerald Fenoy
gerald.fenoy@geolabs.fr


> Le 23 juil. 2019 à 17:18, Angelos Tzotsos <gcpp.kalxas@gmail.com> a écrit :
> 
> Configuration step is done this time, but there is a new failure:
> https://launchpad.net/~gcpp-kalxas/+archive/ubuntu/osgeolive/+build/17311119/+files/buildlog_ubuntu-bionic-amd64.zoo-project_1.7.0+ds-1~bionic4_BUILDING.txt.gz
> 
> -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
> -- Could NOT find Qt5LinguistTools (missing: Qt5LinguistTools_DIR)
> -- Configuring done
> -- Generating done
> 
> 
> dh_auto_build --sourcedirectory=thirds/cgic206 \
>               --builddirectory=thirds/cgic206
> 	cd thirds/cgic206 && make -j4 -O
> make[2]: Entering directory '/<<BUILDDIR>>/zoo-project-1.7.0+ds/thirds/cgic206'
> gcc -I/usr/local/include -g -Wall  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o capture.o capture.c
> make[2]: Leaving directory '/<<BUILDDIR>>/zoo-project-1.7.0+ds/thirds/cgic206'
> make[2]: Entering directory '/<<BUILDDIR>>/zoo-project-1.7.0+ds/thirds/cgic206'
> gcc -I/usr/local/include -g -Wall  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o cgictest.o cgictest.c
> cgictest.c: In function ‘cgiMain’:
> cgictest.c:25:2: warning: implicit declaration of function ‘dup2’ [-Wimplicit-function-declaration]
>   dup2(cgiOut,stdout);
>   ^~~~
> make[2]: Leaving directory '/<<BUILDDIR>>/zoo-project-1.7.0+ds/thirds/cgic206'
> make[2]: Entering directory '/<<BUILDDIR>>/zoo-project-1.7.0+ds/thirds/cgic206'
> gcc -I/usr/local/include -g -Wall  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o cgic.o cgic.c
> cgic.c: In function ‘cgiCookieString’:
> cgic.c:1749:11: warning: comparison between pointer and zero character constant [-Wpointer-compare]
>     if ((p == '\0') && (n == '\0')) {
>            ^~
> cgic.c:1749:9: note: did you mean to dereference the pointer?
>     if ((p == '\0') && (n == '\0')) {
>          ^
> cgic.c:1749:26: warning: comparison between pointer and zero character constant [-Wpointer-compare]
>     if ((p == '\0') && (n == '\0')) {
>                           ^~
> cgic.c:1749:24: note: did you mean to dereference the pointer?
>     if ((p == '\0') && (n == '\0')) {
>                         ^
> make[2]: Leaving directory '/<<BUILDDIR>>/zoo-project-1.7.0+ds/thirds/cgic206'
> make[2]: Entering directory '/<<BUILDDIR>>/zoo-project-1.7.0+ds/thirds/cgic206'
> rm -f libcgic.a
> ar rc libcgic.a cgic.o
> ranlib libcgic.a
> make[2]: Leaving directory '/<<BUILDDIR>>/zoo-project-1.7.0+ds/thirds/cgic206'
> make[2]: Entering directory '/<<BUILDDIR>>/zoo-project-1.7.0+ds/thirds/cgic206'
> gcc cgictest.o -o cgictest.cgi -L./ -lcgic /usr/lib/libfcgi.a
> gcc: error: /usr/lib/libfcgi.a: No such file or directory
> Makefile:30: recipe for target 'cgictest.cgi' failed
> 
> 
> 
> 
> 
> 
> 
> On 7/23/19 4:00 PM, Bas Couwenberg wrote:
>> On 2019-07-23 14:57, Angelos Tzotsos wrote: 
>>> Added otb-qgis to the build depends and now this comes up: 
>>> 
>>> -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so 
>>> CMake Error at 
>>> /usr/lib/x86_64-linux-gnu/cmake/OTB-6.6/Modules/OTBQt.cmake:26 
>>> (find_package): 
>>>   Could not find a package configuration file provided by "Qt5Core" with any 
>>>   of the following names: 
>>> 
>>>     Qt5CoreConfig.cmake 
>>>     qt5core-config.cmake 
>> 
>> apt-file is your friend: 
>> 
>>  $ apt-file search Qt5CoreConfig.cmake 
>>  qtbase5-dev: /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfig.cmake 
>>  qtbase5-gles-dev: /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfig.cmake 
>> 
>> Kind Regards, 
>> 
>> Bas 
>> 
>> 
> 
> 
> -- 
> Angelos Tzotsos, PhD
> Charter Member
> Open Source Geospatial Foundation
> 
> http://users.ntua.gr/tzotsos


Reply to: