Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2002 08:56 AM
12-23-2002 08:56 AM
Net::FTP
Does anyone have a Makefile.PL for compiling the Net::FTP module? I downloaded FTP.pm from www.cpan.org. But I didn't see a makefile in the archive.
I have the HP ANSI-C compiler on HP-UX 11.11.
TIA,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2002 10:17 AM
12-23-2002 10:17 AM
Re: Net::FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2002 10:18 AM
12-23-2002 10:18 AM
Re: Net::FTP
1. Net::FTP is part of the core as of 5.8.0
2. Net::FTP is part of libnet, and thus cannot be downloaded as a module of it's own
Fetch http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/libnet-1.12.tar.gz
# cd /tmp
# gzip -d
# perl Makefile.PL
# make
# make test
# make install
# cd ..
# rm -rf libnet-1.12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2002 10:22 AM
12-23-2002 10:22 AM
Re: Net::FTP
perl -MCPAN -e shell
> install Bundle::CPAN
> reload cpan
> install Bundle::libnet
> q
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2002 11:33 AM
12-23-2002 11:33 AM
Re: Net::FTP
I get the following when I try to run the makefile:
flo1q07 /home/tdawson/perl_modules/libnet-1.12 # perl Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.1
/opt/perl5/lib/5.00502 /opt/perl5/lib/site_perl/5.005/PA-RISC1.1 /opt/perl5/lib/site_perl/5.005 .)
at Makefile.PL line 12.
BEGIN failed--compilation aborted at Makefile.PL line 12.
flo1q07 /home/tdawson/perl_modules/libnet-1.12 #
My "ExtUtils" directory is located here:
/opt/perl/lib/5.6.1/ExtUtils
This will show what a novice I am with Perl. I can see that I need to add
'/opt/perl/lib/5.6.1' to the @INC variable. But I haven't a clue as to how
or where I should do that.
Jordan,
Are you saying that after I do the "make install" as procura suggests above,
that I should then execute "perl -MCPAN -e shell" as in your example?
Thanks,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2002 11:45 AM
12-23-2002 11:45 AM
Re: Net::FTP
You *want* the 5.6.1 version, so `disable' the old 5.005_02, which is easy in your case
You've got several options to test if that would work
1. Make the bad one inaccessable
# chmod 000 /opt/perl5
2. Remove /opt/perl5/bin from your $PATH (don't forget to check /etc/PATH)
3. Remove that version altogether with swremove
4. Remove *all* perl versions with swremove and re-install perl, so you *know* what you are working with
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2002 01:41 PM
12-23-2002 01:41 PM
Re: Net::FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2002 06:39 AM
12-30-2002 06:39 AM
Re: Net::FTP
The "other" perl is that which is installed with apache. I didn't want to mess around with removing that one. So I went out and got your 5.8.0 ports from:
www.beepz.com/personal/merijn
I had problems with the libraries with the 10.20/pa1.1 version because I'm running 11.11. The 11.00/pa2.0 version failed because my CPUs are 1.1.
So I downloaded Perl 5.8.0 from the HP Porting Centre:
http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.0/
That seems to be working fine. I know I'm missing the Oracle::DBD class, but my dba isn't clamoring for perl yet. Thanks for your help!
Jordan,
Since I've got 5.8.0 installed, I don't have to worry about installing libnet.
Thanks,
Tom