You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Steve Brown <st...@sprintmail.com> on 2004/01/29 02:58:10 UTC

RE: New Perl 5.8.0

Spencer at globalservers.com has recompiled mod_per and apache using perl
5.8.  See message below.

We have perl 5.8.0 installed at /usr/bin.

We have perl 5.8.3 installed at /usr/local/bin

I have done a /usr/bin/perl -MCPAN -e shell
cpan> install Bundle::Apache::ASP

and a /usr/local/bin/perl -MCPAN -e shell
cpan> install Bundle::Apache::ASP

When I put these lines into the /etc/httpd/conf/httpd.conf file:
PerlModule  Apache::ASP
<Files ~ (\.asp)>
  SetHandler  perl-script
  PerlHandler Apache::ASP
  PerlSetVar  Global /home/webadmin/ptoc.org/register
  PerlSetVar  StateDir /tmp/asp
  PerlSetVar UseStrict 0
  PerlSetVar Debug 3
</Files>

The Apache web server will not restart and gives no errors in error_log.

When I comment out these lines and put them in the
/home/webadmin/ptoc.org/register/.htaccess file.  I get the following error
when I run my test.asp (Hello World) asp.

[Wed Jan 28 11:24:58 2004] [alert] [client 207.43.195.204]
/home/webadmin/ptoc.org/register/.htaccess: Can't locate Digest/MD5.pm in
@INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl . /etc/httpd/
/etc/httpd/lib/perl) at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line
13.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 13.
Compilation failed in require at (eval 2) line 3.

We don't understand why it's showing perl 5.6 in the error message and of
course it doesn't work.

With the lines commented out here's the error_log entry from a good restart:
[Wed Jan 28 11:23:46 2004] [notice] Apache/1.3.27 (Unix)  (Red-Hat/Linux)
PHP/4.1.2 mod_perl/1.26 configured -- resuming normal operations

Any help would be appreciated.

Steve Brown

> -----Original Message-----
> From: Candland, Spencer [mailto:scandland@aboutws.com]
> Sent: Wednesday, January 28, 2004 11:46 AM
> To: 'Steve Brown'
> Subject: RE: New Perl 5.8.0
> 
> I just completely recompiled mod_perl and apache using perl 5.8.  Please
> try
> again.  If you continue to have problems please make sure there is nothing
> in apache ASP that is specifically referencing perl 5.6.
> 
> 
> -----Original Message-----
> From: Steve Brown [mailto:steve@sprintmail.com]
> Sent: Tuesday, January 27, 2004 7:52 PM
> To: Candland, Spencer
> Subject: RE: New Perl 5.8.0
> 
> 
> I am very sorry to report, but from the following error, it appears that
> mod_perl is still using perl 5.6
> 
> [Tue Jan 27 18:42:42 2004] [alert] [client 24.145.166.227]
> /home/webadmin/ptoc.org/register/.htaccess: Can't locate Digest/MD5.pm in
> @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
> /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
> /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
> /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux
> /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl . /etc/httpd/
> /etc/httpd/lib/perl) at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line
> 13.
> 
> Steve Brown
> 
> > -----Original Message-----
> > From: Candland, Spencer [mailto:scandland@aboutws.com]
> > Sent: Tuesday, January 27, 2004 7:36 PM
> > To: 'Steve Brown'
> > Subject: RE: New Perl 5.8.0
> >
> > I recompiled mod_perl against perl 5.8 for you.  I believe your may need
> > to
> > reinstall apache asp again.
> >
> >
> > -----Original Message-----
> > From: Steve Brown [mailto:steve@sprintmail.com]
> > Sent: Tuesday, January 27, 2004 7:15 AM
> > To: Candland, Spencer
> > Subject: New Perl 5.8.0
> >
> >
> > I have been hit hard by the new MyDoom worm/virus and I may not have
> > received your most recent email.
> >
> > This morning I was checking on things and discovered that I have a new
> > perl
> > 5.8.0 under /usr/bin.
> >
> > I tried to run cpan and it was missing.  I copied the two missing files
> > from
> > /usr/local/lib/perl5/5.8.3
> >
> > I then ran what appears to be a successful Apache ASP using cpan>
> install
> > Bundle::Apache::ASP
> >
> > I put the ASP conf stuff in my ptoc.org/register/.htaccess file and ran
> my
> > test.asp (Hello World) and received the following error in the
> error_log.
> > mod_perl is still compiled to use perl 5.6.
> >
> >
> > [Tue Jan 27 05:33:08 2004] [alert] [client 207.43.195.202]
> > /home/webadmin/ptoc.org/register/.htaccess: Can't locate Digest/MD5.pm
> in
> > @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux
> /usr/lib/perl5/5.6.0
> > /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
> > /usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl) at
> > /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 13.
> > BEGIN failed--compilation aborted at
> > /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 13.
> > Compilation failed in require at (eval 3) line 3.
> >
> > Steve Brown
> >
> > Steve Brown




---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


RE: New Perl 5.8.0

Posted by Helmut Zeilinger <ma...@hzlabs.com>.
Hi Steve,

your Perl configuration is a little bit confusing..
Why did you (they) install perl 5.8.0 and perl 5.8.3 at different locations?

What version does "perl -V" give and what @INC does it indicate?

What i would do is delete all the different Perl installations - manually -
that means, remove all the different Perl interpreters and remove everything
under /usr/lib/perlx and /usr/local/lib/perlx and install
perl again with the prefix /usr or /usr/local.

I think, this would not take as much time as repairing around this strange 
installation.
Of course you have to reinstall all the necessary non-standard modules 
again.

