install failed macOS high sierra 10.13.4
Tried to > sudo cpan App::perlbrew.
When it was done it reported that there were failures so it would not install. I looked at the log. The only failed tests I found were
# curl = /usr/bin/curl
# Failed test at t/http-ua-detect-non-curl.t line 18.
# got: '/usr/bin/curl'
# expected: '/Users/harry/.cpanplus/5.18.2/build/App-perlbrew-0.83/t/fake-bin/curl'
# Failed test 'UA: curl'
# at t/http-ua-detect-non-curl.t line 29.
# got: 'curl'
# expected: undef
# Looks like you failed 2 tests of 2.
I thought, finding curl rather than not finding it seems like not much of an error. So, I tried to to force it or install it anyway. When it was done I could read perldoc App::perlbrew but there was no executable in /usr/bin or in /usr/local/bin.
I got perlbrew running with the curl installation technique, whew. But I just have to ask, why does Unix hate me?
I failed this test on Linux as well. 'chmod 755 t/fake-bin/curl' allows the test to pass.
Thanks, xfcoz, I've progressed, now.
Still, if that is the error that stops the install, why?
Thanks for reporting,
It looks like the file modes in the tarball for 0.83 are not preserved. I migrated the CPAN authoring tool to mbtiny and it is most likely causing this issue.
I'll see what I can o with the tool it self, but if not much, I can update the test too.
Glad I helped, that's why I did report.