From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Installing Perl module with C library dependencies Date: Fri, 11 Oct 2019 10:33:39 +0200 Message-ID: <87v9svsmu4.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44354) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIqMp-0003VQ-Os for help-guix@gnu.org; Fri, 11 Oct 2019 04:33:44 -0400 In-Reply-To: (Jone's message of "Fri, 11 Oct 2019 01:53:04 +0000") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Jone Cc: help-guix Hello Jone, Jone skribis: > My problem: > =E2=9D=AF cpanm -i Term::ReadLine::Gnu > Configure failed... See build.log for details. > Could not find neither libtermcap, libtinfo, libncurses, or libcurs= es. > =E2=9D=AF 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 =E2=80=9Creal=E2=80=9D (gnu packages perl), which provides the variable =E2= =80=98perl=E2=80=99 for the Perl package. Also, you need to add =E2=80=98perl-term-readline-gnu=E2=80=99 at the end o= f the file so that it actually returns the package you=E2=80=99ve defined, which will then allow =E2=80=9Cguix package -p perl-term-readline-gnu.scm=E2=80=9D to work. HTH! Ludo=E2=80=99.