Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: installing dependencies

by taint (Chaplain)
on Dec 22, 2013 at 20:37 UTC ( #1068118=note: print w/ replies, xml ) Need Help??


in reply to installing dependencies

Greetings, morgon.

While I think marto has a good suggestion. I like choices (and offering them). I recently had to install a Module for a project I'm working on. It too had external resources that it thought I should/needed to install. It was Lingua-JA-Romanize-Japanese. The build, install session went as follows

# perl ./Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Lingua::JA::Romanize::Japanese Writing MYMETA.yml and MYMETA.json
and make went in a way I really prefer
# make /usr/local/bin/perl5.12.5 -Ilib -MLingua::JA::Romanize::DictJA -e 'Lin +gua::JA::Romanize::DictJA->update();' Updater: Lingua::JA::Romanize::DictJA (0.23) Path: lib/Lingua/JA/Romanize/Japanese.bdb Loading module: DB_File.pm Loading module: LWP::UserAgent Loading module: IO::Zlib Loading module: Encode.pm External dictionaries: http://openlab.jp/skk/dic/SKK-JISYO.L.gz http://openlab.jp/skk/dic/SKK-JISYO.jinmei.gz http://openlab.jp/skk/dic/SKK-JISYO.propernoun.gz http://openlab.jp/skk/dic/SKK-JISYO.geo.gz http://openlab.jp/skk/dic/SKK-JISYO.station.gz Do you wish to download these files? [y]
Choosing n didn't cause a FAIL. As it (the module) still worked w/o those dictionaries. But I just felt this was similar enough to your situation, that it's source might provide some information you might find useful in your current quest.

λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ƨᴉɥʇ ədoH

--Chris

UPDATE: A point that might have been missed here; is that this method allows the person installing your module satisfy the dependencies using a different method that maybe their "dist" (OS) can satisfy "natively".

Yes. What say about me, is true.


Comment on Re: installing dependencies
Select or Download Code
Re^2: installing dependencies
by morgon (Deacon) on Dec 23, 2013 at 10:00 UTC
    Thanks for the suggestion, but my problem is not to have a self-contained package that can be installed even without network, but only a very simple hack to spare me the pain of having to deal with manually installing dependencies.

    I probably should have clarified that my problem is not providing a convenient installation for other people but rather to make it comfortable for me to install it on several machines, all of which have access to cpan.

    So I'll probably just add some CPAN->install statements ...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1068118]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (16)
As of 2014-12-22 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (119 votes), past polls