Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

how to install CPAN module?

by benlaw (Scribe)
on Feb 16, 2002 at 17:00 UTC ( #145870=perlquestion: print w/replies, xml ) Need Help??

benlaw has asked for the wisdom of the Perl Monks concerning the following question:

hi all!i go to install the module in my win32  Audio:Play:MPG123
C:\>ppm install Audio:Play:MPG123 Installing package 'Audio:Play:MPG123'... Error installing package 'Audio:Play:MPG123': Could not locate a PPD f +ile for package Audio:Play:MPG123
i try to d/l the module tar from CPAN , then perl
then , i type both make and nmake are bad command and file name ...?! i get no idea..

Replies are listed 'Best First'.
Re: how to install CPAN module?
by gellyfish (Monsignor) on Feb 16, 2002 at 17:17 UTC

    There is an outside possibility that someone has prepared a PPD for the module that can be found at some other repository - you will need to read the PPM manpage to find out how to use a different repository than that of Activestate. Then you will have to find the PPD :)

    If the module is a pure perl one (i.e it does not require a C compiler to build) then you should be able to build it if you obtain nmake from Microsoft


      oh great ^^" i can install it! thx a lot! (i can't find it from cpan~ may be my problem~)
Re: how to install CPAN module?
by rchiav (Deacon) on Feb 16, 2002 at 17:37 UTC
    ppm and CPAN aren't the same thing. to install the ppm, you'd do a

    ppm install Audio-Play-MPG123

    Also, from looking at the spec for the module (located here) it only runs on Linux and Solaris.

      If you really want to install it on a Windows machine anyways, you might try to install it under Cygwin. It is possible to run your own X Server on Cygwin, so I can't imagine what isn't possible if you really try. :)

      Beware though, that Cygwin comes with it's own environment, it's own perl and all, so you are most probably constricted to within that environment with this. And speaking from experience, having several perl environments on your computer can be confusing at best - although they do not clash unless you make them.

      Under Cygwin, you can do the "perl Makefile.PL, make, make test, make install" like you expect, or simply use "perl -MCPAN -e 'install <Module>'" on the commandline.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://145870]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2021-09-27 20:22 GMT
Find Nodes?
    Voting Booth?

    No recent polls found