[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile guix from git?
From: |
Ludovic Courtès |
Subject: |
Re: Compile guix from git? |
Date: |
Thu, 25 Jun 2015 11:25:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
"Claes Wallin (韋嘉誠)" <address@hidden> skribis:
> How do people compile guix directly from git source? I've been
> searching around in HACKING and manual.html#Contributing and other
> places, the internet in general, and haven't been able to find any
> instructions.
>
> It ought to be:
>
> 1. Get dependencies manually or with 'guix environment guix'.
> 2. aclocal
> 3. automake, maybe automake -a
> 4. autoconf
> 5. configure --sharedstatedir=/var --with-libgcrypt-prefix=wherever
> 6. make
Replace #2, #3, and #4 with just “autoreconf -vfi”.
For #5, you probably mean --localstatedir, not --sharedstatedir.
> But #3 fails. nix/config.h.in is missing, maybe other things too but
> that's where it halts.
Don’t worry, ‘autoreconf’ will do the right thing. :-)
Alternately, you can also do:
guix build guix --with-source=/path/to/guix
where the last component of /path/to/guix is literally ‘guix’, and where
/path/to/guix contains a possibly pristine checkout. But of course,
that command builds from scratch, which may not be what you want.
HTH!
Ludo’.