httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: 1.1rc2 was (Re: [Fwd: Re: [proposal/vote] OS X support])
Date Tue, 24 Dec 2002 01:02:58 GMT
David Wheeler wrote:
> On Monday, December 23, 2002, at 04:18  PM, Joe Schaefer wrote:
> 
>>> Can't locate loadable object for module Apache::Request in @INC (@INC
>>> contains: blib/arch
>>
>>             ^^^^^^^^^
>>
>> It should be in there (it's a relative path); you might try editing the
>> bottom of Makefile.PL; see the "unshift @INC" line. Possible changes:
>>
>>   unshift @INC, "./blib/arch";
>> or
>>   unshift @INC, "../blib/arch";
> 
> 
> I agree that it should work, but unfortunately, it doesn't. Neither do 
> these. :-( What does work is if I put in the full path.

FWIW, we use FindBin in mod_perl 2.0 to resolve this problem.

use FindBin;
use lib map "$FindBin::Bin/$_",
         qw(../Apache-Test/lib ../lib ../../lib);



__________________________________________________________________
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


Mime
View raw message