Re: @INC startup under Win32

2000-10-12 Thread Alexander Farber (EED)
Carlos Ramirez wrote: Update your PATH evironment variable to include C:\Perl\lib Shouldn't it be PERL5LIB instead, since PATH is responsible for locating executables, not modules? "siberian.org" wrote: Can't location Cwd.pm in @INC (@INC contains C:/WINNT/system32/lib .) at

@INC startup under Win32

2000-10-11 Thread siberian.org
Caveat : I have built modperl on a gazillion unix boxes. This win32 is black magic to me so I have no idea what I am doing, I just need to get mod_perl running under NT desperately. That said, here is my current situation. Running ActiveState Perl build 618 Apache 1.3.12 I ppm'd the

Re: @INC startup under Win32

2000-10-11 Thread Carlos Ramirez
Update your PATH evironment variable to include C:\Perl\lib -Carlos "siberian.org" wrote: Caveat : I have built modperl on a gazillion unix boxes. This win32 is black magic to me so I have no idea what I am doing, I just need to get mod_perl running under NT desperately. That said, here is my

Re: @INC startup under Win32

2000-10-11 Thread siberian.org
I tried that ( and again ) with no luck : set PATH=C:\Perl;C:\Perl\lib;C:\Perl\bin;C:\WINNT;C:\WINNT\system32 but apache gives me the same error. @INC is only consisting of C:\winnt\system32\lib which isn't even in my Path environment variable. I have no idea where Apache is getting its @INC

Re: @INC startup under Win32

2000-10-11 Thread Carlos Ramirez
Are you able run perl from a DOS terminal? i.e. perl -v (without having to run set PATH ...) If not, your Perl PATH is not set. Try setting your system environment via: right-click on My Computer and select Properties, then set the System environment PATH variable by clicking on the Environment

Re: @INC startup under Win32

2000-10-11 Thread siberian.org
Yup, from DOS shell everything works great. Perl runs great. I tried setting my path via the properties ( you were correct, DOS only sets it for the session and not for the system ) but it had no impact on apache. Apache.exe still looks only in the winnt\system32\lib directory. Windows is a