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?
"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:<br><FONT FACE=monospace><br>perl Makefile.PL<br>make<br>make check<br>make install<br></font><br>I guess it would be the same under Windows if you had a C compiler and make installed. However, most Windows systems do not.<br><br>So, ActiveState put together a perl script to automate searching and installation of new modules.<br><br>Kick off a 'net connection. Then get a DOS prompt and run:<br><FONT FACE=monospace><br>perl ppm.pl<br></font><br>This will kick off an interactive shell. Type "help" or "help <i>command</i>" to get some useful info.<br><br>The most useful commands are:<br><br>install [packages]<br> Installs the named packages.<br><br>search<br> Search for info about packages.<br><br>set<br> Sets or displays current options.<br><br>verify<br> Verifies that your current installation is up to date.<br><br>There's also a module that ships with perl that does a similar job. Start perl as:<br><FONT FACE=monospace><br>perl -MCPAN -eshell<br></font><br>Again, type "help" for some help. Or, from the command line, <FONT FACE=monospace>perldoc ::CPAN</font><br><br>Hope this helps. <p> <br><a href=mailto: > </a><br><a href= > </a><br>--<br>
0 1 - Just my two bits
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.
It sounds like the module you want hasn't been compiled for Windows and uploaded to CPAN. <br><br>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. <p> <br><a href=mailto: > </a><br><a href= > </a><br>--<br>
0 1 - Just my two bits
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.