I have been trying to no end to get mod_perl-1.24 to compile with
Apache-1.3.14 on SuSE 7.0 and Red Hat 7.0. Here are some procedures I have
tried. Note, each time I have started with freshly upacked tarballs of
mod_perl-1.24 and apache-1.3.14.
1) unpack and configure apache:
./configure --prefix=/usr/local/apache --enable-module=all
make;make install
2) unpack and configure mod_perl:
perl Makefile.PL
Here is the resulting output:
****BEGIN****
bilabong:/usr/local/src/mod_perl-1.24 ===>perl Makefile.PL
Enter `q' to stop search
Please tell me where I can find your apache src
[../apache_x.x/src] /usr/local/src/apache_1.3.14/src
Configure mod_perl with /usr/local/src/apache_1.3.14/src ? [y]
Shall I build httpd in /usr/local/src/apache_1.3.14/src for you? [y] n
************* WARNING *************
Apache Version 1.3.0 required, aborting...
************* WARNING *************
****END****
If I try and have it build httpd for me, here is what I get:
****BEGIN****
bilabong:/usr/local/src/mod_perl-1.24 ===>perl Makefile.PL
Enter `q' to stop search
Please tell me where I can find your apache src
[../apache_x.x/src] /usr/local/src/apache_1.3.14/src
Configure mod_perl with /usr/local/src/apache_1.3.14/src ? [y]
Shall I build httpd in /usr/local/src/apache_1.3.14/src for you? [y]
Appending mod_perl to src/Configuration
Using config file: /usr/local/src/mod_perl-1.24/src/Configuration
Creating Makefile
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
+ checking sizeof various data types
+ doing sanity check on compiler and options
Creating Makefile in support
Creating Makefile in regex
Creating Makefile in os/unix
Creating Makefile in ap
Creating Makefile in main
Creating Makefile in lib/expat-lite
Creating Makefile in modules/standard
EXTRA_CFLAGS: -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I$(SRCDIR)/lib/expat-lite
-DNO_DL_NEEDED
************* WARNING *************
Apache Version 1.3.0 required, aborting...
************* WARNING *************
****END****
I have successfully built Apache-1.3.14 with PHP4 including oracle, mysql,
and xml support, however, mod_perl fails miserably. NOTE: I am simply trying
to get mod_perl installed with a cherry version of Apache, I have long ago
gave up trying to get it built with PHP as well.
Any help is greatly appreciated.
Thanks,
Chuck