-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
When I attempt to 'install PDL' using CPAN, I get the following messages:
# === Build Requires ===
#
# Module Want Have Where Howbig
# ------------------- ---- ------- ------------------------- ------
# ExtUtils::MakeMaker any 7.62 /System/Library/Perl/5.34 109336
# ExtUtils::ParseXS 3.21 3.43 /System/Library/Perl/5.34 66928
# File::Path any 2.18 /System/Library/Perl/5.34 43254
# Pod::Select any missing 0
# *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***
#
# The following REQUIRED prerequisites were not satisfied:
#
# Pod::Select is not installed (any version required)
# Pod::Select is not installed (any version required)
and ends with
...
Result: FAIL
Failed 75/81 test programs. 4/82 subtests failed.
make: *** [test_dynamic] Error 255
ETJ/PDL-2.100.tar.gz
one dependency not OK (Pod::Select); additionally test harness failed
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ETJ/PDL-2.100.tar.gz
Failed during this command:
(optional) ETJ/PDL-2.100.tar.gz : make_test NO one dependency not OK (Pod::Select); additionally test harness failed
Attempting to install Pod::Select yields:
...
All tests successful.
Files=16, Tests=25, 1 wallclock secs ( 0.02 usr 0.02 sys + 0.36 cusr 0.08 csys = 0.48 CPU)
Result: PASS
MAREKR/Pod-Parser-1.67.tar.gz
/usr/bin/make test -- OK
Running make install for MAREKR/Pod-Parser-1.67.tar.gz
Manifying 1 pod document
Manifying 6 pod documents
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/bin'
Do not have write permissions on '/usr/bin'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at -e line 1.
make: *** [pure_perl_install] Error 1
MAREKR/Pod-Parser-1.67.tar.gz
/usr/bin/make install -- NOT OK
Failed during this command:
(optional) MAREKR/Pod-Parser-1.67.tar.gz : install NO
It seems that Pod::Select is trying to use /usr/bin on macOS, which is not going to be successful due to security restrictions. Looking at the metacpan page for Pod::Select, I see the following:
NOTE: This module is considered legacy; modern Perl releases (5.31.1 and higher) are going to remove Pod-Parser from core and use Pod::Simple for all things POD
I've installed Pod::Simple successfully from CPAN, but it looks like PDL still looks for Pod::Select instead.
Metadata
Metadata
Assignees
Labels
No labels