all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* libxsl reprise
@ 2017-03-27 14:30 Catonano
  2017-03-27 14:51 ` Adonay Felipe Nogueira
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Catonano @ 2017-03-27 14:30 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 770 bytes --]

In building libxsl I run into this error

/gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0/bin/bash:
./configure: No such file or directory

In keeping the build directory, as Pjotr notes in his notes, I find

/tmp/guix-build-libxsl-1.4.0.drv-0$ ls
environment-variables  source/

configure  is in source/libxsl/configure

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 ?

Thank you all again

[-- Attachment #2: Type: text/html, Size: 984 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libxsl reprise
  2017-03-27 14:30 libxsl reprise Catonano
@ 2017-03-27 14:51 ` Adonay Felipe Nogueira
  2017-03-27 15:02   ` Catonano
  2017-03-27 14:54 ` Leo Famulari
  2017-03-27 15:22 ` Quiliro
  2 siblings, 1 reply; 8+ messages in thread
From: Adonay Felipe Nogueira @ 2017-03-27 14:51 UTC (permalink / raw)
  To: help-guix

Try:

(chdir "libxsl")

The reason for this suggestion is that "source" is already
traversed/changed-to after "unpack" phase. Because Guix already tries to
change to first directory it finds in the source.

If it still doesn't work, revert the one I just recommended, and add:

... before the "configure" phase:

(display (string-append "Current working directory before configure phase is: "
                        (getcwd) "\n"))

This line will print which directory is being worked on before the error.

-- 
- [[https://libreplanet.org/wiki/User:Adfeno]]
- Palestrante e consultor sobre /software/ livre (não confundir com
  gratis).
- "WhatsApp"? Ele não é livre, por isso não uso. Iguais a ele prefiro
  Ring, ou Tox. Quer outras formas de contato? Adicione o vCard que
  está no endereço acima aos teus contatos.
- Pretende me enviar arquivos .doc, .ppt, .cdr, ou .mp3? OK, eu
  aceito, mas não repasso. Entrego apenas em formatos favoráveis ao
  /software/ livre. Favor entrar em contato em caso de dúvida.
- "People said I should accept the world. Bullshit! I don't accept the
  world."
                                                 --- Richard Stallman

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libxsl reprise
  2017-03-27 14:30 libxsl reprise Catonano
  2017-03-27 14:51 ` Adonay Felipe Nogueira
@ 2017-03-27 14:54 ` Leo Famulari
  2017-03-27 15:07   ` Catonano
  2017-03-27 15:22 ` Quiliro
  2 siblings, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2017-03-27 14:54 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 976 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libxsl reprise
  2017-03-27 14:51 ` Adonay Felipe Nogueira
@ 2017-03-27 15:02   ` Catonano
  2017-03-27 15:37     ` Adonay Felipe Nogueira
  0 siblings, 1 reply; 8+ messages in thread
From: Catonano @ 2017-03-27 15:02 UTC (permalink / raw)
  To: Adonay Felipe Nogueira; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

2017-03-27 16:51 GMT+02:00 Adonay Felipe Nogueira <adfeno@openmailbox.org>:

> Try:
>
> (chdir "libxsl")
>
> The reason for this suggestion is that "source" is already
> traversed/changed-to after "unpack" phase. Because Guix already tries to
> change to first directory it finds in the source.
>

thanks, this solved it


> If it still doesn't work, revert the one I just recommended, and add:
>
> ... before the "configure" phase:
>
> (display (string-append "Current working directory before configure phase
> is: "
>                         (getcwd) "\n"))
>
> This line will print which directory is being worked on before the error.
>

note taken. It might be useful in the future

Thanks !

[-- Attachment #2: Type: text/html, Size: 1299 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libxsl reprise
  2017-03-27 14:54 ` Leo Famulari
@ 2017-03-27 15:07   ` Catonano
  0 siblings, 0 replies; 8+ messages in thread
From: Catonano @ 2017-03-27 15:07 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]

2017-03-27 16:54 GMT+02:00 Leo Famulari <leo@famulari.name>:

> 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

[-- Attachment #2: Type: text/html, Size: 1853 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libxsl reprise
  2017-03-27 14:30 libxsl reprise Catonano
  2017-03-27 14:51 ` Adonay Felipe Nogueira
  2017-03-27 14:54 ` Leo Famulari
@ 2017-03-27 15:22 ` Quiliro
  2017-03-27 15:26   ` Catonano
  2 siblings, 1 reply; 8+ messages in thread
From: Quiliro @ 2017-03-27 15:22 UTC (permalink / raw)
  To: help-guix

El Mon, 27 Mar 2017 16:30:47 +0200
Catonano <catonano@gmail.com> escribió:

>        'configure 'pre-conigure

Is it not?:
'configure 'pre-configure


-- 
Example of rude top posting:

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

A: No.
Q: Should I leave quotations after my reply?

Saluton,
Quiliro
0987631031

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libxsl reprise
  2017-03-27 15:22 ` Quiliro
@ 2017-03-27 15:26   ` Catonano
  0 siblings, 0 replies; 8+ messages in thread
From: Catonano @ 2017-03-27 15:26 UTC (permalink / raw)
  To: Quiliro; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

2017-03-27 17:22 GMT+02:00 Quiliro <quiliro@riseup.net>:

> El Mon, 27 Mar 2017 16:30:47 +0200
> Catonano <catonano@gmail.com> escribió:
>
> >        'configure 'pre-conigure
>
> Is it not?:
> 'configure 'pre-configure
>

yes, it is. My keyboard is defective, I keep missing f and j :-/

[-- Attachment #2: Type: text/html, Size: 699 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libxsl reprise
  2017-03-27 15:02   ` Catonano
@ 2017-03-27 15:37     ` Adonay Felipe Nogueira
  0 siblings, 0 replies; 8+ messages in thread
From: Adonay Felipe Nogueira @ 2017-03-27 15:37 UTC (permalink / raw)
  To: help-guix

You're welcome! :)

I'm glad it worked well.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-03-27 15:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-27 14:30 libxsl reprise Catonano
2017-03-27 14:51 ` Adonay Felipe Nogueira
2017-03-27 15:02   ` Catonano
2017-03-27 15:37     ` Adonay Felipe Nogueira
2017-03-27 14:54 ` Leo Famulari
2017-03-27 15:07   ` Catonano
2017-03-27 15:22 ` Quiliro
2017-03-27 15:26   ` Catonano

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.