From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jone Subject: Installing Perl module with C library dependencies Date: Fri, 11 Oct 2019 01:53:04 +0000 Message-ID: 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]:45211) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIhFI-00082z-6F for help-guix@gnu.org; Thu, 10 Oct 2019 18:49:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIhFG-0001YS-Nk for help-guix@gnu.org; Thu, 10 Oct 2019 18:49:20 -0400 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]:45103) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIhFG-0001WR-Ew for help-guix@gnu.org; Thu, 10 Oct 2019 18:49:18 -0400 Received: by mail-io1-xd31.google.com with SMTP id c25so17338481iot.12 for ; Thu, 10 Oct 2019 15:49:18 -0700 (PDT) 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: help-guix Hi community! 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 libcurses= . =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: (define-module (gnu packages perl) #:use-module (srfi srfi-1) #:use-module (guix licenses) #:use-module (gnu packages) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages freedesktop) #:use-module (gnu packages less) #:use-module (gnu packages perl-check) #:use-module (gnu packages perl-compression) #:use-module (gnu packages perl-web) #:use-module (gnu packages pkg-config) #:use-module (gnu packages textutils)) (define-public perl-term-readline-gnu (package (name "perl-term-readline-gnu") (version "1.36") (source (origin (method url-fetch) (uri (string-append "mirror://cpan/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-" version ".tar.gz")) (sha256 (base32 "09b9mcmp09kdfh5jaqdr528yny8746hvn3f185aqd6rw06jgf24s")))) (build-system perl-build-system) (home-page "https://metacpan.org/release/Term-ReadLine-Gnu") (synopsis "Perl extension for the GNU Readline/History Library") (description "@code{Term::ReadLine::Gnu} extension for the GNU Readline/History Library.") (license (package-license perl)))) =E2=9D=AF guix package -f perl-term-readline-gnu.scm perl-term-readline-gnu.scm:25:4: error: perl: unbound variable hint: Did you forget a `use-modules' form? Hmm, there's something wrong here. But section 'define-module' is a from perl.scm. And what to do?