thaljef / Pinto

Curate your own repository of Perl modules
https://metacpan.org/module/Pinto::Manual
66 stars 49 forks source link

"Installing the dependencies failed" #81

Open TheAthlete opened 11 years ago

TheAthlete commented 11 years ago

Hi! I am install Pinto with errors:

$ curl -L http://getpinto.stratopan.com | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 330 100 330 0 0 481 0 --:--:-- --:--:-- --:--:-- 1625 100 4957 100 4957 0 0 3602 0 0:00:01 0:00:01 --:--:-- 28488 Installing pinto into /home/theathlete/opt/local/pinto Successfully installed Test-Simple-0.98 Successfully installed version-0.9902 Successfully installed Carp-1.26 Successfully installed Module-Metadata-1.000011 Successfully installed JSON-PP-2.27202 Successfully installed CPAN-Meta-YAML-0.008 Successfully installed Parse-CPAN-Meta-1.4404 Successfully installed CPAN-Meta-Requirements-2.122 Successfully installed CPAN-Meta-2.130880 Successfully installed Perl-OSType-1.003 ! Couldn't find module or a distribution ExtUtils::Manifest (0) Successfully installed ExtUtils-CBuilder-0.280205 ! Installing the dependencies failed: Module 'ExtUtils::Manifest' is not installed ! Bailing out the installation for Module-Build-0.4003. Retry with --prompt or --force. ! Installing the dependencies failed: Module 'Module::Build' is not installed ! Bailing out the installation for Module-Build-CleanInstall-0.05. Retry with --prompt or --force. ! Installing the dependencies failed: Module 'Module::Build::CleanInstall' is not installed, Module 'Module::Build' is not installed ! Bailing out the installation for Pinto-0.084. Retry with --prompt or --force. 11 distributions installed

thaljef commented 11 years ago

This looks like a manifestation of this bug:

jberger/Module-Build-CleanInstall#1

I have some ideas on how to fix that. I'll try to get to it next week.

In the meantime, you can probably work around it by installing List::MoreUtils before Pinto.

thaljef commented 11 years ago

Pinto 0.087 is out now, and 0.088 will be released next week. Either of those should fix your problem.

If it all works out, please go ahead and close this issue.

Thanks for using Pinto.

thaljef commented 11 years ago

Did any of the new releases work for you (Pinto 0.090 just shipped today)?

Can I close this issue?

TheAthlete commented 11 years ago

Do not work. I am run this command: $ ./opt/local/pinto/sbin/cpanm --notest --mirror https://repo.stratopan.com/thaljef/OpenSource/pinto-release --mirror-only --local-lib-contained "/home/user/opt/local/pinto" --man-pages Pinto

and find cyclic dependency:

==> Found dependencies: ExtUtils::MakeMaker ... Configuring ExtUtils-MakeMaker-6.64 ... OK ==> Found dependencies: Data::Dumper, File::Spec, Pod::Man --> Working on Data::Dumper ... ==> Found dependencies: ExtUtils::MakeMaker ! Installing the dependencies failed: Module 'ExtUtils::MakeMaker' is not installed ! Bailing out the installation for Data-Dumper-2.145.

polettix commented 11 years ago

On Mon, Sep 2, 2013 at 1:15 PM, TheAthlete notifications@github.com wrote:

Do not work. I am run this command: $ ./opt/local/pinto/sbin/cpanm --notest --mirror https://repo.stratopan.com/thaljef/OpenSource/pinto-release --mirror-only --local-lib-contained "/home/user/opt/local/pinto" --man-pages Pinto

and find cyclic dependency:

==> Found dependencies: ExtUtils::MakeMaker ... Configuring ExtUtils-MakeMaker-6.64 ... OK ==> Found dependencies: Data::Dumper, File::Spec, Pod::Man --> Working on Data::Dumper ... ==> Found dependencies: ExtUtils::MakeMaker ! Installing the dependencies failed: Module 'ExtUtils::MakeMaker' is not installed ! Bailing out the installation for Data-Dumper-2.145.

It seems to me that there is a serious issue with perl installation. The requirements from ExtUtils::MakeMaker are:

According to Pinto's META.yml file for 0.090 the minimum required perl version is 5.8.0, so you should have no cyclic dependency problem.

Probably it would be better to just install a custom perl (e.g. via perlbrew) and restart from there.

Just my 2c,

Flavio.
thaljef commented 11 years ago

Do not work. I am run this command: $ ./opt/local/pinto/sbin/cpanm --notest --mirror https://repo.stratopan.com/thaljef/OpenSource/pinto-release --mirror-only --local-lib-contained "/home/user/opt/local/pinto" --man-pages Pinto

That command looks a little fishy to me (unless your username is "user"). Can you tell me why you ran this instead of using the curl command like before?

-Jeff

thaljef commented 10 years ago

@TheAthlete are you still having trouble installing Pinto? Can I close this issue?

TheAthlete commented 10 years ago

$ curl -L http://getpinto.stratopan.com | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 330 100 330 0 0 486 0 --:--:-- --:--:-- --:--:-- 486 100 6244 100 6244 0 0 4626 0 0:00:01 0:00:01 --:--:-- 1219k Installing pinto into /home/theathlete/opt/local/pinto ! Installing the dependencies failed: Module 'ExtUtils::MakeMaker' is not installed ! Bailing out the installation for Data-Dumper-2.145. ! Installing the dependencies failed: Module 'ExtUtils::MakeMaker' is not installed ! Bailing out the installation for PathTools-3.40. ! Installing the dependencies failed: Module 'Data::Dumper' is not installed, Module 'File::Spec' is not installed ! Bailing out the installation for ExtUtils-MakeMaker-6.64. ! Installing the dependencies failed: Module 'ExtUtils::MakeMaker' is not installed ! Bailing out the installation for Module-Metadata-1.000011. ! Installing the dependencies failed: Module 'ExtUtils::MakeMaker' is not installed ! Bailing out the installation for CPAN-Meta-2.130880. ! Installing the dependencies failed: Module 'ExtUtils::MakeMaker' is not installed ! Bailing out the installation for Perl-OSType-1.003. ! Couldn't find module or a distribution ExtUtils::Manifest ! Installing the dependencies failed: Module 'ExtUtils::MakeMaker' is not installed ! Bailing out the installation for ExtUtils-CBuilder-0.280205. ! Installing the dependencies failed: Module 'ExtUtils::MakeMaker' is not installed ! Bailing out the installation for Parse-CPAN-Meta-1.4404. ! Installing the dependencies failed: Module 'ExtUtils::MakeMaker' is not installed ! Bailing out the installation for version-0.9902. ! Installing the dependencies failed: Module 'ExtUtils::MakeMaker' is not installed ! Bailing out the installation for CPAN-Meta-YAML-0.008. ! Installing the dependencies failed: Module 'Module::Metadata' is not installed, Module 'File::Spec' is not installed, Module 'CPAN::Meta' is not installed, Module 'Perl::OSType' is not installed, Module 'ExtUtils::Manifest' is not installed, Module 'ExtUtils::CBuilder' is not installed, Module 'Parse::CPAN::Meta' is not installed, Module 'Data::Dumper' is not installed, Module 'version' is not installed, Module 'CPAN::Meta::YAML' is not installed, Module 'Cwd' is not installed, Module 'ExtUtils::Mkbootstrap' is not installed ! Bailing out the installation for Module-Build-0.4005. ! Installing the dependencies failed: Module 'Module::Build' is not installed ! Bailing out the installation for Module-Build-CleanInstall-0.05. ! Installing the dependencies failed: Module 'Module::Build::CleanInstall' is not installed, Module 'Module::Build' is not installed ! Bailing out the installation for Pinto-0.094.

$ perl -v This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi

$ uname -a Linux localhost.localdomain 3.9.5-301.fc19.x86_64 #1 SMP Tue Jun 11 19:39:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Fedora 19

thaljef commented 10 years ago

Wow, that's even worse than before. Something seems wrong with your perl if it can't find ExtUtils::MakMaker. Can you show me the ~/.cpanm/build.log after running that command?

TheAthlete commented 10 years ago

http://yadi.sk/d/eBrFcD4UEuUem

polettix commented 10 years ago

@TheAthlete: did you try to avoid system perl and to install your own through e.g. perlbrew (http://perlbrew.pl/), then restart from there?

Ciao,

 Flavio.

On Wed, Dec 25, 2013 at 10:27 AM, TheAthlete notifications@github.comwrote:

http://yadi.sk/d/eBrFcD4UEuUem

— Reply to this email directly or view it on GitHubhttps://github.com/thaljef/Pinto/issues/81#issuecomment-31195680 .

thaljef commented 10 years ago

It looks to me like MakeMaker is missing from your perl. cpanm wants to have version 6.31 and perl 5.16.3 should include version 6.63. But it thinks you have none.

So it fetches MakeMaker from Stratopan, but that version requires other modules which also seem to be missing on your perl. In turn, they need MakeMaker to build themselves, so it all fails.

Can you confirm that MakeMaker is installed for whatever perl cpanm is using?

For example: perldoc -m ExtUtils::MakeMaker

TheAthlete commented 10 years ago

perldoc -m ExtUtils::MakeMaker http://yadi.sk/d/aDCRjLA9EuahA

thaljef commented 10 years ago

And is that the same perl that cpanm is using?

The installer uses its own version of cpanm, which has this shebang:

#!/usr/bin/env perl

That may not be the perl you want.

Alternatively, you could just :

cpanm Pinto