Click here to get back home

how to install multiple modules with one Makefile.PL

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
how to install multiple modules with one Makefile.PL Ted Zlatanov 07-02-2008
Get Chitika Premium
Posted by Ted Zlatanov on July 10, 2008, 8:37 am
Please log in for more thread options

TZ> Lingua::BG::Numbers is a wrapper for Lingua::Slavic::Numbers, but due to
TZ> the convention for Lingua::LL::Numbers modules (LL is a 2-letter
TZ> language code) I can't name it Lingua::Slavic::BG::Numbers.

The answer was to use Module::Build, which supports this kind of
inclusion for tests.

Thanks
Ted

Posted by Darin McBride on July 10, 2008, 10:55 am
Please log in for more thread options
Ted Zlatanov wrote:

> % cat Makefile.PL
> use ExtUtils::MakeMaker;
> WriteMakefile(
> NAME          => 'Lingua::Slavic::Numbers',
> VERSION_FROM  => 'lib/Lingua/Slavic/Numbers.pm',
> PREREQ_PM     => { 'List::Util' => 1, 'Regexp::Common' => 1,
> 'Lingua::BG::Numbers' => 0 }, ABSTRACT_FROM =>
> 'lib/Lingua/Slavic/Numbers.pm', AUTHOR        => 'Ted Zlatanov

First, since Lingua::BG::Numbers is part of your distribution, you are not
PRErequiring them. So remove that (as you had earlier).

Second, check the perldoc for ExtUtils::MakeMaker. Check PMLIBDIRS and PM.

Finally, Module::Build is, in my experience, far easier to deal with. So
don't use the above to be an argument to leave M::B, but merely
informational in case you prefer going back to EU::MM.

Similar ThreadsPosted
multiple packages (modules) in the same file May 2, 2005, 3:53 pm
Creating Makefiles for multiple nested modules June 8, 2006, 3:33 pm
How to avoid multiple Inclusions of perl modules.. or how to detect mutliple inclusions. September 16, 2008, 1:38 pm
install modules error May 16, 2008, 10:54 pm
Howto run pre-install perl modules December 27, 2004, 2:57 am
Local install of modules - no root; no telnet November 9, 2004, 12:54 am
Modules installed with PPM -- how to install on air-gapped machines December 30, 2004, 7:16 pm
Unable to install 'Msql-Mysql-modules' July 27, 2005, 3:50 am
perl upgrade, req to understand which modules to install October 2, 2006, 2:54 pm
Simplest Makefile.PL July 27, 2007, 4:08 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap