unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Claes Wallin (韋嘉誠)" <gnu@clacke.user.lysator.liu.se>
To: guix-devel <guix-devel@gnu.org>
Subject: Compile guix from git?
Date: Wed, 24 Jun 2015 22:48:49 +0200	[thread overview]
Message-ID: <CAGv_=BpSSq4yQ8rC2ABPFts55LmuiQTgDS5ZvHDros-eoB-LVA@mail.gmail.com> (raw)

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

But #3 fails. nix/config.h.in is missing, maybe other things too but
that's where it halts.

What I do now to make it work is I insert:

1.1. tar axf --strip-component=1 /path/to/guix-0.8.2.tar.gz
1.2. git checkout HEAD .
1.3. git clean -fd

Seems to be working, but there must be something everyone else is
doing that I missed in a document somewhere. Or maybe everyone is
working in checkouts made at some point when that file existed?

             reply	other threads:[~2015-06-24 20:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-24 20:48 Claes Wallin (韋嘉誠) [this message]
2015-06-25  9:05 ` Compile guix from git? Mathieu Lirzin
2015-06-25  9:15   ` Claes Wallin (韋嘉誠)
2015-06-25 11:37     ` Ludovic Courtès
2015-06-25  9:25 ` Ludovic Courtès
2015-06-25  9:38   ` Claes Wallin (韋嘉誠)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGv_=BpSSq4yQ8rC2ABPFts55LmuiQTgDS5ZvHDros-eoB-LVA@mail.gmail.com' \
    --to=gnu@clacke.user.lysator.liu.se \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).