Я пытаюсь установить perl-модули на мой Mac через cpan, но что-то, похоже, не работает. : (
Я скачал инструмент командной строки с apple dev.
Что я делаю не так !? и правильно ли мне отказаться от идеи возиться с perl на моей спинеи вместо этого загрузить мой старый компьютер?: - /
Вот что я делаю:
Reading '/Users/Eagle/.cpan/Metadata'
Database was generated on Fri, 11 Oct 2019 13:17:03 GMT
Running install for module 'DBI'
Running make for T/TI/TIMB/DBI-1.642.tar.gz
Checksum for /Users/Eagle/.cpan/sources/authors/id/T/TI/TIMB/DBI-1.642.tar.gz ok
Scanning cache /Users/Eagle/.cpan/build for sizes
.........I have neither the -x permission nor the permission to change the permission; can only partially estimate disk usage of 'ReadLine'
Can't cd to (/Users/Eagle/.cpan/build/Term-ReadLine-Perl-1.0303-U5oE7x/) ReadLine: Permission denied
at /System/Library/Perl/5.18/CPAN/CacheMgr.pm line 137.
.....I have neither the -x permission nor the permission to change the permission; can only partially estimate disk usage of 't'
Can't cd to (/Users/Eagle/.cpan/build/Test-Warnings-0.027-X5Kf4N/) t: Permission denied
at /System/Library/Perl/5.18/CPAN/CacheMgr.pm line 137.
I have neither the -x permission nor the permission to change the permission; can only partially estimate disk usage of 'xt'
Can't cd to (/Users/Eagle/.cpan/build/Test-Warnings-0.027-X5Kf4N/) xt: Permission denied
at /System/Library/Perl/5.18/CPAN/CacheMgr.pm line 137.
I have neither the -x permission nor the permission to change the permission; can only partially estimate disk usage of 'examples'
Can't cd to (/Users/Eagle/.cpan/build/Test-Warnings-0.027-X5Kf4N/) examples: Permission denied
at /System/Library/Perl/5.18/CPAN/CacheMgr.pm line 137.
I have neither the -x permission nor the permission to change the permission; can only partially estimate disk usage of 'lib'
Can't cd to (/Users/Eagle/.cpan/build/Test-Warnings-0.027-X5Kf4N/) lib: Permission denied
at /System/Library/Perl/5.18/CPAN/CacheMgr.pm line 137.
....I have neither the -x permission nor the permission to change the permission; can only partially estimate disk usage of 'inc'
Can't cd to (/Users/Eagle/.cpan/build/Mac-SystemDirectory-0.10-M0iYQX/) inc: Permission denied
at /System/Library/Perl/5.18/CPAN/CacheMgr.pm line 137.
I have neither the -x permission nor the permission to change the permission; can only partially estimate disk usage of 't'
Can't cd to (/Users/Eagle/.cpan/build/Mac-SystemDirectory-0.10-M0iYQX/) t: Permission denied
at /System/Library/Perl/5.18/CPAN/CacheMgr.pm line 137.
I have neither the -x permission nor the permission to change the permission; can only partially estimate disk usage of 'xt'
Can't cd to (/Users/Eagle/.cpan/build/Mac-SystemDirectory-0.10-M0iYQX/) xt: Permission denied
at /System/Library/Perl/5.18/CPAN/CacheMgr.pm line 137.
I have neither the -x permission nor the permission to change the permission; can only partially estimate disk usage of 'lib'
Can't cd to (/Users/Eagle/.cpan/build/Mac-SystemDirectory-0.10-M0iYQX/) lib: Permission denied
at /System/Library/Perl/5.18/CPAN/CacheMgr.pm line 137.
...............I have neither the -x permission nor the permission to change the permission; can only partially estimate disk usage of 'misc'
Can't cd to (/Users/Eagle/.cpan/build/File-Temp-0.2309-xlH9tz/) misc: Permission denied
at /System/Library/Perl/5.18/CPAN/CacheMgr.pm line 137.
I have neither the -x permission nor the permission to change the permission; can only partially estimate disk usage of 't'
Can't cd to (/Users/Eagle/.cpan/build/File-Temp-0.2309-xlH9tz/) t: Permission denied
at /System/Library/Perl/5.18/CPAN/CacheMgr.pm line 137.
I have neither the -x permission nor the permission to change the permission; can only partially estimate disk usage of 'xt'
Can't cd to (/Users/Eagle/.cpan/build/File-Temp-0.2309-xlH9tz/) xt: Permission denied
at /System/Library/Perl/5.18/CPAN/CacheMgr.pm line 137.
I have neither the -x permission nor the permission to change the permission; can only partially estimate disk usage of 'lib'
Can't cd to (/Users/Eagle/.cpan/build/File-Temp-0.2309-xlH9tz/) lib: Permission denied
at /System/Library/Perl/5.18/CPAN/CacheMgr.pm line 137.
...........................................DONE
CPAN.pm: Building T/TI/TIMB/DBI-1.642.tar.gz
*** Your LANG environment variable is set to 'da_DK.UTF-8'
*** This may cause problems for some perl installations.
*** If you get test failures, please try again with LANG unset.
*** If that then works, please email dbi-dev@perl.org with details
*** including the output of 'perl -V'
Your perl was compiled with gcc (version 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)), okay.
Creating test wrappers for DBD::Gofer:
t/zvg_01basics.t
t/zvg_02dbidrv.t
t/zvg_03handle.t
t/zvg_04mods.t
t/zvg_05concathash.t
t/zvg_06attrs.t
t/zvg_07kids.t
t/zvg_08keeperr.t
t/zvg_09trace.t
t/zvg_10examp.t
t/zvg_11fetch.t
t/zvg_12quote.t
t/zvg_13taint.t
t/zvg_14utf8.t
t/zvg_15array.t
t/zvg_16destroy.t
t/zvg_19fhtrace.t
t/zvg_20meta.t
t/zvg_30subclass.t
t/zvg_31methcache.t
t/zvg_35thrclone.t (use threads)
t/zvg_40profile.t
t/zvg_41prof_dump.t
t/zvg_42prof_data.t
t/zvg_43prof_env.t
t/zvg_48dbi_dbd_sqlengine.t
t/zvg_49dbd_file.t
t/zvg_50dbm_simple.t
t/zvg_51dbm_file.t
t/zvg_52dbm_complex.t
t/zvg_53sqlengine_adv.t
t/zvg_54_dbd_mem.t
t/zvg_60preparse.t
t/zvg_65transact.t
t/zvg_70callbacks.t
t/zvg_72childhandles.t
t/zvg_73cachedkids.t
t/zvg_80proxy.t
t/zvg_85gofer.t
t/zvg_86gofer_fail.t
t/zvg_87gofer_cache.t
t/zvg_90sql_type_cast.t
t/zvg_91_store_warning.t
Creating test wrappers for DBI::SQL::Nano:
t/zvn_48dbi_dbd_sqlengine.t
t/zvn_49dbd_file.t
t/zvn_50dbm_simple.t
t/zvn_51dbm_file.t
t/zvn_52dbm_complex.t
t/zvn_85gofer.t
Creating test wrappers for DBI::PurePerl:
t/zvp_01basics.t
t/zvp_02dbidrv.t
t/zvp_03handle.t
t/zvp_04mods.t
t/zvp_05concathash.t
t/zvp_06attrs.t
t/zvp_07kids.t
t/zvp_08keeperr.t
t/zvp_09trace.t
t/zvp_10examp.t
t/zvp_11fetch.t
t/zvp_12quote.t
t/zvp_13taint.t
t/zvp_14utf8.t
t/zvp_15array.t
t/zvp_16destroy.t
t/zvp_19fhtrace.t
t/zvp_20meta.t
t/zvp_30subclass.t
t/zvp_31methcache.t
t/zvp_35thrclone.t (use threads)
t/zvp_40profile.t
t/zvp_41prof_dump.t
t/zvp_42prof_data.t
t/zvp_43prof_env.t
t/zvp_48dbi_dbd_sqlengine.t
t/zvp_49dbd_file.t
t/zvp_50dbm_simple.t
t/zvp_51dbm_file.t
t/zvp_52dbm_complex.t
t/zvp_53sqlengine_adv.t
t/zvp_54_dbd_mem.t
t/zvp_60preparse.t
t/zvp_65transact.t
t/zvp_70callbacks.t
t/zvp_72childhandles.t
t/zvp_73cachedkids.t
t/zvp_80proxy.t
t/zvp_85gofer.t
t/zvp_86gofer_fail.t
t/zvp_87gofer_cache.t
t/zvp_90sql_type_cast.t
t/zvp_91_store_warning.t
Creating test wrappers for DBD::Gofer + DBI::SQL::Nano:
t/zvxgn_48dbi_dbd_sqlengine.t
t/zvxgn_49dbd_file.t
t/zvxgn_50dbm_simple.t
t/zvxgn_51dbm_file.t
t/zvxgn_52dbm_complex.t
t/zvxgn_85gofer.t
Creating test wrappers for DBD::Gofer + DBI::PurePerl:
t/zvxgp_01basics.t
t/zvxgp_02dbidrv.t
t/zvxgp_03handle.t
t/zvxgp_04mods.t
t/zvxgp_05concathash.t
t/zvxgp_06attrs.t
t/zvxgp_07kids.t
t/zvxgp_08keeperr.t
t/zvxgp_09trace.t
t/zvxgp_10examp.t
t/zvxgp_11fetch.t
t/zvxgp_12quote.t
t/zvxgp_13taint.t
t/zvxgp_14utf8.t
t/zvxgp_15array.t
t/zvxgp_16destroy.t
t/zvxgp_19fhtrace.t
t/zvxgp_20meta.t
t/zvxgp_30subclass.t
t/zvxgp_31methcache.t
t/zvxgp_35thrclone.t (use threads)
t/zvxgp_40profile.t
t/zvxgp_41prof_dump.t
t/zvxgp_42prof_data.t
t/zvxgp_43prof_env.t
t/zvxgp_48dbi_dbd_sqlengine.t
t/zvxgp_49dbd_file.t
t/zvxgp_50dbm_simple.t
t/zvxgp_51dbm_file.t
t/zvxgp_52dbm_complex.t
t/zvxgp_53sqlengine_adv.t
t/zvxgp_54_dbd_mem.t
t/zvxgp_60preparse.t
t/zvxgp_65transact.t
t/zvxgp_70callbacks.t
t/zvxgp_72childhandles.t
t/zvxgp_73cachedkids.t
t/zvxgp_80proxy.t
t/zvxgp_85gofer.t
t/zvxgp_86gofer_fail.t
t/zvxgp_87gofer_cache.t
t/zvxgp_90sql_type_cast.t
t/zvxgp_91_store_warning.t
Creating test wrappers for DBI::SQL::Nano + DBI::PurePerl:
t/zvxnp_48dbi_dbd_sqlengine.t
t/zvxnp_49dbd_file.t
t/zvxnp_50dbm_simple.t
t/zvxnp_51dbm_file.t
t/zvxnp_52dbm_complex.t
t/zvxnp_85gofer.t
Creating test wrappers for DBD::Gofer + DBI::SQL::Nano + DBI::PurePerl:
t/zvxgnp_48dbi_dbd_sqlengine.t
t/zvxgnp_49dbd_file.t
t/zvxgnp_50dbm_simple.t
t/zvxgnp_51dbm_file.t
t/zvxgnp_52dbm_complex.t
t/zvxgnp_85gofer.t
Checking if your kit is complete...
Looks good
I see you're using perl 5.018004 on darwin-thread-multi-2level, okay.
Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD::* drivers.
Writing Makefile for DBI
Writing MYMETA.yml and MYMETA.json
make: *** No rule to make target `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE/config.h', needed by `Makefile'. Stop.
TIMB/DBI-1.642.tar.gz
/usr/bin/make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
TIMB/DBI-1.642.tar.gz : make NO
cpan[2]>