Helmut


--On Wednesday, January 28, 2004 19:58:10 -0600 Steve Brown 
<st...@sprintmail.com> wrote:

>
> Spencer at globalservers.com has recompiled mod_per and apache using perl
> 5.8.  See message below.
>
> We have perl 5.8.0 installed at /usr/bin.
>
> We have perl 5.8.3 installed at /usr/local/bin
>
> I have done a /usr/bin/perl -MCPAN -e shell
> cpan> install Bundle::Apache::ASP
>
> and a /usr/local/bin/perl -MCPAN -e shell
> cpan> install Bundle::Apache::ASP
>
> When I put these lines into the /etc/httpd/conf/httpd.conf file:
> PerlModule  Apache::ASP
> <Files ~ (\.asp)>
>   SetHandler  perl-script
>   PerlHandler Apache::ASP
>   PerlSetVar  Global /home/webadmin/ptoc.org/register
>   PerlSetVar  StateDir /tmp/asp
>   PerlSetVar UseStrict 0
>   PerlSetVar Debug 3
> </Files>
>
> The Apache web server will not restart and gives no errors in error_log.
>
> When I comment out these lines and put them in the
> /home/webadmin/ptoc.org/register/.htaccess file.  I get the following
> error when I run my test.asp (Hello World) asp.
>
> [Wed Jan 28 11:24:58 2004] [alert] [client 207.43.195.204]
> /home/webadmin/ptoc.org/register/.htaccess: Can't locate Digest/MD5.pm in
> @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
> /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
> /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
> /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux
> /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl . /etc/httpd/
> /etc/httpd/lib/perl) at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line
> 13.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 13.
> Compilation failed in require at (eval 2) line 3.
>
> We don't understand why it's showing perl 5.6 in the error message and of
> course it doesn't work.
>
> With the lines commented out here's the error_log entry from a good
> restart: [Wed Jan 28 11:23:46 2004] [notice] Apache/1.3.27 (Unix)
> (Red-Hat/Linux) PHP/4.1.2 mod_perl/1.26 configured -- resuming normal
> operations
>
> Any help would be appreciated.
>
> Steve Brown
>
>> -----Original Message-----
>> From: Candland, Spencer [mailto:scandland@aboutws.com]
>> Sent: Wednesday, January 28, 2004 11:46 AM
>> To: 'Steve Brown'
>> Subject: RE: New Perl 5.8.0
>>
>> I just completely recompiled mod_perl and apache using perl 5.8.  Please
>> try
>> again.  If you continue to have problems please make sure there is
>> nothing in apache ASP that is specifically referencing perl 5.6.
>>
>>
>> -----Original Message-----
>> From: Steve Brown [mailto:steve@sprintmail.com]
>> Sent: Tuesday, January 27, 2004 7:52 PM
>> To: Candland, Spencer
>> Subject: RE: New Perl 5.8.0
>>
>>
>> I am very sorry to report, but from the following error, it appears that
>> mod_perl is still using perl 5.6
>>
>> [Tue Jan 27 18:42:42 2004] [alert] [client 24.145.166.227]
>> /home/webadmin/ptoc.org/register/.htaccess: Can't locate Digest/MD5.pm in
>> @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
>> /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
>> /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
>> /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux
>> /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl . /etc/httpd/
>> /etc/httpd/lib/perl) at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line
>> 13.
>>
>> Steve Brown
>>
>> > -----Original Message-----
>> > From: Candland, Spencer [mailto:scandland@aboutws.com]
>> > Sent: Tuesday, January 27, 2004 7:36 PM
>> > To: 'Steve Brown'
>> > Subject: RE: New Perl 5.8.0
>> >
>> > I recompiled mod_perl against perl 5.8 for you.  I believe your may
>> > need to
>> > reinstall apache asp again.
>> >
>> >
>> > -----Original Message-----
>> > From: Steve Brown [mailto:steve@sprintmail.com]
>> > Sent: Tuesday, January 27, 2004 7:15 AM
>> > To: Candland, Spencer
>> > Subject: New Perl 5.8.0
>> >
>> >
>> > I have been hit hard by the new MyDoom worm/virus and I may not have
>> > received your most recent email.
>> >
>> > This morning I was checking on things and discovered that I have a new
>> > perl
>> > 5.8.0 under /usr/bin.
>> >
>> > I tried to run cpan and it was missing.  I copied the two missing files
>> > from
>> > /usr/local/lib/perl5/5.8.3
>> >
>> > I then ran what appears to be a successful Apache ASP using cpan>
>> install
>> > Bundle::Apache::ASP
>> >
>> > I put the ASP conf stuff in my ptoc.org/register/.htaccess file and ran
>> my
>> > test.asp (Hello World) and received the following error in the
>> error_log.
>> > mod_perl is still compiled to use perl 5.6.
>> >
>> >
>> > [Tue Jan 27 05:33:08 2004] [alert] [client 207.43.195.202]
>> > /home/webadmin/ptoc.org/register/.htaccess: Can't locate Digest/MD5.pm
>> in
>> > @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux
>> /usr/lib/perl5/5.6.0
>> > /usr/lib/perl5/site_perl/5.6.0/i386-linux
>> > /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /etc/httpd/
>> > /etc/httpd/lib/perl) at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm
>> > line 13.
>> > BEGIN failed--compilation aborted at
>> > /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 13.
>> > Compilation failed in require at (eval 3) line 3.
>> >
>> > Steve Brown
>> >
>> > Steve Brown


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org