Newbie to mod_perl question...thanks in advance for any assistance.

I am experiencing a problem trying to configure mod_perl-1.99_11 with apache
1.3.29 and mod_ssl-2.8.16-1.3.29.

I can sucessfuly configure & build apache & mod ssl without problem, but whe
trying to configure mod perl I get the following error .....

# /usr/local/bin/perl Makefile.PL USE_APACI=1 EVERYTHING=1 DO_HTTPD=1
SSL_BASE=/usr/local/ssl\
>  APACHE_PREFIX=/usr/local/apache  APACHE_SRC=../apache_1.3.29/src \
>  APACI_ARGS='--enable-module=ssl,--enable-module=unique_id,\
>  --enable-module=rewrite, --enable-module=proxy, --enable-module=info,\
>  --with-perl=/usr/local/bin/perl, --activate-module=src/modules/gzip/mod_gzip.a'

Reading Makefile.PL args from @ARGV
!!! Unable to determine server version, aborting.
!!! Please specify MP_APXS or MP_AP_PREFIX.

########################

I have tried setting various combinations of MP_APXS or MP_AP_PREFIX without
any sucess... one example below...


# /usr/local/bin/perl Makefile.PL \
APACHE_SRC=../apache_1.3.29/src \
MP_AP_PREFIX=/pub/Apache/apache_1.3.29/src \ 
NO_HTTPD=1 \
USE_APACI=1 \
PREP_HTTPD=1 \
EVERYTHING=1 \
SSL_BASE=/usr/local/ssl \
APACHE_PREFIX=/usr/local/apache \
APACI_ARGS='--enable-module=ssl, --enable-module=unique_id,
--enable-module=rewrite, \
--enable-module=proxy, --enable-module=info,--with-perl=/usr/local/bin/perl, \
--activate-module=src/modules/gzip/mod_gzip.a' 

Reading Makefile.PL args from @ARGV
   MP_AP_PREFIX = /pub/Apache/apache_1.3.29/src
!!! Unable to open /pub/Apache/apache_1.3.29/src/include/ap_release.h: No such
file or directory
!!! Unable to determine server version, aborting.
!!! Invalid MP_AP_PREFIX specified?


perl installed version is 5.8.2 on solaris 8

srcs are in /pub/Apache/ like so..

# ls -al
total 27626
drwxr-xr-x   5 root     other        512 Dec 20 02:01 .
drwxr-xr-x  32 root     root        1024 Nov 29 12:48 ..
drwxr-xr-x   8 root     other        512 Dec 20 02:02 apache_1.3.29
-rw-r--r--   1 root     other    10455040 Nov 15 23:41 apache_1.3.29.tar
drwxr-xr-x  13 root     other        512 Dec 20 01:54 mod_perl-1.99_11
-rw-r--r--   1 root     other    3655680 Nov 29 18:04 mod_perl-1.99_11.tar
drwxr-xr-x  10 root     other        512 Dec 20 02:01 mod_ssl-2.8.16-1.3.29


Apache and modssl configure fine..output below...and build fine.

 ./configure  --with-apache=../apache_1.3.29 --with-ssl=/usr/local/ssl/ \
--prefix=/usr/local/apache  --with-perl=/usr/local/bin/perl\
--enable-module=unique_id --enable-module=rewrite \
--enable-module=proxy --enable-module=info \
--activate-module=src/modules/gzip/mod_gzip.a> > > > 

Configuring mod_ssl/2.8.16 for Apache/1.3.29
 + Apache location: ../apache_1.3.29 (Version 1.3.29)
 + OpenSSL location: /usr/local/ssl/
 + Auxiliary patch tool: ./etc/patch/patch (local)
 + Applying packages to Apache source tree:
   o Extended API (EAPI)
   o Distribution Documents
   o SSL Module Source
   o SSL Support
   o SSL Configuration Additions
   o SSL Module Documentation
   o Addons
Done: source extension and patches successfully applied.
 
Configuring for Apache, Version 1.3.29
 + using installation path layout: Apache (config.layout)
 + activated gzip module (modules/gzip/mod_gzip.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Solaris 280 platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + using "tr [a-z] [A-Z]" to uppercase
 + checking for system header files
 + adding selected modules
    o rewrite_module uses ConfigStart/End
      enabling DBM support for mod_rewrite
    o ssl_module uses ConfigStart/End
      + SSL interface: mod_ssl/2.8.16
      + SSL interface build type: OBJ
      + SSL interface compatibility: enabled
      + SSL interface experimental code: disabled
      + SSL interface conservative code: disabled
      + SSL interface vendor extensions: disabled
      + SSL interface plugin: Vendor DBM (libc)
      + SSL library path: /usr/local/ssl
      + SSL library version: OpenSSL 0.9.7c 30 Sep 2003
      + SSL library type: installed package (stand-alone)
 + enabling Extended API (EAPI)
 + using builtin Expat
 + checking sizeof various data types
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/proxy
Creating Makefile in src/modules/ssl
Creating Makefile in src/modules/gzip
 



Thanks in advance....


Lou

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to