On Mon, 6 Dec 2004, Stas Bekman wrote: > philippe, I've figured out what the problem is. static build with worker > blows up on: > > make[1]: Entering directory `/home/stas/apache.org/httpd-2.0/server' > /home/stas/apache.org/httpd-2.0/srclib/apr/libtool --silent --mode=compile > gcc [...] -static -c exports.c && touch exports.lo > > In file included from exports.c:35: > /home/stas/apache.org/httpd-2.0/include/modperl_apr_perlio.h:22:22: > iperlsys.h: No such file or directory > In file included from exports.c:35: > /home/stas/apache.org/httpd-2.0/include/modperl_apr_perlio.h:47: warning: > parameter names (without types) in function declaration > /home/stas/apache.org/httpd-2.0/include/modperl_apr_perlio.h:66: error: > syntax error before '*' token > > Looking at httpd-2.0/server/exports.c: we find: > > #include "modperl_apache_compat.h" > #include "modperl_apache_includes.h" > #include "modperl_apr_compat.h" > #include "modperl_apr_includes.h" > #include "modperl_apr_perlio.h" > #include "modperl_bucket.h" > #include "modperl_callback.h" > #include "modperl_cgi.h" > #include "modperl_cmd.h" > > notice that "mod_perl.h" is included much later, which is the reason for > the problem. > > but "modperl_apr_perlio.h" was never meant to be public, it lives in > xs/APR/PerlIO and used by PerlIO.xs
I thought this was public - at least, in the top-level Makefile.PL, APR/PerlIO/modperl_apr_perlio.h gets installed, as it's a member of @xs_h_files. If I remember correctly, this was done at one point as httpd-apreq-2 was contemplating something in this header. -- best regards, randy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
