I'm trying to add DBI to perl using the command: perl -MCPAN -e 'install DBI'
. However, I'm getting the error that's in the title of this post. I'm not sure how much of the overall output to include but here's the latter portion:
Running Mkbootstrap for DBI ()
chmod 644 "DBI.bs"
"/Users/philipjoss/opt/miniconda3/envs/capra/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- DBI.bs blib/arch/auto/DBI/DBI.bs 644
"/Users/philipjoss/opt/miniconda3/envs/capra/bin/perl" -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
"/Users/philipjoss/opt/miniconda3/envs/capra/bin/perl" "/Users/philipjoss/opt/miniconda3/envs/capra/lib/5.26.2/ExtUtils/xsubpp" -typemap '/Users/philipjoss/opt/miniconda3/envs/capra/lib/5.26.2/ExtUtils/typemap' -typemap '/Users/philipjoss/.cpan/build/DBI-1.643-6/typemap' Perl.xs > Perl.xsc
mv Perl.xsc Perl.c
x86_64-apple-darwin13.4.0-clang -c -fno-common -DPERL_DARWIN -no-cpp-precomp -mmacosx-version-min=10.9 -fno-strict-aliasing -pipe -fstack-protector-strong -DPERL_USE_SAFE_PUTENV -O3 -DVERSION=\"1.643\" -DXS_VERSION=\"1.643\" -fPIC --sysroot=/opt/MacOSX10.9.sdk "-I/Users/philipjoss/opt/miniconda3/envs/capra/lib/5.26.2/darwin-thread-multi-2level/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
/bin/sh: x86_64-apple-darwin13.4.0-clang: command not found
make: *** [Perl.o] Error 127
TIMB/DBI-1.643.tar.gz
/usr/bin/make -- NOT OK
MacOS is 11.5.2. Perl is 5.26.2.
Could someone point me in the right direction to fix this? I've tried googling but there doesn't seem to be much out there. I also don't use perl other than to run a script that requires DBI to be installed so I'm stumped :-(