Fred Moyer wrote:
> [EMAIL PROTECTED] ~/dev/src/Apache-SizeLimit $ perl Makefile.PL
> You don't seem to have mod_perl 1.0 installed at Makefile.PL line 110.
Here's a really dumb question -- Do you have mod_perl 1.0 installed AND the 
PERL GLUE in your PERL5LIB path
(specifically mod_perl.pm)?

Even though its a static compile, you still need the .pm files.
Specifically these
##   chdir /home/pgollucci/dev/src/mod_perl-1.29
##   make install

I'll bet without a doubt thats the issue.


After running the attached script, I do this to test the 1.x series. (static)

##  /usr/local/software/freebsd-6.1-stable/3.4.4/perl/5.8.8/bin/perl 
Makefile.PL \
##    -httpd /usr/local/software/freebsd-6.1-stable/3.4.4/httpd/1.3.37/bin/httpd
##  make all test clean

For 2.x I do this (dynamic)
(r436693 was the SVN version last time I did it)

##  export 
PERL5LIB=/usr/local/software/freebsd-6.1-stable/3.4.4/mod_perl/r436693/5.8.8-2.2.3-prefork/lib
##  /usr/local/software/freebsd-6.1-stable/3.4.4/perl/5.8.8/bin/perl 
Makefile.PL \
##    -apxs 
/usr/local/software/freebsd-6.1-stable/3.4.4/httpd/2.2.3/prefork/bin/apxs
##  make all test clean


-- 
------------------------------------------------------------------------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /
 / /|_/ / // /\ \/ /_/ / /__
/_/  /_/\_, /___/\___\_\___/
       <___/
#!/bin/sh

base=/usr/local/software/freebsd-6.1-stable/3.4.4

chdir /home/pgollucci/dev/dist
fetch -mva http://ftp.wayne.edu/apache/httpd/apache_1.3.37.tar.gz
fetch -mva http://www.modssl.org/source/mod_ssl-2.8.28-1.3.37.tar.gz
fetch -mva http://perl.apache.org/dist/mod_perl-1.29.tar.gz
fetch -mva ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.0.tar.gz

chdir /home/pgollucci/dev/src
rm -rf apache_1.3.37         ; tar -xvzf ../dist/apache_1.3.37.tar.gz
rm -rf mod_ssl-2.8.28-1.3.37 ; tar -xvzf ../dist/mod_ssl-2.8.28-1.3.37.tar.gz
rm -rf mod_perl-1.29         ; tar -xvzf ../dist/mod_perl-1.29.tar.gz
rm -rf mm-1.4.0              ; tar -xvzf ../dist/mm-1.4.0.tar.gz

chdir /home/pgollucci/dev/src/mod_ssl-2.8.28-1.3.37
./configure \
    --with-apache=../apache_1.3.37 \
    --with-mm=../mm-1.4.0  \
    --with-ssl=/usr

$base/perl/5.8.8/bin/perl -MCPAN -e "install 'LWP'"
$base/perl/5.8.8/bin/perl -MCPAN -e "install 'BSD::Resource'"

chdir /home/pgollucci/dev/src/mod_perl-1.29
$base/perl/5.8.8/bin/perl Makefile.PL \
    EVERYTHING=1 \
    APACHE_SRC=../apache_1.3.37/src \
    USE_APACI=1 \
    PREP_HTTPD=1 \
    DO_HTTPD=1

chdir /home/pgollucci/dev/src/apache_1.3.37
export SSL_BASE=/usr
./configure \
    --prefix=$base/httpd/1.3.37 \
    --enable-module=ssl \
    --activate-module=src/modules/perl/libperl.a \
    --enable-module=perl \
    --with-perl=$base/perl/5.8.8/bin/perl
make 
make certificate TYPE=dummy
make install

chdir /home/pgollucci/dev/src/mod_perl-1.29
make install

chdir /home/pgollucci/dev/repos/asf/perl/Apache-Test/trunk
$base/perl/5.8.8/bin/perl Makefile.PL -httpd $base/httpd/1.3.37/bin/httpd
make
make install


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to