FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old November 11th, 2003, 05:16 AM
jayden_t jayden_t is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Pretoria
Posts: 4 jayden_t User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Installing Net::FTP and others

How do I install the Net::FTP, Net::Telnet and Net::LDAP modules on a Unix box? Does it require any special linking or do I just copy the necessary files to a certain directory? Thx!

Reply With Quote
  #2  
Old November 11th, 2003, 07:16 AM
DasNoc's Avatar
DasNoc DasNoc is offline
Less lines = More Happiness
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Cary, NC
Posts: 238 DasNoc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 28 m 19 sec
Reputation Power: 5
Send a message via ICQ to DasNoc Send a message via AIM to DasNoc
What version of Perl are you using? It might already be included. Just something to look into. I use ppm for all of my package installs.

Reply With Quote
  #3  
Old November 11th, 2003, 10:54 AM
jayden_t jayden_t is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Pretoria
Posts: 4 jayden_t User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally posted by DasNoc
What version of Perl are you using? It might already be included. Just something to look into. I use ppm for all of my package installs.


Not sure about the Perl version. When I add the line "use Net::FTP" in my Perl script I get:

Can't locate Net/FTP.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 test.pl line 3.
BEGIN failed--compilation aborted at test.pl line 3.

What is the procedure to install these libraries/modules?

Reply With Quote
  #4  
Old November 12th, 2003, 04:40 AM
jayden_t jayden_t is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Pretoria
Posts: 4 jayden_t User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally posted by jayden_t
Not sure about the Perl version. When I add the line "use Net::FTP" in my Perl script I get:

Can't locate Net/FTP.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 test.pl line 3.
BEGIN failed--compilation aborted at test.pl line 3.

What is the procedure to install these libraries/modules?


Ok, I found the modules under:

/opt/perl/lib/site_perl/5.6.1/SOAP/Transport/FTP.pm
/opt/perl/lib/site_perl/5.6.1/Net/LDAP.pm

Does some1 know why my script does not pick these up?

Reply With Quote
  #5  
Old November 24th, 2003, 01:33 AM
jayden_t jayden_t is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Pretoria
Posts: 4 jayden_t User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally posted by jayden_t
Ok, I found the modules under:

/opt/perl/lib/site_perl/5.6.1/SOAP/Transport/FTP.pm
/opt/perl/lib/site_perl/5.6.1/Net/LDAP.pm

Does some1 know why my script does not pick these up?


There seems to be a conflict between the Perl versions on my machine. Currently I have version 5.0.0.2, 5.6.1 and 5.8.0 installed. To run the correct compiler version I've had to execute my scripts using "./" instead of "perl".

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Installing Net::FTP and others


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway