Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

trying to install perl modules locally

Posted on 2004-04-21
4
Medium Priority
?
197 Views
Last Modified: 2013-12-25

I am trying to install perl modules for local use, but I really don't know what I am doing yet.  I am having a few problems.  


When trying to install MIME::Base64 I run through this process:

perl Makefile.PL LIB=/home/myhome/perl

   "Writing Makefile for MIME::Base64"
make

  ". . . make: Fatal error: Command failed for target `Base64.o' "

So I figured the module package was missing Base64.o.  I downloaded a few other versions and got the same problem.   I do have gcc available, so I do not think it is a problem with XS support.

Also, when I try to install a different module with prerequisites, I use this process.

open Makefile.PL and insert the following line:
use lib '/home/myhome/perl/';

Then I run:
perl Makefile.PL LIB=/home/sj151732/perl

It tells me the prerequisite file failed to load.

I'm sure this shouldn't be a tough problem, but It is giving me the run-around.

Any help?
0
Comment
Question by:sidikiisajawa
  • 2
4 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 2000 total points
ID: 10884883
Try using the CPAN module to install MIME::Base64, eg:

perl -MCPAN -e 'shell'

Then type

install MIME::Base64

from the CPAN prompt.
0
 

Author Comment

by:sidikiisajawa
ID: 10924869
thanks for that advice.  I am currently trying to configure cpan now.  turns out I did not have wget installed and gcc on this system is all messed up.  

i'll get back to you when i finish installing those things and configuring cpan

thanks!
0
 
LVL 9

Expert Comment

by:ronan_40060
ID: 10943636
if ur not behind any firewall then
tintin's answer should help u
on windows u have other ways also if CPAn fails
not sure abt linux
0
 

Author Comment

by:sidikiisajawa
ID: 10943930
I am behind a firewall, so I need to use proxies.  I am using solaris2.9
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question