[Zoo-discuss] Compiling Zoo-kernel: fastcgi headers location
Rémi Cresson
remi.cresson at teledetection.fr
Fri Aug 28 01:51:08 PDT 2015
Hi Gerald,
Thank you for your reply. Installing libfcgi-dev from ubuntu packages
solves the issue. This places the stuff in /usr/local or something
similar, and zoo-kernel compiles fine.
(However, if one needs to build zoo-kernel with fcgi in a non standard
location:
-run configure script
-modify makefile (remove every "-lfcgi")
-modify ZOOMakefile.opt, add "-I/path-to-fcgi/include" in MSFLAGS and
"-L/path-to-fcgi/lib" before "-fcgi" in OTBLDFLAGS
-run make
I think it might be nice to add a --fcgi-include-dir and a
--fcgi-library in the Zoo-kernel configure script, in order to ease the
compilation of Zoo-kernel with fcgi in a non-standard location.)
On 27/08/2015 19:18, Fenoy Gerald wrote:
> Hello Rémi,
> sorry for late reply.
>
> On Ubuntu 12.04 you should follow instructions from here [1]. Amongst all instructions, the important one in your case is that you should install the libfcgi-dev package to have the requested header files.
>
> I suppose this solve your issue.
>
> Best regards,
>
>
> [1] http://zoo-project.org/docs/install/debian.html
>
>> Le 24 août 2015 à 12:21, Rémi Cresson <remi.cresson at teledetection.fr> a écrit :
>>
>> Hello,
>>
>> Trying to compile the zoo-kernel, I always have encountered this issue (fatal error: fcgi_stdio.h: No such file or directory) on a Linux Ubuntu 12.04 system.
>> What I usually do is a dirty hack, by creating hardlinks, or copying the missing headers. But is there any proper way to tell the compiler where fastfcgi headers are?
>> I did not find any other workaround, so I'm asking you.
>>
>> Cheers,
>>
>> Rémi
>> _______________________________________________
>> Zoo-discuss mailing list
>> Zoo-discuss at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss
>
>
> Gérald Fenoy
> http://wiki.osgeo.org/wiki/User:Djay
>
More information about the Zoo-discuss
mailing list