From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: libxsl reprise Date: Mon, 27 Mar 2017 17:07:19 +0200 Message-ID: References: <20170327145456.GA15153@jasmine> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114431f22291ee054bb7b30b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csWEs-0007Ij-On for help-guix@gnu.org; Mon, 27 Mar 2017 11:07:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csWEr-00086m-B9 for help-guix@gnu.org; Mon, 27 Mar 2017 11:07:22 -0400 Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]:35582) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1csWEr-00086R-4k for help-guix@gnu.org; Mon, 27 Mar 2017 11:07:21 -0400 Received: by mail-wr0-x22c.google.com with SMTP id u1so61168681wra.2 for ; Mon, 27 Mar 2017 08:07:21 -0700 (PDT) In-Reply-To: <20170327145456.GA15153@jasmine> 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: Leo Famulari Cc: help-guix --001a114431f22291ee054bb7b30b Content-Type: text/plain; charset=UTF-8 2017-03-27 16:54 GMT+02:00 Leo Famulari : > On Mon, Mar 27, 2017 at 04:30:47PM +0200, Catonano wrote: > > In building libxsl I run into this error > > > > /gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0/bin/bash: > > ./configure: No such file or directory > > [...] > > > I added this piece > > > > (arguments > > `(#:phases > > (modify-phases %standard-phases > > (add-before > > 'configure 'pre-conigure > > (lambda* (#:key inputs #:allow-other-keys) > > (chdir "source/")))))) > > > > > > I also tried with > > > > (chdir "source/libxsl")))))) > > > > and I get > > > > ERROR: In procedure chdir: > > ERROR: In procedure chdir: No such file or directory > > > > No such file or directory ? > > > > What am I missing now ? > > Without the libxsl package definition, it's hard to say exactly what's > going wrong. But, you could add the package 'tree' to (native-inputs) > and then add a line like this to your pre-configure phase: > > (zero? (system* "tree")) > > ... and it might help. > Ah. This will be useful too. Thanks --001a114431f22291ee054bb7b30b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2017-03-27 16:54 GMT+02:00 Leo Famulari = <leo@famulari.nam= e>:
=
On Mon, Mar 27, 2017 at 04:= 30:47PM +0200, Catonano wrote:
> In building libxsl I run into this error
>
> /gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0/bin/b= ash:
> ./configure: No such file or directory

[...]

> I added this piece
>
> (arguments
>=C2=A0 =C2=A0`(#:phases
>=C2=A0 =C2=A0 =C2=A0(modify-phases %standard-phases
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(add-before
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 'configure 'pre-conigure
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (lambda* (#:key inputs #:allow-other-keys)<= br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (chdir "source/"))))))
>
>
> I also tried with
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(chdir "source/lib= xsl"))))))
>
> and I get
>
> ERROR: In procedure chdir:
> ERROR: In procedure chdir: No such file or directory
>
> No such file or directory ?
>
> What am I missing now ?

Without the libxsl package definition, it's hard to say exactly = what's
going wrong. But, you could add the package 'tree' to (native-input= s)
and then add a line like this to your pre-configure phase:
=C2=A0
(zero? (system* "tree"))

... and it might help.

Ah. This will be useful too. Thanks

--001a114431f22291ee054bb7b30b--