Solved

trying to install perl modules locally

Posted on 2004-04-21
4
191 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

756 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