App-perlbrew icon indicating copy to clipboard operation
App-perlbrew copied to clipboard

install failed macOS high sierra 10.13.4

Open woznotwoz opened this issue 7 years ago • 5 comments

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?

woznotwoz avatar Jun 05 '18 16:06 woznotwoz

This is the log file.

build.perl-5.14.2.log

woznotwoz avatar Jun 05 '18 16:06 woznotwoz

I failed this test on Linux as well. 'chmod 755 t/fake-bin/curl' allows the test to pass.

xfcoz avatar Jun 06 '18 15:06 xfcoz

Thanks, xfcoz, I've progressed, now.

Still, if that is the error that stops the install, why?

woznotwoz avatar Jun 06 '18 17:06 woznotwoz

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.

gugod avatar Jun 10 '18 01:06 gugod

Glad I helped, that's why I did report.

woznotwoz avatar Jun 10 '18 22:06 woznotwoz