Skip Menu |

This queue is for tickets about the libnet CPAN distribution.

Report information
The Basics
Id: 13051
Status: resolved
Priority: 0/
Queue: libnet

People
Owner: Nobody in particular
Requestors: agostinhojr [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.19
Fixed in: (no value)



Subject: Error in method new
Can't locate object method "new" via package "Net::FTP::A" at /usr/opt/PERL5004/lib/perl5/alpha-dec_osf/5.00404/IO/Socket.pm line 253.
Date: Wed, 1 Jun 2005 07:51:23 -0500 (CDT)
Subject: Re: [cpan #13051] Error in method new
From: "Graham Barr" <gbarr [...] pobox.com>
To: bug-libnet [...] rt.cpan.org
RT-Send-Cc:
On Wed, June 1, 2005 8:01 am, Guest via RT said: Show quoted text
> Can't locate object method "new" via package "Net::FTP::A" at > /usr/opt/PERL5004/lib/perl5/alpha-dec_osf/5.00404/IO/Socket.pm line 253.
This happens when the whole of the libnet installation is not installed I suspect that Net::FTP was installed by copying FTP.pm from the tarball, which is the most common cause of this. Install libnet by running perl Makefile.PL make make test make install Graham.
[gbarr@pobox.com - Wed Jun 1 09:12:01 2005]: Show quoted text
> On Wed, June 1, 2005 8:01 am, Guest via RT said:
> > Can't locate object method "new" via package "Net::FTP::A" at > > /usr/opt/PERL5004/lib/perl5/alpha-dec_osf/5.00404/IO/Socket.pm line
253. Show quoted text
> > This happens when the whole of the libnet installation is not
installed Show quoted text
> > I suspect that Net::FTP was installed by copying FTP.pm from the
tarball, Show quoted text
> which is the most common cause of this. > > Install libnet by running > > perl Makefile.PL > make > make test > make install > > Graham. > >
Already I installed the package, but when executing the commands the message is shown. Agostinho.
From: hjs [...] cadence.com
[guest - Wed Jun 1 09:20:29 2005]: Show quoted text
> [gbarr@pobox.com - Wed Jun 1 09:12:01 2005]: >
> > On Wed, June 1, 2005 8:01 am, Guest via RT said:
> > > Can't locate object method "new" via package "Net::FTP::A" at > > > /usr/opt/PERL5004/lib/perl5/alpha-dec_osf/5.00404/IO/Socket.pm
> line > 253.
> > > > This happens when the whole of the libnet installation is not
> installed
> > > > I suspect that Net::FTP was installed by copying FTP.pm from the
> tarball,
> > which is the most common cause of this. > > > > Install libnet by running > > > > perl Makefile.PL > > make > > make test > > make install > > > > Graham. > > > >
> > Already I installed the package, but when executing the commands the > message is shown. > > Agostinho.
FYI I have the same problem. The only unusual thing I did was to run perl Makefile.PL PREFIX=/my/dir/path to attempt a 'non-standard' install. When re-doing a "normal" install I still get the same error. make test reports All tests successful for both the custom and normal installs. Very Interesting. Henry Salvia