Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Error installing Inline::C 0.75

by syphilis (Bishop)
on Jun 26, 2015 at 03:48 UTC ( #1132054=note: print w/replies, xml ) Need Help??


in reply to Re: Error installing Inline::C 0.75
in thread Error installing Inline::C 0.75

Thats weird, it should install File::ShareDir::Install before trying Inline::C

Not that I use CPAN.pm much, but I think it won't even know that File::ShareDir::Install is needed until the I::C Makefile.PL has been run ... and it can't run that file because it detects a syntax error.
All of which makes me wonder whether it's such a good idea to provide a Makefile.PL that wants to load Fie::ShareDir::Install.

I was thinking that File::ShareDir::Install must be present because it apparently loads ok - and that it might therefore be a version that is too old.
In any case, the first thing to do is, as you suggested, install the latest version of File::ShareDir::Install.

Another thing that might need to be done is to install version 7.04 (or later ?) of ExtUtils::MakeMaker as it often (always ?) causes problems with recent versions of I::C if an earler version of EU::MM is being used.

Cheers,
Rob

Replies are listed 'Best First'.
Re^3: Error installing Inline::C 0.75
by Anonymous Monk on Jun 27, 2015 at 04:19 UTC

    Not that I use CPAN.pm much, but I think it won't even know that File::ShareDir::Install is needed until the I::C Makefile.PL has been run ... and it can't run that file because it detects a syntax error.

    I'm confident that is what all that META stuff is about, and old CPAN.pm did not META, with META it isn't required to run Makefile.PL to determine a dependency on File::ShareDir::Install

    All of which makes me wonder whether it's such a good idea to provide a Makefile.PL that wants to load Fie::ShareDir::Install.

    Well, you know the solution, pack the extra dependencies into your distribution, like inc style like Module::Install::Bundle - Bundle distributions along with your distribution

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (1)
As of 2021-08-04 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (41 votes). Check out past polls.

    Notices?