Ulrike,

        I'm including here the commands needed to build apache + php + mod_perl
that works allright with imap access and mysql interface. 

        This is the build sequence we use in our RH Linux boxen:

--------- BEGIN APACHE-HEAVY BUILD SEQUENCE--------------
#untar apache 1.3.12, mod_perl 1.24, php 4.0.3 and c-client (from uw)

# build imap client code
# lnp stands for linux with PAM auth
cd imap-2000.RELEASE-CANDIDATE.7/
make lnp

# make some symlinks required by PHP
ln -s /usr/src/downloaded/imap-2000.RELEASE-CANDIDATE.7/ lib
ln -s /usr/src/downloaded/imap-2000.RELEASE-CANDIDATE.7/ include

# prep Apache [PHP needs it]
cd ../apache_1.3.12
./configure

# prep PHP 
# To avoid conflicts with mod_perl's DBI, we need to tell 
# it to use the system's mysql client, usually found at /usr 
# you can find it with `locate mysql.h`
cd ../php-4.0.3
./configure --with-apache=../apache_1.3.12 --enable-track-vars
--with-imap=/usr/src/downloaded/imap-2000.RELEASE-CANDIDATE.7/
--with-mysql=/usr
make ; make install

# prep mod_perl seg�n INSTALL.apaci
cd ../mod_perl-1.24
perl Makefile.PL EVERYTHING=1 PERL_TRACE=1
APACHE_SRC=../apache_1.3.12/src DO_HTTPD=1 PREP_HTTPD PERL_MARK_WHERE=1
USE_APACI=1
make
make install

# with this conf, the resulting apache is STATIC and HUGE
cd ../apache_1.3.12
./configure --prefix=/usr/local/apache.heavy
--activate-module=src/modules/perl/libperl.a --with-layout=Apache
--enable-module=all --activate-module=src/modules/php4/libphp4.a
make 
make install

# to make it shared, use --enable-shared=max ....
# we're using it SHARED and works great. 
# in case of troube, compile static

----------------------------------------------------------

hope this helps


martin

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

Reply via email to