You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by will <wi...@transgression.co.uk> on 2002/06/10 17:02:12 UTC
installation problems
I am trying to install mod perl as part of Apache-ASP and am stuck at the
following error:
>Apache.exe -k start
Can't locate Cwd.pm in @INC (@INC contains: .) at (eval 1) line 1.
I've searched the web and haven't found any solutions.
I have checked the perl @INC using 'perl -V' and the path to Cwd.pm is
there:
@INC:
C:/Perl/lib
C:/Perl/site/lib
.
but it only seems to actually be looking at the current directory. Not sure
what to do next, or where to change these paths. I'm wondering if I need \s
instead of /s?
thanks for any help?
will
Re: installation problems
Posted by Stas Bekman <st...@stason.org>.
Chris wrote:
>>will wrote:
>>
>>>I am trying to install mod perl as part of Apache-ASP and am stuck at
>>>the following error:
>>>
>>>
>>>
>>>>Apache.exe -k start
>>>
>>are you mixing Apache 2.0 with mod_perl 1.0? -k is an Apache 2.0 option
>
>
> um ... I use:
>
> c:\apache\apache.exe -k start
>
> all the time under Apache 1.3.22 for Win32.
Oops, that must be win specific in 1.3. In 2.0 it's on all platforms.
So much for guessing things that reports should include.
__________________________________________________________________
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
Re: installation problems
Posted by Chris <ch...@prather.org>.
> will wrote:
>> I am trying to install mod perl as part of Apache-ASP and am stuck at
>> the following error:
>>
>>
>>>Apache.exe -k start
>
> are you mixing Apache 2.0 with mod_perl 1.0? -k is an Apache 2.0 option
um ... I use:
c:\apache\apache.exe -k start
all the time under Apache 1.3.22 for Win32.
> whenever reporting problems you have to tell us what you are doing and
> what versions you are using see:
>
http://perl.apache.org/release/docs/1.0/guide/help.html#How_to_Report_Proble
ms
>
http://perl.apache.org/release/docs/2.0/user/help/help.html#Reporting_Proble
ms
>
>> Can't locate Cwd.pm in @INC (@INC contains: .) at (eval 1) line 1.
>>
>> I've searched the web and haven't found any solutions.
>> I have checked the perl @INC using 'perl -V' and the path to Cwd.pm is
>> there:
@INC under perl -V and mod_perl aren't always synonomous. I'm not sure what
the larger issue you have here is (I've never used/installed Apache::ASP)
but your error message says that @INC contains only '.' and obviously that
doesn't have the path to the c:/perl/lib or c:/perl/site/lib directories.
Perhaps you tried setting @INC at some point in the httpd.conf?
Follow Stas' suggestion of providing more info ... did you build this
mod_perl yourself or are you using Randy Kobe's PPM?
-Chris
--
"[A] Genuinely skillful use of obscenities is uniformly absent on the
Internet." -Karl Kleinpaste
Re: installation problems
Posted by Stas Bekman <st...@stason.org>.
will wrote:
> I am trying to install mod perl as part of Apache-ASP and am stuck at the
> following error:
>
>
>>Apache.exe -k start
are you mixing Apache 2.0 with mod_perl 1.0? -k is an Apache 2.0 option
whenever reporting problems you have to tell us what you are doing and
what versions you are using see:
http://perl.apache.org/release/docs/1.0/guide/help.html#How_to_Report_Problems
http://perl.apache.org/release/docs/2.0/user/help/help.html#Reporting_Problems
> Can't locate Cwd.pm in @INC (@INC contains: .) at (eval 1) line 1.
>
> I've searched the web and haven't found any solutions.
> I have checked the perl @INC using 'perl -V' and the path to Cwd.pm is
> there:
>
> @INC:
> C:/Perl/lib
> C:/Perl/site/lib
> .
>
> but it only seems to actually be looking at the current directory. Not sure
> what to do next, or where to change these paths. I'm wondering if I need \s
> instead of /s?
>
> thanks for any help?
>
> will
--
__________________________________________________________________
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
Re: installation problems
Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Mon, 10 Jun 2002, will wrote:
> I am trying to install mod perl as part of Apache-ASP and am stuck at the
> following error:
>
> >Apache.exe -k start
> Can't locate Cwd.pm in @INC (@INC contains: .) at (eval 1) line 1.
>
> I've searched the web and haven't found any solutions.
> I have checked the perl @INC using 'perl -V' and the path to Cwd.pm is
> there:
>
> @INC:
> C:/Perl/lib
> C:/Perl/site/lib
> .
[ ... ]
I remember seeing this some time ago, though don't
know if the source of the problem was found ... If you're
not altering @INC in a startup.pl, try setting the
PERL5LIB environment variable to include C:/Perl/lib
and C:/Perl/site/lib before starting Apache.
best regards,
randy kobes