guix-devel
[Top][All Lists]
Advanced

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

Re: Package Definition Place


From: Ludovic Courtès
Subject: Re: Package Definition Place
Date: Sun, 05 Jan 2014 19:21:39 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Kete <address@hidden> skribis:

> On Saturday, January 04, 2014 08:15:40 AM John Darrington wrote:
>> The example in bash.scm is over complicated.  Look at some of the examples
>> in xorg.scm to see how to set configure-flags.
>
> That got me a little further.
>       Src/../Src/mkmakemod.sh: line 467: /bin/sh: No such file or directory
>       Makefile:299: recipe for target 'Makemod' failed

As John notes, there’s no /bin/sh in the build environment.  By default,
files starting with #!/bin/sh (or similar) are automatically patched to
#!/nix/store/.../bin/sh.

However, it could be that mkmakemod.sh explicitly invokes /bin/sh in its
body, in which case it has to be patched “manually”.

Try building with --keep-failed, inspect that file, and then don’t
hesitate to join #guix on Freenode for more advice/debugging.  ;-)

Ludo’.



reply via email to

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