Here are the steps I'm taking:
$ cd /usr/local/src/apache2 $ cd apache-2.0.48 $ ./configure --prefix=/usr/local/apache_2.0.48 \ --enable-modules=all -wth-ssl=/home/openssl-0.9.7c --disable-> $ make $ make install
$ cd ../mod_perl-1.99_11 $ perl Makefile.PL MP_INST_APACHE=2 MP_AP_PREFIX=/usr/local/apache_2.0.48 $ make $ make install
Now I want to rebuild httpd with mod_perl statically linked. I copy the mod_perl-1.99_11/src/modules/perl contents to apache_2.0.48/modules/perl directory (is this correct?).
$ cd /usr/local/src/apache2/apache-2.0.48
$ mkdir modules/perl
$ cd ../mod_perl-1.99_11/src/modules/perl
$ tar cf - .| (cd /usr/local/src/apache2/apache_2.0.48/modules/perl; tar xfBp -)
$ cd /usr/local/src/apache2/apache_2.0.48
$ ./config.nice --enable-perl=static
$ make
$ httpd -l ## Does not show mod_perl.c ??
Thanks,
-Carlos
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html