-
Notifications
You must be signed in to change notification settings - Fork 79
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
RT 158393: App::Cpan @ CPAN-2.38 fails to install on macOS #189
Comments
I tried to reproduce this with the macOS vendor Perl, perl v5.40 I compiled myself, and perl v5.34.3 I compiled myself. Can you show the output of The failing test checks what happens when there are no arguments, so if arguments are sneaking in through Note that this test hasn't changed since 2017 and I haven't seen another report about this problem, so you might ignore the failure and force install it. To check this after installation, start
|
Thank you for pointing out the correct location to raise an issue. I followed the "Issues" link from the main MetaCPAN link for the module which took me to RT. |
OK, it looks like an error on my part. I had forgotten that I had set CPAN_OPTS so the option '-I' would have been passed twice to CPAN as a result of the command "cpan -I -i App::Cpan". The system Perl instance is:
However, I am using the MacPorts build. The attached file "perl_build_macports.txt" contains the output of perl -V. The only CPAN env is:
I reset the CPAN_OPTS env and attempted an install using just "cpan App::Cpan" which worked. The module was correctly installed to the local::lib directory (I have the the various local::lib PERL5LIB envs defined in my startup scripts). I have updated other modules this way without issue, so App::Cpan is the first one with which I have encountered a failure to update (other than a newer version of Perl being required by some other modules). Many thanks for your quick response. |
This is from https://rt.cpan.org/Ticket/Display.html?id=158393 by olaf.sulla AT btinternet.com
The installation is on macOS 15.2
Perl v5.34.3 has been installed via MacPorts.
The installation failed during an update to the existing build of the module using:
I will provide any additional information required.
The text was updated successfully, but these errors were encountered: