> Did you try #include'ing mod_ssl.h to pick up the optional function > declarations rather than copy'n'pasting them? It should work OK with > recent 2.0 releases.
just putting in # include "mod_ssl.h" gives cc -c -I/apache/2.0.52/ssl/perl-5.8.5/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm -I/perl/perl-5.8.5/lib/5.8.5/i686-linux-thread-multi/CORE -DMOD_PERL -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Werror -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER -DMP_DEBUG -DMP_TRACE -DLINUX=2 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -DAP_DEBUG -g -DVERSION=\"2.00_01\" -DXS_VERSION=\"2.00_01\" -fpic "-I/perl/perl-5.8.5/lib/5.8.5/i686-linux-thread-multi/CORE" SSLLookup.c In file included from SSLLookup.xs:5: /apache/2.0.52/ssl/perl-5.8.5/include/mod_ssl.h:91:17: ssl.h: No such file or directory In file included from /apache/2.0.52/ssl/perl-5.8.5/include/mod_ssl.h:92, from SSLLookup.xs:5: which I gather is because mod_perl does not include the -I/usr/include/openssl that apache does when I activate mod_ssl. I can't find the list of includes in apxs or apr-config either, so I'm not sure how we could expect mod_perl to retain this information and pass it along in WriteMakefile. I'm not really the best at this kind of thing, so suggestions welcome. otherwise, I guess the declaration stays. as an aside, do you know why mod_rewrite doesn't list mod_ssl as a predecessor when calling register_hooks? it would seem that mod_rewrite could be loaded after mod_ssl and thus not get access to those optional functions. but I've only used the optional stuff a few times, mainly with mod_include's stuff, so maybe things are different here. --Geoff -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html