guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling autogen.sh in a build


From: Taylan Ulrich Bayırlı/Kammer
Subject: Re: Calling autogen.sh in a build
Date: Tue, 12 Apr 2016 08:49:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Florian Paul Schmidt <address@hidden> writes:

> ./autogen.sh: ./configure: /bin/sh: bad interpreter: No such file or
> directory

It's trying to access /bin/sh instead of /gnu/store/...-sh-... for some
reason.

>        (modify-phases %standard-phases
>          (add-before
>           'configure 'pre-configure
>           (lambda _ ; TODO: add explanation
>             (zero? (system* "sh" "./autogen.sh")))))))

Hmm, maybe put the phase after the 'unpack' phase and see if the problem
persists.  IIRC, calls to autogen.sh should go after unpack, not before
configure, because there's some phases in between that should happen
after autogen.sh and before configure.

Taylan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]