I think it's saying to update apache 2. It's difficult to get mod_perl
and apache 2 to play, that's why the module version is still 1.99. I
ignored this warning from others and wasted a lot of time, I had to go
back to 1.33 on the apache in the end.
On Feb 16, 2005, at 6:34 AM, Forbes, Donny wrote:
Chris,
Not so much of a mysql problem. Basically I need to know how to upgrade
the mod_perl.
Here is what I did:
I am running apache version:
Server version: Apache/2.0.46
The current version shipping with Panther 10.3.7 id 2.0.52
And when trying to do the following /home/dforbes/bin/actl <app> start
I
am getting the following error message.
httpd: module "mod_perl.c" is not compatible with this version of
Apache
(found 20020628, need 20020903). Please contact the vendor for the
correct version.
I have downloaded the latest from http://modules.apache.org and
installed it by doing this.
tar -zxvf mod_perl-2.0-current.tar.gz
cd mod_perl-2.0.0-RC4/
#perl Makefile.PL MP_INST_APACHE2=1 MP_APXS=/path/to/apxs \
MP_APR_CONFIG=/another/path/to/apr-config <other options
I did use the correct paths etc.. Then did make && make install ..
When done I add the following to the httpd.conf file. Then stop and
Started httpd and here is the version I am on now:
Tue Feb 15 13:41:52 2005] [notice] Apache/2.0.52 (Unix)
mod_perl/1.999.21 Perl/v5.8.0 configured -- resuming normal operations
# Dynamic Shared Object (DSO) Support
LoadModule perl_module modules/mod_perl.so
Also here is an output of my make test!
[Tue Feb 15 07:26:25 2005] [error] Need CGI.pm or Apache::Request to
operate at
/var/tmp/mod_perl-2.0.0-RC4/blib/lib/Apache2/Apache/Status.pm
line 50.\nCompilation failed in require at
/var/tmp/mod_perl-2.0.0-RC4/t/conf/post_config_startup.pl line
52.\nCompilation failed in require at (eval 104) line 1.\n
[Tue Feb 15 07:26:25 2005] [error] Can't load Perl file:
/var/tmp/mod_perl-2.0.0-RC4/t/conf/post_config_startup.pl for server
localhost.localdomain:8529, exiting...
Please let me know what I am doing wrong.. I need help ..
Thanks,
~D
-----Original Message-----
From: Chris Devers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 15, 2005 11:09 AM
To: Boysenberry Payne
Cc: OSX Perl Group; mod_perl
Subject: Re: Can't get DBD::mysql installed
On Tue, 15 Feb 2005, Boysenberry Payne wrote:
It seems as though it's installed regardless...
But the errors may still exist; it's good to correct, or at least fully
understand, any `make test` errors you come across.
This page has the correct fix for the DBD::Mysql problem:
<http://www.mail-archive.com/macosx%40perl.org/msg05736.html>
The fix, in full, is as follows:
We recently discovered the DBD::mysql problem as well. The patch is
to
edit /System/Library/Perl/5.8.1/darwin-thread-multi-2level/Config.pm,
replacing:
ld='MACOSX_DEPLOYMENT_TARGET=10.3 cc'
with
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc'
Unfortunately, this change is too late to get into Panther.
The instructions at <http://www.truerwords.net/3556> patch the symptom,
but not the underlying problem; other module instals could have the
same
problem. It's better to address what's really causing this error.
(Not that this is a mod_perl issue either, but oh well.)
--
Chris Devers
**********************************************************************
This message contains confidential information intended only for the
use of the addressee(s) named above and may contain information that
is legally privileged. If you are not the addressee, or the person
responsible for delivering it to the addressee, you are hereby
notified that reading, disseminating, distributing or copying this
message is strictly prohibited. If you have received this message by
mistake, please immediately notify us by replying to the message and
delete the original message immediately thereafter.
Thank you. FADLD Tag
**********************************************************************