Subject: | Unable to build |
Date: | Tue, 1 Dec 2020 10:48:16 +0000 (UTC) |
To: | "bug-Term-ReadLine-Gnu [...] rt.cpan.org" <bug-Term-ReadLine-Gnu [...] rt.cpan.org> |
From: | Dimitar DIMITROV <mitkofr [...] yahoo.fr> |
Error:
Entering Term-ReadLine-Gnu-1.36 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.44) Running Makefile.PL Configuring Term-ReadLine-Gnu-1.36 ... Could not find neither libtermcap, libtinfo, libncurses, or libcurses. N/A ! No MYMETA file is found after configure. Your toolchain is too old?
Fix in Makefile.PL on line 182:
my @paths = split(' ', $Config{libpth}); # push @paths, $libdir if $libdir; push @paths, '/usr/local/opt/ncurses/lib'; foreach (@paths) {
for info, ncurses was installed via homebrew: ncurses is keg-only, which means it was not symlinked into /usr/local, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble.
Terminal:
iTerm2
Perl:
Platform: osname=darwin osvers=19.5.0 archname=darwin-thread-multi-2level uname='darwin catalina 19.5.0 darwin kernel version 19.5.0: tue may 26 20:41:44 pdt 2020; root:xnu-6153.121.2~2release_x86_64 x86_64 ' config_args='-des -Dprefix=/usr/local/Cellar/perl/5.32.0 -Dprivlib=/usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0 -Dsitelib=/usr/local/Cellar/perl/5.32.0/lib/perl5/site_perl/5.32.0 -Dotherlibdirs=/usr/local/lib/perl5/site_perl/5.32.0 -Dperlpath=/usr/local/opt/perl/bin/perl -Dstartperl=#!/usr/local/opt/perl/bin/perl -Dman1dir=/usr/local/Cellar/perl/5.32.0/share/man/man1 -Dman3dir=/usr/local/Cellar/perl/5.32.0/share/man/man3 -Duseshrplib -Duselargefiles -Dusethreads -Dsed=/usr/bin/sed' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='cc' ccflags ='-fno-common -DPERL_DARWIN -mmacosx-version-min=10.15 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -DPERL_USE_SAFE_PUTENV' optimize='-O3' cppflags='-fno-common -DPERL_DARWIN -mmacosx-version-min=10.15 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include' ccversion='' gccversion='4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.32.62)' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='cc' ldflags =' -mmacosx-version-min=10.15 -fstack-protector-strong -L/usr/local/lib' libpth=/usr/local/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.3/lib /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /usr/lib libs=-lpthread -ldbm -ldl -lm -lutil -lc perllibs=-lpthread -ldl -lm -lutil -lc libc= so=dylib useshrplib=true libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=bundle d_dlsymun=undef ccdlflags=' ' cccdlflags=' ' lddlflags=' -mmacosx-version-min=10.15 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_OP_PARENT PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API USE_THREAD_SAFE_LOCALE Built under darwin Compiled at Jun 22 2020 21:57:01 @INC: /usr/local/Cellar/perl/5.32.0/lib/perl5/site_perl/5.32.0/darwin-thread-multi-2level /usr/local/Cellar/perl/5.32.0/lib/perl5/site_perl/5.32.0 /usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0/darwin-thread-multi-2level /usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0 /usr/local/lib/perl5/site_perl/5.32.0/darwin-thread-multi-2level /usr/local/lib/perl5/site_perl/5.32.0