I think I followed the directions, and I also added "PerlModule Apache" in
httpd.conf,
but I still get the error "Apache.pm failed to load!." when trying to start
httpsd.
I am on Sol 2.7, gcc 2.8.1 apache-1.3.12 and openssl_0.9.5 and
mod_perl-1.24.
I have performed the steps outlined in this page with the exception noted
below.
Any help is greatly appreciated.
http://perl.apache.org/guide/install.html#Source_Configuration_perl_Makef
Under the section for
mod_perl and apache-ssl (+openssl)
Configure and install openssl:
% cd openssl-x.x.x
% ./config
% make && make test && make install
Patch Apache with SSLeay paths
% cd apache_x.xx
% tar xzvf ../apache_x.x.x+ssl_x.xx.tar.gz
% FixPatch
Do you want me to apply the fixed-up Apache-SSL patch for you?
[n] y
Now edit the src/Configuration file if needed and then configure:
% cd ../mod_perl-x.xx
% perl Makefile.PL USE_APACI=1 EVERYTHING=1 \
DO_HTTPD=1 SSL_BASE=/usr/local/ssl \
APACHE_SRC=../apache_x.x.x/src
Build, test and install:
% make && make test && make install
% cd ../apache_x.x.x
% make certificate
% make install
> make cert and make install steps I skipped. I had a prior version of
apache-ssl I am replacing.
Here is what the perl library has:
# find /opt/local/lib/perl5 -name Apache
/opt/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/Apache
/opt/local/lib/perl5/site_perl/5.005/Apache
# ls /opt/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/Apache
AuthenSmb Sandwich
# ls /opt/local/lib/perl5/site_perl/5.005/Apache
AuthenSmb.pm Sandwich.pm
# find /opt/local/lib/perl5 -name Apache.pm
/opt/local/lib/perl5/5.00503/CGI/Apache.pm
# cp /opt/local/lib/perl5/5.00503/CGI/Apache.pm .
..still didn't work.