Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Has Error at during the installation #100

Closed
worthmine opened this issue Feb 16, 2017 · 4 comments
Closed

Has Error at during the installation #100

worthmine opened this issue Feb 16, 2017 · 4 comments

Comments

@worthmine
Copy link

worthmine commented Feb 16, 2017

Furl must have dependency with ExtUtils::Config, ExtUtils::InstallPaths and ExtUtils::Helpers at during the installation.
So, I have failed 3 times for installing like cpanm Furl -v on my Mac.

is there no test?

if there isn’t, I will try to fix it.

@syohex
Copy link
Collaborator

syohex commented Feb 16, 2017

  • Which Perl did you use ?
  • Could you show us error log ?

Both packages are dependencies of Module::Build::Tiny. Furl does not depend on them directly.

@worthmine
Copy link
Author

worthmine commented Feb 16, 2017

  • the version is 5.18.4
  • Sure!

At first, I would like to install LINE::Bot::API

Configuring Furl-3.09
Running Build.PL
Can't locate ExtUtils/Config.pm in @INC (you may need to install the ExtUtils::Config module) (@INC contains: /Users/*/local/lib/perl5/lib/perl5/darwin-2level /Users/*/local/lib/perl5/lib/perl5 /Users/*/local/lib/perl5/lib/perl5/darwin-2level /Users/*/local/lib/perl5/lib/perl5 /Users/*/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/darwin-2level /Users/*/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4 /Users/*/perl5/perlbrew/perls/perl-5.18.4/lib/5.18.4/darwin-2level /Users/*/perl5/perlbrew/perls/perl-5.18.4/lib/5.18.4 .) at /Users/*/local/lib/perl5/lib/perl5/Module/Build/Tiny.pm line 9.
BEGIN failed--compilation aborted at /Users/*/local/lib/perl5/lib/perl5/Module/Build/Tiny.pm line 9.
Compilation failed in require at Build.PL line 9.
BEGIN failed--compilation aborted at Build.PL line 9.
-> N/A
-> FAIL Configure failed for Furl-3.09. See /Users/*/.cpanm/work/1487235020.14998/build.log for details.
-> FAIL Installing the dependencies failed: Module 'Furl' is not installed
-> FAIL Bailing out the installation for LINE-Bot-API-1.02.

After cpanm ExtUtils::Config, I tried to install Furl directly

Running Build.PL
Configuring Furl-3.09 ... Can't locate ExtUtils/Helpers.pm in @INC (you may need to install the ExtUtils::Helpers module) (@INC contains: /Users/*/local/lib/perl5/lib/perl5/darwin-2level /Users/*/local/lib/perl5/lib/perl5 /Users/*/local/lib/perl5/lib/perl5/darwin-2level /Users/*/local/lib/perl5/lib/perl5 /Users/*/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/darwin-2level /Users/*/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4 /Users/*/perl5/perlbrew/perls/perl-5.18.4/lib/5.18.4/darwin-2level /Users/*/perl5/perlbrew/perls/perl-5.18.4/lib/5.18.4 .) at /Users/*/local/lib/perl5/lib/perl5/Module/Build/Tiny.pm line 10.
BEGIN failed--compilation aborted at /Users/*/local/lib/perl5/lib/perl5/Module/Build/Tiny.pm line 10.
Compilation failed in require at Build.PL line 9.
BEGIN failed--compilation aborted at Build.PL line 9.
N/A
! Configure failed for Furl-3.09. See /Users/*/.cpanm/work/1487235151.16264/build.log for details.

After cpanm ExtUtils::Helpers,

Running Build.PL
Configuring Furl-3.09 ... Can't locate ExtUtils/InstallPaths.pm in @INC (you may need to install the ExtUtils::InstallPaths module) (@INC contains: /Users/*/local/lib/perl5/lib/perl5/darwin-2level /Users/*/local/lib/perl5/lib/perl5 /Users/*/local/lib/perl5/lib/perl5/darwin-2level /Users/*/local/lib/perl5/lib/perl5 /Users/*/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/darwin-2level /Users/*/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4 /Users/*/perl5/perlbrew/perls/perl-5.18.4/lib/5.18.4/darwin-2level /Users/*/perl5/perlbrew/perls/perl-5.18.4/lib/5.18.4 .) at /Users/*/local/lib/perl5/lib/perl5/Module/Build/Tiny.pm line 12.
BEGIN failed--compilation aborted at /Users/*/local/lib/perl5/lib/perl5/Module/Build/Tiny.pm line 12.
Compilation failed in require at Build.PL line 9.
BEGIN failed--compilation aborted at Build.PL line 9.
N/A
! Configure failed for Furl-3.09. See /Users/*/.cpanm/work/1487235180.16979/build.log for details.

After cpanm ExtUtils::InstallPaths,

OK
Successfully installed Furl-3.09
Installing /Users/*/local/lib/perl5/lib/perl5/darwin-2level/.meta/Furl-3.09/install.json
Installing /Users/*/local/lib/perl5/lib/perl5/darwin-2level/.meta/Furl-3.09/MYMETA.json
2 distributions installed

Does this problem depend on Module::Build::Tiny?
I think so too now after reading log well...

@miyagawa
Copy link

@worthmine the problem is you had Module::Build::Tiny but none of its dependencies, which makes no sense. I suspect it has something to do with your local::lib setting.

Is it possible you have rebuilt Perl on your machine while sharing the local::lib directory in your home directory? If that is the case it is a problem with your use of local::lib and you have to reset or nuke your directory once you switch perl version.

This has nothing to do with the Furl module.

@worthmine
Copy link
Author

@miyagawa Fine. It’s my fault. I will try it. and close this Issue.
I'm sorry that I misunderstood for this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants