Hello,

I have problems compiling apache under mac os x. I had no problems without php but with php it doesn't work. Furthermore i need mod_rewrite. I consulted docs at perl.apache.org and the install-guide in practical mod_perl. What i did starting in /usr/local/src:

This is a simple installation scenario of the mod_perl and mod_php in Apache server:
1. Configure Apache.
cd apache_1.3.29
sudo ./configure --prefix=/usr/local/apache --with-layout=Apache
2. Build mod_perl.
cd ../mod_perl-1.29
sudo perl makefile.PL \
APACHE_SRC=../apache_1.3.29/src \
NO_HTTPD=1 \
USE_APACI=1 \
PREP_HTTPD=1 \
EVERYTHING=1
sudo make
3. Build mod_php.
cd ../php-4.3.4
sudo ./configure --with-apache=../apache_1.3.29 \
--with-mysql --enable-track-vars
sudo make
sudo make install
4. Build Apache:
cd ../apache_1.3.29
sudo ./configure \
--prefix=/usr/local/apache \
--with-layout=Apache \
--activate-module=src/modules/perl/libperl.a \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=rewrite \
--enable-shared=rewrite
sudo make


after this make i get:

ld: warning -L: directory name (../modules/php4) does not exist
ld: warning -L: directory name (../../modules/php4) does not exist
ld: Undefined symbols:
_actions_module
_include_module
_log_config_module
make[2]: *** [target_static] Error 1
make[1]: *** [build-std] Error 2
make: *** [build] Error 2

but this php4-dir is there! So what do i do wrong? Everything else yields no errors and as said before works fine without php.
I can only find docs concerning either php or mod_perl. The practical mod_perl book an the mod_perl website are the only sources i found that mention this kind of installation.


Please help me getting this thing up and running!


-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to