in reply to Re: Install and use module
in thread Install and use module

Note there are two situations where the above will not work:

First one, if it's a Module::Build module, in which case you need 'Build.pl' instead of 'Makefile' and './Build' instead of 'make'.

Second one: If you have yet to install the Developer Tools from Apple, you won't have 'make'. (Or a compiler, or several other very useful things for developing software.)

Replies are listed 'Best First'.
Re^3: Install and use module
by BrowserUk (Patriarch) on Aug 09, 2010 at 18:27 UTC
    First one, if it's a Module::Build module, in which case you need 'Build.pl' instead of 'Makefile' and './Build' instead of 'make'.

    In that case, I generally just wipe the module directory and ditch the .tar. 9 times out of 10, it won't build on my system anyway.

    In several cases, if I hand compile&link any XS code, and then install manually, the modules work fine.

    But Module::Build is so broken, and such a convoluted morass of O'Woe's OO-spaghetti, that life is just too short. It's usually quicker to write my own.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      Never had any trouble with it myself, and it definitely makes my life as a module-builder easier...

      (And the maintainer of ExtUtils::MakeMaker recommends using Module::Build at this point...)

        Never had any trouble with it myself, and it definitely makes my life as a module-builder easier...

        I'm guessing that you don't work in a non-*nix environment.

        When it is easier to build a module manually than it is to use the configuration utility; and so very hard to work out how to modify the configuration to do what you can do manually; the config utility is badly broken.

        (And the maintainer of ExtUtils::MakeMaker recommends using Module::Build at this point...)

        I know. And when M::B was first started, I supported it. EU::MM is a mess. But the lessons weren't learnt, and the former is now more complex and more fragile than the latter.


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.