[Zoo-discuss] zoo installation

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Tue Jun 17 12:51:46 PDT 2014


I'm following these instructions to install on centos6
http://www.zoo-project.org/docs/kernel/install-centos.html#compile-zoo-kernel-and-zoo-services

When doing this I get an error
cd ../ogr/base-vect-ops/
make


g++ -I../../../../thirds/cgic206/ -I../../../zoo-kernel/ 
-I/usr/local/include/js/ -I/usr/include/libxml2 -I/usr/include/gdal 
`geos-config --cflags` -DLINUX_FREE_ISSUE  -shared -fpic -o 
cgi-env/ogr_service.zo ./service.c ../../../zoo-kernel/service_internal.o 
../../../zoo-kernel/ulinet.o ../../../zoo-kernel/service_internal_js.o 
-lcurl  -L/usr/local/lib -lmozjs185 -lm -L/usr/lib64 -lgdal -lxml2 -lz -lm 
 -lcrypto  `geos-config --libs`
In file included from ./service.c:29:
../../../zoo-kernel/service.h: In function ?void setMapArray(map*, char*, 
int, char*)?:
../../../zoo-kernel/service.h:639: attention : deprecated conversion from 
string constant to ?char*?
../../../zoo-kernel/service.h:644: attention : deprecated conversion from 
string constant to ?char*?
../../../zoo-kernel/service.h: In function ?int addMapsArrayToMaps(maps**, 
maps*, char*)?:
../../../zoo-kernel/service.h:691: attention : deprecated conversion from 
string constant to ?char*?
../../../zoo-kernel/service.h:691: attention : deprecated conversion from 
string constant to ?char*?
../../../zoo-kernel/service.h:691: attention : deprecated conversion from 
string constant to ?char*?
../../../zoo-kernel/service.h:691: attention : deprecated conversion from 
string constant to ?char*?
../../../zoo-kernel/service.h:691: attention : deprecated conversion from 
string constant to ?char*?
../../../zoo-kernel/service.h:691: attention : deprecated conversion from 
string constant to ?char*?
../../../zoo-kernel/service.h:691: attention : deprecated conversion from 
string constant to ?char*?
./service.c: In function ?void* createGeometryFromGML(maps*, char*)?:
./service.c:55: attention : deprecated conversion from string constant to 
?char*?
./service.c: In function ?int Boundary(maps*&, maps*&, maps*&)?:
./service.c:343: attention : deprecated conversion from string constant to 
?char*?
./service.c: In function ?int ConvexHull(maps*&, maps*&, maps*&)?:
./service.c:350: attention : deprecated conversion from string constant to 
?char*?
./service.c: In function ?int Centroid(maps*&, maps*&, maps*&)?:
./service.c:369: attention : deprecated conversion from string constant to 
?char*?
/usr/bin/ld: ../../../zoo-kernel/service_internal_js.o: relocation 
R_X86_64_32 against `.rodata' can not be used when making a shared object; 
recompile with -fPIC
../../../zoo-kernel/service_internal_js.o: could not read symbols: Bad 
value
collect2: ld a retourné 1 code d'état d'exécution
make: *** [cgi-env/ogr_service.zo] Erreur 1


Any ideas on what I should do please?
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20140617/f8eafdaa/attachment.html>


More information about the Zoo-discuss mailing list