<div dir="ltr">Hi everybody,<div><br></div><div style>I got trouble using zoo_project on Mac OS X. I used the installer and the getCapabilities is working very well.</div><div style>I compiled the gdal translate service and tried to use with the following parameters : </div>
<div style><a href="http://localhost:8888/cgi-bin/zoo_loader.cgi?service=wps&version=1.0.0&request=execute&identifier=gdal_translate&dataInputs=Format=tiff;InputDSN=/********.TIF;OutputDataSourceName=/Users/***/Desktop/test.tif">http://localhost:8888/cgi-bin/zoo_loader.cgi?service=wps&version=1.0.0&request=execute&identifier=gdal_translate&dataInputs=Format=tiff;InputDSN=/********.TIF;OutputDataSourceName=/Users/***/Desktop/test.tif</a><br>
</div><div style><br></div><div style>The error is </div><div style><span class="" style="font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre;color:rgb(136,18,128)"><</span><span class="" style="font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre;color:rgb(136,18,128)">?xml</span><span style="color:rgb(0,0,0);font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre"> </span><span class="" style="font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre;color:rgb(153,69,0)">version</span><span style="color:rgb(0,0,0);font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre">=</span><span class="" style="font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre;color:rgb(26,26,166)">"1.0"</span><span style="color:rgb(0,0,0);font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre"> </span><span class="" style="font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre;color:rgb(153,69,0)">encoding</span><span style="color:rgb(0,0,0);font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre">=</span><span class="" style="font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre;color:rgb(26,26,166)">"utf-8"</span><span class="" style="font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre;color:rgb(153,69,0)">?</span><span class="" style="font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre;color:rgb(136,18,128)">></span></div>
<div class="" style="color:rgb(0,0,0);font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre"><span class="" style="color:rgb(136,18,128)"><</span><span class="" style="color:rgb(136,18,128)">ows:ExceptionReport</span> <span class="" style="color:rgb(153,69,0)">xmlns:ows</span>=<span class="" style="color:rgb(26,26,166)">"<a href="http://www.opengis.net/ows/1.1">http://www.opengis.net/ows/1.1</a>"</span> <span class="" style="color:rgb(153,69,0)">xmlns:xsi</span>=<span class="" style="color:rgb(26,26,166)">"<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"</span> <span class="" style="color:rgb(153,69,0)">xmlns:xlink</span>=<span class="" style="color:rgb(26,26,166)">"<a href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink</a>"</span> <span class="" style="color:rgb(153,69,0)">xsi:schemaLocation</span>=<span class="" style="color:rgb(26,26,166)">"<a href="http://www.opengis.net/ows/1.1">http://www.opengis.net/ows/1.1</a> <a href="http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd">http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd</a>"</span> <span class="" style="color:rgb(153,69,0)">xml:lang</span>=<span class="" style="color:rgb(26,26,166)">"en-US"</span> <span class="" style="color:rgb(153,69,0)">version</span>=<span class="" style="color:rgb(26,26,166)">"1.1.0"</span><span class="" style="color:rgb(136,18,128)">></span></div>
<div class="" style="color:rgb(0,0,0);font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre"> <span class="" style="color:rgb(136,18,128)"><</span><span class="" style="color:rgb(136,18,128)">ows:Exception</span> <span class="" style="color:rgb(153,69,0)">exceptionCode</span>=<span class="" style="color:rgb(26,26,166)">"NoApplicableCode"</span><span class="" style="color:rgb(136,18,128)">></span></div>
<div class="" style="color:rgb(0,0,0);font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre"> <span class="" style="color:rgb(136,18,128)"><</span><span class="" style="color:rgb(136,18,128)">ows:ExceptionText</span><span class="" style="color:rgb(136,18,128)">></span>C Library can't be loaded </div>
<div class="" style="color:rgb(0,0,0);font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre"><span class="" style="color:rgb(136,18,128)"></</span><span class="" style="color:rgb(136,18,128)">ows:ExceptionText</span><span class="" style="color:rgb(136,18,128)">></span></div>
<div class="" style="color:rgb(0,0,0);font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre"> <span class="" style="color:rgb(136,18,128)"></</span><span class="" style="color:rgb(136,18,128)">ows:Exception</span><span class="" style="color:rgb(136,18,128)">></span></div>
<div class="" style="color:rgb(0,0,0);font-family:Menlo,monospace;font-size:11px;line-height:13px;white-space:pre"><span class="" style="color:rgb(136,18,128)"></</span><span class="" style="color:rgb(136,18,128)">ows:ExceptionReport</span><span class="" style="color:rgb(136,18,128)">></span></div>
<div style><br></div><div style>So I tried to recompile the zoo_loader.cgi and doing so, I got the following for the configure command : </div><div style>./configure --with-python --with-gdal-config=/Library/Frameworks/GDAL.framework/Versions/Current/Programs/gdal-config <br>
</div><div style><br></div><div style><div>checking for bison... bison -y</div><div>checking for gcc... gcc</div><div>checking whether the C compiler works... yes</div><div>checking for C compiler default output file name... a.out</div>
<div>checking for suffix of executables... </div><div>checking whether we are cross compiling... no</div><div>checking for suffix of object files... o</div><div>checking whether we are using the GNU C compiler... yes</div>
<div>checking whether gcc accepts -g... yes</div><div>checking for gcc option to accept ISO C89... none needed</div><div>checking for flex... flex</div><div>checking lex output file root... lex.yy</div><div>checking lex library... -ll</div>
<div>checking whether yytext is a pointer... yes</div><div>checking for g++... g++</div><div>checking whether we are using the GNU C++ compiler... yes</div><div>checking whether g++ accepts -g... yes</div><div>checking for a sed that does not truncate output... /usr/bin/sed</div>
<div>checking for cgiMain in -lcgic... no</div><div>checking for curl_easy_init curl_easy_setopt curl_easy_cleanup curl_easy_perform in -lcurl... no</div><div>checking for dlopen dlsym dlerror dlclose in -ldl... no</div><div>
checking for main in -lfl... no</div><div>checking for main in -lpthread... yes</div><div>checking for main in -lfcgi... yes</div><div>checking for main in -lssl... yes</div><div>checking how to run the C preprocessor... gcc -E</div>
<div>checking for grep that handles long lines and -e... /usr/bin/grep</div><div>checking for egrep... /usr/bin/grep -E</div><div>checking for ANSI C header files... yes</div><div>checking for sys/types.h... yes</div><div>
checking for sys/stat.h... yes</div><div>checking for stdlib.h... yes</div><div>checking for string.h... yes</div><div>checking for memory.h... yes</div><div>checking for strings.h... yes</div><div>checking for inttypes.h... yes</div>
<div>checking for stdint.h... yes</div><div>checking for unistd.h... yes</div><div>checking for size_t... yes</div><div>checking for working alloca.h... yes</div><div>checking for alloca... yes</div><div>checking fcntl.h usability... yes</div>
<div>checking fcntl.h presence... yes</div><div>checking for fcntl.h... yes</div><div>checking for inttypes.h... (cached) yes</div><div>checking libintl.h usability... yes</div><div>checking libintl.h presence... yes</div>
<div>checking for libintl.h... yes</div><div>checking malloc.h usability... no</div><div>checking malloc.h presence... no</div><div>checking for malloc.h... no</div><div>checking stddef.h usability... yes</div><div>checking stddef.h presence... yes</div>
<div>checking for stddef.h... yes</div><div>checking for stdlib.h... (cached) yes</div><div>checking for string.h... (cached) yes</div><div>checking for unistd.h... (cached) yes</div><div>checking for stdbool.h that conforms to C99... yes</div>
<div>checking for _Bool... yes</div><div>checking for int16_t... yes</div><div>checking for int32_t... yes</div><div>checking for int8_t... yes</div><div>checking for pid_t... yes</div><div>checking for size_t... (cached) yes</div>
<div>checking for uint16_t... yes</div><div>checking for uint32_t... yes</div><div>checking for uint8_t... yes</div><div>checking vfork.h usability... no</div><div>checking vfork.h presence... no</div><div>checking for vfork.h... no</div>
<div>checking for fork... yes</div><div>checking for vfork... yes</div><div>checking for working fork... yes</div><div>checking for working vfork... (cached) yes</div><div>checking for stdlib.h... (cached) yes</div><div>checking for GNU libc compatible malloc... yes</div>
<div>checking for stdlib.h... (cached) yes</div><div>checking for GNU libc compatible realloc... yes</div><div>checking for dup2... yes</div><div>checking for getcwd... yes</div><div>checking for memset... yes</div><div>checking for setenv... yes</div>
<div>checking for strdup... yes</div><div>checking for strstr... yes</div><div>checking for gdal-config... /usr/local/bin/gdal-config</div><div>checking for xml2-config... /usr/bin/xml2-config</div><div>checking libxml/tree.h usability... yes</div>
<div>checking libxml/tree.h presence... yes</div><div>checking for libxml/tree.h... yes</div><div>checking libxml/parser.h usability... yes</div><div>checking libxml/parser.h presence... yes</div><div>checking for libxml/parser.h... yes</div>
<div>checking libxml/xpath.h usability... yes</div><div>checking libxml/xpath.h presence... yes</div><div>checking for libxml/xpath.h... yes</div><div>checking libxml/xpathInternals.h usability... yes</div><div>checking libxml/xpathInternals.h presence... yes</div>
<div>checking for libxml/xpathInternals.h... yes</div><div>checking for xmlInitParser in -lxml2... yes</div><div>configure: creating ./config.status</div><div>config.status: creating Makefile</div><div>config.status: creating ZOOMakefile.opts</div>
<div><br></div><div style>By the way, using the with-java=macos, I got "configure: error: could not find headers include related to libjava" so I removed the parameter for I do not intend to use java.</div><div style>
<br></div><div style>Anyway, I am worried about the "checking for cgiMain in -lcgic... no</div><div>checking for curl_easy_init curl_easy_setopt curl_easy_cleanup curl_easy_perform in -lcurl... no</div><div>checking for dlopen dlsym dlerror dlclose in -ldl... no". Is that normal, could it be the cause of my problem? How could I fix it? I checked for libcurl and dl files and I found them.</div>
<div><br></div><div style>Hope you could help me.</div><div style><br></div><div style>Regards.</div><div style><br></div><div style><br></div></div><div style><br></div></div>