Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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: Loading module: LWP::UserAgent Loading module: IO::Zlib Loading module: External dictionaries: 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


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.

Replies are listed 'Best First'.
Re^2: installing dependencies
by morgon (Curate) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1068118]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2018-05-26 12:03 GMT
Find Nodes?
    Voting Booth?