Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Error installing Inline::C 0.75

by Anonymous Monk
on Jun 26, 2015 at 03:00 UTC ( #1132053=note: print w/replies, xml ) Need Help??


in reply to Error installing Inline::C 0.75

What can I do to fix this?

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

You can always  cpan File::ShareDir::Install and then install Inline::C

Other options is upgrade cpan, install the latest cpan, run cpan CPAN , then afterwards cpan Inline::C

Or install App::cpanminus, then use cpanm Inline::C

There is no need Khen1950fx nonsense

Replies are listed 'Best First'.
Re^2: Error installing Inline::C 0.75
by syphilis (Bishop) on Jun 26, 2015 at 03:48 UTC
    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

      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://1132053]
help
Chatterbox?
and the web crawler heard nothing...

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








    Results (35 votes). Check out past polls.

    Notices?