Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am on a Solaris 7 server. Want

Status
Not open for further replies.

teser

Technical User
Mar 6, 2001
194
US

I am on a Solaris 7 server. Want to use the following modules:

use LWP::Simple;
use Mail::Mailer;

Did this to find if I had them:
perl -e "use Mail::Mailer" (and did it for LWP::Simple)


Both came back with:[tt]
Can't locate Mail/Mailer.pm in @INC (@INC contains: /usr/local/lib/perl5/5.00502
/sun4-solaris-thread /usr/local/lib/perl5/5.00502 /usr/local/lib/perl5/site_perl
/5.005/sun4-solaris-thread /usr/local/lib/perl5/site_perl/5.005 .) at -e line 1.
BEGIN failed--compilation aborted at -e line [/tt]


I thought these two modules came with the standard Perl download.
If not then I need to say/ask what to my Solaris administrator to get these two modules??
 
One possibility to check....

Be sure that you are really looking at the correct perl installation. For various reasons, some machines will end up with multiple perl installations. For instance on one of the Solaris boxes I work on, our sys admin maintains a perl installation #!/usr/bin/perl and a newer installation at #!/usr/local/bin/perl. There are modules in the newer one that are not in the older one. My environment path variable lists /usr/bin/ before /usr/local/bin, so from a prompt I get the older perl by default. To get the newer one, I have to explicitly type /usr/local/bin/perl (or, obviously, I could fix my path [hammer]....'guess I'll do that now). You'd hope that would not happen, but, alas, it has. 'hope this helps

If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top