Hello Jone,

Jone <yeg...@gmail.com> skribis:

> My problem:
> ❯ cpanm -i Term::ReadLine::Gnu
>   Configure failed... See build.log for details.
>       Could not find neither libtermcap, libtinfo, libncurses, or libcurses.
> ❯ guix package -p /run/current-system/profile -I | grep ncurses
>    ncurses    6.1    out
> /gnu/store/4h03mp5nggsblscs6j0n7s6sbpfy6kxh-ncurses-6.1
>
> I do not know what to do in this case.
> Well.. maybe build a package? Ok:

In general building and using a Guix package is preferable.  :-)

> (define-module (gnu packages perl)

You cannot call your module this way.  If you do, it will shadow the
“real” (gnu packages perl), which provides the variable ‘perl’ for the
Perl package.

Also, you need to add ‘perl-term-readline-gnu’ at the end of the file so
that it actually returns the package you’ve defined, which will then
allow “guix package -p perl-term-readline-gnu.scm” to work.

HTH!

Ludo’.

Reply via email to