Hi,
I'm having problems building apache + mm + mod_ssl + mod_perl. The
versions of the software I'm using are:
Apache 1.3.12
OpenSSL 0.9.5
mod-ssl 2.6.2-1.3.12
mod_perl 1.22
mm_1.0.11
I follow the directions given in mod_perl-1.22/INSTALL.simple/.mod_ssl,
mod_perl-1.22/INSTALL.apaci and mod_ssl-2.6..../INSTALL. First thing I've
noticed, is that the various instructions all seem to conflict in some way
or another. Anyway, forging ahead, I configure mod_ssl as normal:
- cd ../modssl_...
- ./configure --with-apache=../apache_...
And then cd ../mod_perl-1.22. To configure mod_perl with mm support, I
took a modification of the command string from
mod_perl-1.22/INSTALL.simple.mod_ssl:;
- EAPI_MM=../mm-1.0.11 \
perl Makefile.PL \
USE_APACI=1 \
EVERYTHING=1 \
SSL_BASE=../openssl-0.9.5 \
APACI_ARGS=--enable-module=ssl,--enable-module=rewrite,--enable-shared=ssl
And then, it appears to start building the configuration. It dies while
building the config though, and outputs the following error messages:
<proper output snipped>
+ SSL library version: OpenSSL 0.9.5 28 Feb 2000
+ SSL library type: source tree only (stand-alone)
+ SSL library plugin mode: none
o perl_module uses ConfigStart/End
+ mod_perl build type: OBJ
+ setting up mod_perl build environment
+ adjusting Apache build environment
+ enabling Perl support for SSI (mod_include)
+ enabling Extended API (EAPI)
using MM library: ../../mm-1.0.11 (source-tree only)
+ using -ldl for vendor DSO support
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
============= End of Error Report =============
Aborting!
Checking CGI.pm VERSION..........ok
Checking for LWP::UserAgent......failed
Can't locate LWP/UserAgent.pm in @INC (@INC contains: ./lib
/usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5
/usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at
Makefile.PL line 1042.
The libwww-perl library is needed to run the test suite.
Installation of this library is recommended, but not required.
Checking for HTML::HeadParser....failed
Can't locate HTML/HeadParser.pm in @INC (@INC contains: ./lib
/usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5
/usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at
Makefile.PL line 1060.
The HTML-Parser package is needed (by libwww-perl) to run the test suite.
Writing Makefile for Apache
<rest snipped>
(gcc is available.) Why did the Makefile config fail? And why is perl
complaining?
Another config I did a slightly different way using alternate instructions
produced the following nasty output (similar to that above) from mod_perl
(I also got the Apache Makefile error above when I tried to configure it):
/usr/bin/perl t/TEST 0
Can't locate LWP/UserAgent.pm in @INC (@INC contains: ../blib/lib
../blib/arch /usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5
/usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl ../.) at
t/TEST line 48.
I still can't find LWP::UserAgent, try:
/usr/bin/perl -MCPAN -e install LWP
or
http://www.perl.com/cgi-bin/cpan_mod?module=LWP
Must skip important tests without LWP...
kill `cat t/logs/httpd.pid`
cat: t/logs/httpd.pid: No such file or directory
rm -f t/logs/httpd.pid
rm -f t/logs/error_log
Any ideas? How _should_ I be building these things together?
Cheers!
Jon
-----------------------------------------------------------------
Jon Earle (613) 612-0946 (Cell)
HUB Computer Consulting Inc. (613) 830-1499 (Office)
http://www.hubcc.ca 1-888-353-7272 (Within Canada/US)
"God does not subtract from one's alloted time on Earth,
those hours spent flying." --Unknown
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]