Minimal build instructions



# make applicable directories
mkdir -p /home/matt/ad-talk/src
cd /home/matt/ad-talk/src

# download sources
lwp-download http://www.apache.org/dist/httpd/apache_1.3.28.tar.gz
lwp-download http://perl.apache.org/dist/mod_perl-1.0-current.tar.gz
lwp-download http://cpan.perl.org/src/stable.tar.gz

# expand sources
tar -xvzf apache_1.3.28.tar.gz
tar -xvzf mod_perl-1.0-current.tar.gz
tar -xvzf stable.tar.gz

# build perl
cd perl-5.8.0/
./Configure -Dprefix=/home/matt/ad-talk/perl -de
make && make test && make install

# build mod_perl (and apache implicitly)
cd ../mod_perl-1.28
 ../../perl/bin/perl Makefile.PL APACHE_SRC=../apache_1.3.28/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACHE_PREFIX=/home/matt/ad-talk/apache
make && make test && make install

        

Note: no need to build apache, the mod_perl build does it automagically!




back | toc | next

(c) 2003 matt lanier, matt@lanier.org. Licensed under the same terms of perl itself