Net::FTP can't locate object method "new"
I'm trying to install the libnet module to use Net::FTP and have run
into a
problem. I've checked out the bug report page for libnet and the only
answer the
author gave was that the install must not be complete. I did do 2
installs, the
1st used a "non-standard" location by running perl Makefile.PL
PREFIX=/mypath
the 2nd was standard. Both installs passed "make test", and both fail
the
same way, code and error message below (only the host/login/passwd names
were
changed to protect the guilty...). And ideas on how to troubleshoot
this?
Thanks
Henry Salvia
hjs@xxxxxxxxxxx
#!/usr/local/bin/perl
use Net::FTP ;
use strict ;
my $host = "hhh" ;
my $login = "lll" ;
my $passwd = 'ppp' ;
my $dir = "/" ;
my $ftp = Net::FTP->new($host) or die "Can't: $@" ;
$ftp->login($login, $passwd) or die "Can't login: ", $ftp->message ;
$ftp->cwd($dir) ;
my $ls = $ftp->ls() ;
foreach my $f ( @$ls ) {
print "\t($f)\n" ;
}
$ftp->quit ;
marvin.Cadence.COM(hjs)-/mnt4/hjs/CPAN/libnet-1.19 76 > ./spoo
Can't locate object method "new" via package "Net::FTP::A" at
/usr/local/perl5.0
04/lib/sun4-solaris/5.00401/IO/Socket.pm line 247.
marvin.Cadence.COM(hjs)-/mnt4/hjs/CPAN/libnet-1.19 77 >
.
Relevant Pages
- Re: Character Map Startup Options?
... Where are the bug reports/enhacements for gucharmap? ... You can file straight away a new bug report or you can check if someone else reported a similar issue. ... Make sure you have installed the "build-essential" package that includes the compiler. ... the installation procedure will give you hints so that you can install one at a go. ... (GNOME) - Module loading at boot (was re: setting up an encrypted filesystem..)
... go into a bug report to the install people? ... What config changes you made after install ... Exact error messages you receive on boot ... I am not sure that a serial console could use that.... ... (Debian-User) - Re: HEADS UP! -- Re: Kernel versions, xen, grub.conf, yum upgrades
... I wonder what you expect anaconda to do to an already installed system ... that someone is removing kernels on. ... Read the bug report. ... /etc/sysconfig/kernel after an install. ... (Fedora) - Lennys debian-installer installs Lilo when using lvm
... On an Acer Travelmate 6292 I just bought, I created a big partition occuping the whole disk and created a lvm volume group with 3 lvm logical volumes. ... At the end of the install process, I can only install Lilo as boot loader, Grub doesn't appear as an option. ... It's a long time ago since I used lilo for the last time, and I really don't need to leave grub at this moment, since I'm really confortable with it. ... Also tried removing all dash symbols from the lvm names (there was a bug report that related this too a problem with grub), ... (Debian-User) - Re: software raid and grub on FC3
... Use LILO instead. ... install, Anaconda will install it on both disk drives (if your boot ... This issue with Grub is the primary reason I'm still using LILO. ... already bug report for that. ... (Fedora) |
|