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 frustrating experience :(

John-

At 03:55 PM 10/11/00 -0700, Carlos Ramirez wrote:
>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 tab.
>
>I think running set from the DOS terminal only sets you current session 
>and does not set the System wide environment.. (i think???)
>
>-Carlos
>
>
>
>"siberian.org" wrote:
>>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 from at startup..
>>
>>Thanks though :(
>>
>>John-
>>
>>At 03:27 PM 10/11/00 -0700, Carlos Ramirez wrote:
>> >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 current
>> >>situation.
>> >>
>> >>Running
>> >>
>> >>ActiveState Perl build 618
>> >>Apache 1.3.12
>> >>
>> >>I ppm'd the mod_perl.ppd from theoryx5.uwinnipeg.ca and it installed
>> >>properly.
>> >>
>> >>I then add the LoadModule line to my httpd.conf
>> >>
>> >>When apache tries to startup it says :
>> >>
>> >>Can't location Cwd.pm in @INC (@INC contains C:/WINNT/system32/lib .) at
>> >>(eval 1) line 1
>> >>
>> >>Ok, so it can not find my libs which live in C:\Perl\lib.
>> >>
>> >>How do I get apache on startup to see the proper lib files?
>> >>
>> >>John-
>> >
>> >--
>> >-----------------------------------------------------------------------
>> >Carlos Ramirez + Boeing + Reusable Space Systems + 714.372.4181
>> >-----------------------------------------------------------------------
>> >-- Don't make me use uppercase
>
>--
>-----------------------------------------------------------------------
>Carlos Ramirez + Boeing + Reusable Space Systems + 714.372.4181
>-----------------------------------------------------------------------
>-- Don't make me use uppercase

Reply via email to