You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by lw...@att.net on 2003/12/20 22:08:09 UTC
Problems with configuring mod_perl / apache 1.3.29 and mod ssl -2.8.16-1.3.29
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
Re: Problems with configuring mod_perl / apache 1.3.29 and mod ssl
-2.8.16-1.3.29
Posted by Ged Haywood <ge...@www2.jubileegroup.co.uk>.
Hi Stas,
On Sun, 21 Dec 2003, Stas Bekman wrote:
> > Is anyone else having problems just now?
>
> It's down. Due to a fire in SF.
Oooooh. Careless.
> If the user has even tried to read the online docs, there is at
> least 3 places in the installation...
:)
73,
Ged.
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
Re: Problems with configuring mod_perl / apache 1.3.29 and mod ssl
-2.8.16-1.3.29
Posted by Stas Bekman <st...@stason.org>.
Ged Haywood wrote:
> HI all,
>
> On Sat, 20 Dec 2003, Stas Bekman wrote:
>
>
>>See: http://perl.apache.org/bugs/
>
>
> PING perl.apache.org (209.237.227.195) from 212.22.195.7 : 56(84) bytes of data.
> --- perl.apache.org ping statistics ---
> 9 packets transmitted, 0 packets received, 100% packet loss
>
> Is anyone else having problems just now?
It's down. Due to a fire in SF.
> (Because of the number of times it crops up, I was going to ask if
> http://perl.apache.org/docs/2.0/user/help/help.html#Wrong_Apache_mod_perl_combination
> should perhaps be in a more obvious place on the site - but as I can't
> get a reponse from the server, I don't know how obvious it is now... :)
It's all over the place. If the user has even tried to read the online docs,
there is at least 3 places in the installation where it says so in big
letters. Of course the user may have not known about the existance of these
online docs. But the included modperl-2.0/README file says:
*** Prerequisites ***
Apache:
This version of mod_perl works with Apache versions 2.0.36 -
2.0.47.
...
of course the user may have never seen the source... oh well
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
Re: Problems with configuring mod_perl / apache 1.3.29 and mod ssl
-2.8.16-1.3.29
Posted by Ged Haywood <ge...@www2.jubileegroup.co.uk>.
HI all,
On Sat, 20 Dec 2003, Stas Bekman wrote:
> See: http://perl.apache.org/bugs/
PING perl.apache.org (209.237.227.195) from 212.22.195.7 : 56(84) bytes of data.
--- perl.apache.org ping statistics ---
9 packets transmitted, 0 packets received, 100% packet loss
Is anyone else having problems just now?
(Because of the number of times it crops up, I was going to ask if
http://perl.apache.org/docs/2.0/user/help/help.html#Wrong_Apache_mod_perl_combination
should perhaps be in a more obvious place on the site - but as I can't
get a reponse from the server, I don't know how obvious it is now... :)
73,
Ged.
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
Re: Problems with configuring mod_perl / apache 1.3.29 and mod ssl
-2.8.16-1.3.29
Posted by Stas Bekman <st...@stason.org>.
lwa@att.net wrote:
> 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.
See: http://perl.apache.org/bugs/
http://perl.apache.org/docs/2.0/user/help/help.html#Wrong_Apache_mod_perl_combination
Apache 2.0 doesn't work with mod_perl 1.0.
Apache 1.0 doesn't work with mod_perl 2.0.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html