You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by - <05...@doar.net> on 2000/09/20 13:28:01 UTC

Why it is so complicated ?

I am trying to install apache support for ASP (using win95).
I have spent many days in downloading+reading+trying etc...
without results.
It seems as if it is the purpose of some persons to make it complicated.

Is it a hard task to make one file (exe) to make it automatic  installing ?

Assil




Re: (@INC contains: .) Error

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Wed, 1 Nov 2000, Asaf Klibansky wrote:

> I installed win32 apache+perl+ssl but upon trying to start the apache web
> server i get the following error:
> 
> Can't locate Cwd.pm in @INC (@INC contains: .) at (eval 1) line 1.
> 
> i tried the followin to get @INC variables:
> C:\>perl
> for (@INC) {
>         print "$_\n";
> }
> 
> and got:
> 
> C:/Perl/5.6.0/lib/MSWin32-x86
> C:/Perl/5.6.0/lib
> C:/Perl/site/5.6.0/lib/MSWin32-x86
> C:/Perl/site/5.6.0/lib
> 
> notice the / is the wrong / for windows.
> how can i change that to \ ? is that really my problem?

Hi,
    You don't need to change / to \ - Perl on Win32 can understand
it .... Try setting the PERL5LIB environment variable to include
these directories.

best regards,
randy kobes


(@INC contains: .) Error

Posted by Asaf Klibansky <as...@realcommerce.co.il>.
I installed win32 apache+perl+ssl but upon trying to start the apache web
server
i get the following error:

Can't locate Cwd.pm in @INC (@INC contains: .) at (eval 1) line 1.

i tried the followin to get @INC variables:

C:\>perl
for (@INC) {
        print "$_\n";
}
^D

and got:

C:/Perl/5.6.0/lib/MSWin32-x86
C:/Perl/5.6.0/lib
C:/Perl/site/5.6.0/lib/MSWin32-x86
C:/Perl/site/5.6.0/lib

notice the / is the wrong / for windows.

how can i change that to \ ?

is that really my problem?

thanks guys.

asaf


Re: Why it is so complicated ?

Posted by Joshua Chamas <jo...@chamas.com>.
- wrote:
> 
> I am trying to install apache support for ASP (using win95).
> I have spent many days in downloading+reading+trying etc...
> without results.
> It seems as if it is the purpose of some persons to make it complicated.
> 
> Is it a hard task to make one file (exe) to make it automatic  installing ?
> 

I know it can be complicated, but once you put it all
together you have a remarkable web publishing environment.
Once you have modperl + Apache installed, which I know
is no small feat, you can use the CPAN ( perldoc CPAN )
installer to install Apache::ASP like:

  cpan> install Bundle::Apache::ASP

Understand though that you will only get ASP perl scripting
at the end of all this, no VBScript/COM/JScript, etc.

-- Joshua
_________________________________________________________________
Joshua Chamas			        Chamas Enterprises Inc.
NodeWorks >> free web link monitoring	Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Re: Why it is so complicated ?

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Wed, 20 Sep 2000, - wrote:

> I am trying to install apache support for ASP (using win95).
> I have spent many days in downloading+reading+trying etc...
> without results.

It can be frustrating ...

> It seems as if it is the purpose of some persons to make it complicated.

To build packages that work seamlessly on many different platforms 
isn't easy, especially for Win32, but many people here have put a lot 
of effort into this - they make their lives harder so yours can
be easier ... 

> Is it a hard task to make one file (exe) to make it automatic installing ? 

Using the CPAN.pm module to install things is very good advice - 
Apache-ASP should build and install cleanly with it. Alternatively,
if you're using ActivePerl (the 600 series, based on Perl-5.6.0), 
there's a mod_perl package you can try - install it as (on one line)

ppm install
http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl.ppd

and then

ppm install
http://theoryx5.uwinnipeg.ca/ppmpackages/Apache-ASP.ppd

You might need some additional packages for ASP, depending
on your setup - these can also be installed by the ppm utility from
ActiveState's site (see http://www.activestate.com/ppmpackages/ 
for a list of available packages).

best regards,
randy kobes