Solved

trying to install perl modules locally

Posted on 2004-04-21
4
189 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 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
disabled AD accounts info 3 75
exchange, scripts 3 68
Convert MSI to MSM 1 60
Remove all hidden metadata properties of MS .Docx Files 7 38
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 …
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

772 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