LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-09-2010, 12:15 PM   #1
tooonami
LQ Newbie
 
Registered: Nov 2009
Posts: 21

Rep: Reputation: 0
Script Dependency Problem


Hi, I have a script that needs the following to work:

use strict
use Config::IniFiles
use LWP
use POSIX
use Crypt::SSLeay

I think Config::IniFiles, LWP and POSIX are a part of Perl, but I have no idea what strict is.

Could someone help me install perl, and the rest through synaptic through the terminal commands.

Last edited by tooonami; 11-09-2010 at 12:21 PM.
 
Old 11-09-2010, 12:17 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
"use strict" is not a dependency as in package inclusion,
it tells perl to be more pedantic about how variables and
a few other objects are treated; so you need to explicitly
specify e.g., "my $variable", "my @array", or "our $variable2".



Cheers,
Tink
 
Old 11-09-2010, 12:24 PM   #3
tooonami
LQ Newbie
 
Registered: Nov 2009
Posts: 21

Original Poster
Rep: Reputation: 0
Ok but for the ones that need to be installed, how do i do it?
 
Old 11-09-2010, 12:29 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Commonly you'd use CPAN. Even though LWP should be part
of your perl distribution.


Code:
cpan -i Crypt::SSLeay

Ok, so you added synaptic to your first post;
try
Code:
apt-cache search perl|grep -i ssleay
or
Code:
apt-cache search perl|grep -i lwp
Cheers,
Tink

Last edited by Tinkster; 11-09-2010 at 12:31 PM.
 
Old 11-09-2010, 12:39 PM   #5
tooonami
LQ Newbie
 
Registered: Nov 2009
Posts: 21

Original Poster
Rep: Reputation: 0
Hi, thanks for you help.

from:

apt-cache search perl|grep -i ssleay

I get:

Quote:
libcrypt-ssleay-perl - Support for https protocol in LWP
libnet-ssleay-perl - Perl module for Secure Sockets Layer (SSL)
from:

apt-cache search perl|grep -i lwp

I get:


Quote:
libcrypt-ssleay-perl - Support for https protocol in LWP
libio-all-lwp-perl - Perl module to use HTTP and FTP URLs with IO::All
liblwp-authen-negotiate-perl - Perl module for GSSAPI based Authentication Plugin for LWP
liblwp-authen-wsse-perl - Library for enabling X-WSSE authentication in LWP
liblwp-online-perl - module to check if there is Internet access
liblwp-protocol-http-socketunix-perl - Perl module to speak http through unix sockets
liblwp-protocol-socks-perl - SOCKS proxy support for LWP
liblwp-useragent-determined-perl - LWP useragent that retries errors
liblwpx-paranoidagent-perl - a "paranoid" subclass of LWP::UserAgent
libtest-mock-lwp-perl - Easy mocking of LWP packages
 
Old 11-09-2010, 12:43 PM   #6
fbobraga
Member
 
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Debian 7 / Crunchbang 11
Posts: 229

Rep: Reputation: 41
this should solve all (without using CPAN):
Code:
# apt-get install libcrypt-ssleay-perl
 
Old 11-09-2010, 12:47 PM   #7
tooonami
LQ Newbie
 
Registered: Nov 2009
Posts: 21

Original Poster
Rep: Reputation: 0
Ahh ok, I get it now.

thanks for your help its most appreciated
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dependency problem raphtor Linux - Newbie 2 12-18-2008 11:19 AM
dependency problem black_man Debian 3 12-04-2005 08:55 PM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 10:03 PM
Dependency update script? Jalalabee Linux - Newbie 1 12-18-2003 07:03 AM
dependency problem - need help please lpriyamb Linux - Software 9 10-09-2003 04:45 AM


All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration