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
curl -L http://getpinto.stratopan.com | bash failed on centos #67
Comments
That's interesting. Looks like cpanm can't load Module::CoreList. But it should be there in any recent perl. I know that @miyagawa has made some changes to cpanm recently which caused the pinto installer to break in other ways. So it now ships with an older version of cpanm. I don't know if that will also fix your problem. But please try running the installer again and tell me what you get. |
|
Thanks @miyagawa! That would explain it. I'll have to think if there's a way I can bootstrap that. |
in theory you could make a fatpacked cpanm with CoreList bundled, just for < 5.8.9. I avoided doing it in general just because it bloats the executable size unnecessarily. |
I was thinking I could have cpanm install Module::CoreList (without -L) before installing Pinto (with -L). This would only happen on old Perls of course. |
Yeah that works too. Don't forget to set a path (via |
This is getting ugly. I tried running various versions of cpanm on perl-5.6.2. Some versions don't compile (syntax errors -- how weird is that), or they lack basic modules like Scalar::Util. I'm just not sure running cpanm on really old perls is feasible. @miyagawa? I'm not really certain if this is the right problem to solve anyway, since @melezhik hasn't yet told us which perl version he's using. I'm trying to figure out what ships with CentOS 6.3, but I haven't found an answer yet. |
5.6 is not supported by cpanm at this point. On Mon, May 6, 2013 at 9:53 PM, Jeffrey Ryan Thalhammer
|
The bug appiared on the version of perl higher than 5.6:
Also Module/CoreList.pm is not in canonical list - http://search.cpan.org/dist/perl-5.10.1/ I guess list of modules added in pinto repo should be as wide as possible to avoid issues related different perl distros. |
Here is more example of bug:
$ perl -V
$ uname -a
$ cat /etc/issue
|
No. search.cpan.org just doesn't display all the bundled modules. Module::CoreList definitely is shipped with 5.10.1: Module::CoreList has been in core since perl 5.8.9.
If CentOS perl is shipped without core modules bundled, that's a different story. |
Ok, agree with you, but anyway I guess it's not good idea to rely on certain perl distro while doing pinto install, the install script should be pretty agnostic, there are many vagrant boxes with various perls. So why not to install some missed perl modules as option or may be do some additional modules install depending on platform / architecture ? I may be done easily with pinto cookbook ... really this approach was taken in version 0.1.3 |
I have nothing to add to the discussion whether Pinto should do anything. |
So on centos full list of missed dependencies (they are supposed to be in core ) is: This log is for the same platform (centos) and same perl (5.10.) were mentioned in previous comments [2013-05-13T09:56:50+00:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out |
My current workaround for centOS is here - melezhik/cookbooks@5d3761a |
I have added Time::HiRes and CGI to the repository, although I'm curious to figure out which module wants CGI. But I think bootstrapping Module::CoreList is better done on your end, Alexey. It is a shame that centos ships a broken perl. |
|
|
The text was updated successfully, but these errors were encountered: