Thanks everyone for the quick response.
Yes. We tried this fix before we had contacted you, and now I just
tried it again just to be sure I wasn't cross-eyed:
PerlOptions +GlobalRequest -SetupEnv -ParseHeaders
# Startup module sets @INC and does other initialization
PerlRequire .../foo/startup2.pl
also tried:
PerlOptions +GlobalRequest -SetupEnv -ParseHeaders
PerlModule Apache:DBI
# Startup module sets @INC and does other initialization
PerlRequire .../foo/startup2.pl
In startup2.pl, the
use Apache::DBI;
seems to trigger the failure...
Also, tried reversing the above line just to be hack sure:
PerlOptions -SetupEnv -ParseHeaders +GlobalRequest
but still get same error...
[Wed Sep 24 09:57:06 2008] [error] Global $r object is not available.
Set:\n\tPerlOptions +GlobalRequest\nin httpd.conf at /usr/lib/perl5/
site_perl/5.8.8/Apache/DBI.pm line 144.\nCompilation failed in require
at (eval 2) line 1.\n
Sounds to me like there is no other option but to rollback to a 1.06
release, unless you all think of something?
Thanks again.
(*void) bkr++
_______________________
Bryan-Kirk Reinhardt
Sr. Software Engineer
[EMAIL PROTECTED]
::::::::::::::::::::::::::::::::::::::::::::::::::::::
Blingo, Inc.
1620 Montgomery Street #170
San Francisco CA 94111
United States
work 415-277-7223 x304
mobile 415-816-0675
work fax 415-381-3630
IM bkratblingo (AIM)
_______________________
On Sep 24, 2008, at 9:39 AM, Fred Moyer wrote:
Hi Brian,
Bryan-Kirk Reinhardt wrote:
Howdy:
We're trying to get Apache::DBI 1.07 going, and we ran into this
problem posted by Fred (which is re-published in various places as ):
http://www.gossamer-threads.com/lists/modperl/dev/97744
It wasn't clear how you all worked around this as the final details
were left to expertise.
Can someone please let me know how to work around this or edit in a
fix?
Can you please cc the mod_perl list on all future correspondence? (I
have forwarded your email to the list)
I went ahead and use 1.06 in my production setup. If you want to
use 1.07, you will need to include the GlobalRequest option in your
config setup.
http://perl.apache.org/docs/2.0/user/config/config.html#C_GlobalRequest_
I'm guessing that 1.08 will pop up in November sometime after
ApacheCon, quite a bit of hacking usually gets done there.
Much thanks