×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

cpan module installation

cpan module installation

cpan module installation

(OP)
Im on a win nt system using active perl. I am having trouble installing cpan modules because i dont have this "mkefile.pl". Does any1 have this or know where i can get this?

RE: cpan module installation

"Makefile.PL" is normally used on Unix systems with a C compiler and make installed to build Perl modules from source.  The normal chain of events is:

perl Makefile.PL
make
make check
make install

I guess it would be the same under Windows if you had a C compiler and make installed.  However, most Windows systems do not.

So, ActiveState put together a perl script to automate searching and installation of new modules.

Kick off a 'net connection.  Then get a DOS prompt and run:

perl ppm.pl

This will kick off an interactive shell.  Type "help" or "help command" to get some useful info.

The most useful commands are:

install [packages]
    Installs the named packages.

search
    Search for info about packages.

set
    Sets or displays current options.

verify
    Verifies that your current installation is up to date.

There's also a module that ships with perl that does a similar job.  Start perl as:

perl -MCPAN -eshell

Again, type "help" for some help.  Or, from the command line, perldoc ::CPAN

Hope this helps.




--
0 1 - Just my two bits

RE: cpan module installation

(OP)
the ppm.pl seems to work. But when i try to install the package, it says that it couldnt locate a ppd file for the package. I downloaded the package right from cpan.

RE: cpan module installation

It sounds like the module you want hasn't been compiled for Windows and uploaded to CPAN.  :(

Maybe some kind soul with ActivePerl and a C compiler for Windows could help you out here?  Sorry, but all the perl I do is Unix only, and I don't have a C compiler on my PC.




--
0 1 - Just my two bits

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close