The cpan command enters module exploration and installation mode.
>i/Modulo/
informs the modules and their author in the database.
When I say >i/Curses/
several curses appear but not what I need.
I'm trying to add Curses-1.06 from William Setzer (WPS).
Informing cpan> i /wps/
shows me the author but not its module. AND...
cpan> i /WPS/Curses-1.06/
No objects found of any type for argument /WPS/Curses-1.06
I managed to download by
cpan> install WPS/Curses-1.06.tar.gz
Saving to:
'/data/data/com.termux/files/home/.cpan/sources/authors/id/W/WP/WPS/CHECKSUMS.tmp6759'
And then fails in perl Makefile.PL guess_cfg...
Configuring W/WP/WPS/Curses-1.06.tar.gz with Makefile.PL
FATAL: internal error: guess_cfg is bad
Warning: No success on
command[/data/data/com.termux/files/usr/bin/perl Makefile.PL]
WPS/Curses-1.06.tar.gz
/data/data/com.termux/files/usr/bin/perl
Makefile.PL -- NOT OK
Failed during this command:
WPS/Curses-1.06.tar.gz
: writemakefile NO '/data/data/com.termux/files/usr/bin/perl Makefile.PL' returned status 65280
I opened the Makefile.PL file and I'm trying to add an Android as I don't see one. And I don't know if I'm doing it right.
SCREENSHOT
Notes for Solaris:
# In 2.3, it was reported that to make the module compile correctly
# with gcc, you must add `-DSYSV=1' to $inc. This will disable the
# reset memcpy to bcopy which is present in /usr/include/curses.h.
# [Courtesy of Dave Blaszyk <dvb@ycc.Kodak.COM>]
#
# $inc also contained "-I/usr/include", but this seems to cause a huge
# too many problems for gcc in perl5.002 so i removed it by default.
# I tested Curses-a9 with perl5.002 and gcc263 and Sun's unbundled
# cc on Solaris 2.4 with $inc empty and no problems, but your
# mileage may vary.
#
# If you are having problems compiling on Solaris, try several
# combinations of "-I/usr/include" and "-DSYSV=1" in $inc to see if
# it fixes things.