Home > Archive > PERL Modules > May 2004 > Module::Install and makefile.pl
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Module::Install and makefile.pl
|
|
|
| Hi everoby;
I have written a Makefile, with Module::Install.
But when i try to use
it in "target" machines, i get the following problem;
perl Makefile.pl -> works fine
make -> fails with the following output
make: *** No rule to make target `Makefile.PL', needed by `Makefile'.
Stop.
I do not know what i am doing wrong.
Makefile.pl is as follows;
##############BEGIN###############
use inc::Module::Install;
name("Prueba-Monitor-1.00");
version_from("/root/proyecto_itis/entregar/monitor.pm");
abstract("El monitor");
author("Asier <asyer@email.com>");
license("gpl"); # or "perl", etc
requires("Text::Emoticon::MSN" => "0.01");
# one of either:
bundle("Text::Emoticon::MSN" => "0.01");
&WriteAll;
##############end###############
My os, is red hat 9, and make version is
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i386-redhat-linux-gnu
Thanks in advance.
| |
| Darin McBride 2004-05-12, 7:21 pm |
| Asier wrote:
> Hi everoby;
>
> I have written a Makefile, with Module::Install.
> But when i try to use
> it in "target" machines, i get the following problem;
>
> perl Makefile.pl -> works fine
> make -> fails with the following output
>
> make: *** No rule to make target `Makefile.PL', needed by `Makefile'.
> Stop.
Try renaming your Makefile.pl to Makefile.PL. I suppose this
convention is actually a strictly enforced requirement...
| |
|
| El Wed, 12 May 2004 15:01:03 +0000, Darin McBride escribió:
> Asier wrote:
>
>
> Try renaming your Makefile.pl to Makefile.PL. I suppose this
> convention is actually a strictly enforced requirement...
Thank you very much. Now it works perfectly.
|
|
|
|
|