* Compile guix from git? @ 2015-06-24 20:48 Claes Wallin (韋嘉誠) 2015-06-25 9:05 ` Mathieu Lirzin 2015-06-25 9:25 ` Ludovic Courtès 0 siblings, 2 replies; 6+ messages in thread From: Claes Wallin (韋嘉誠) @ 2015-06-24 20:48 UTC (permalink / raw) To: guix-devel 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? ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compile guix from git? 2015-06-24 20:48 Compile guix from git? Claes Wallin (韋嘉誠) @ 2015-06-25 9:05 ` Mathieu Lirzin 2015-06-25 9:15 ` Claes Wallin (韋嘉誠) 2015-06-25 9:25 ` Ludovic Courtès 1 sibling, 1 reply; 6+ messages in thread From: Mathieu Lirzin @ 2015-06-25 9:05 UTC (permalink / raw) To: Claes Wallin (韋嘉誠); +Cc: guix-devel "Claes Wallin (韋嘉誠)" <gnu@clacke.user.lysator.liu.se> writes: > 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. Documentation has been moved from the 'HACKING' file to the manual in section "Contributing" recently. As a consequence, the web manual lacks some informations since it refers to the current release. You just need to execute './bootstrap' to generate the configure script. -- Mathieu Lirzin ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compile guix from git? 2015-06-25 9:05 ` Mathieu Lirzin @ 2015-06-25 9:15 ` Claes Wallin (韋嘉誠) 2015-06-25 11:37 ` Ludovic Courtès 0 siblings, 1 reply; 6+ messages in thread From: Claes Wallin (韋嘉誠) @ 2015-06-25 9:15 UTC (permalink / raw) To: Mathieu Lirzin; +Cc: guix-devel On Thu, Jun 25, 2015 at 11:05 AM, Mathieu Lirzin <mthl@openmailbox.org> wrote: > "Claes Wallin (韋嘉誠)" <gnu@clacke.user.lysator.liu.se> writes: > >> 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. > > Documentation has been moved from the 'HACKING' file to the manual in > section "Contributing" recently. As a consequence, the web manual lacks > some informations since it refers to the current release. Oh, ok. > You just need to execute './bootstrap' to generate the configure script. Ah, so simple! I even saw that script there, but didn't read it and made the wrong assumptions about what it's for. Didn't know about autoreconf before, it seems there are a few more steps in autotools than I've seen in other tools. Great that there's a wrapper for them all. Thanks for your help! ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compile guix from git? 2015-06-25 9:15 ` Claes Wallin (韋嘉誠) @ 2015-06-25 11:37 ` Ludovic Courtès 0 siblings, 0 replies; 6+ messages in thread From: Ludovic Courtès @ 2015-06-25 11:37 UTC (permalink / raw) To: Claes Wallin (韋嘉誠); +Cc: guix-devel "Claes Wallin (韋嘉誠)" <gnu@clacke.user.lysator.liu.se> skribis: > On Thu, Jun 25, 2015 at 11:05 AM, Mathieu Lirzin <mthl@openmailbox.org> wrote: >> "Claes Wallin (韋嘉誠)" <gnu@clacke.user.lysator.liu.se> writes: >> >>> 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. >> >> Documentation has been moved from the 'HACKING' file to the manual in >> section "Contributing" recently. As a consequence, the web manual lacks >> some informations since it refers to the current release. > > Oh, ok. The best way to access the latest version of the manual from a checkout is: make doc/guix.info info -f doc/guix.info Or you can use Emacs’s Info reader, or you can also generate HTML or PDF: make doc/guix.pdf make doc/guix.html Ludo’. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compile guix from git? 2015-06-24 20:48 Compile guix from git? Claes Wallin (韋嘉誠) 2015-06-25 9:05 ` Mathieu Lirzin @ 2015-06-25 9:25 ` Ludovic Courtès 2015-06-25 9:38 ` Claes Wallin (韋嘉誠) 1 sibling, 1 reply; 6+ messages in thread From: Ludovic Courtès @ 2015-06-25 9:25 UTC (permalink / raw) To: Claes Wallin (韋嘉誠); +Cc: guix-devel "Claes Wallin (韋嘉誠)" <gnu@clacke.user.lysator.liu.se> 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’. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compile guix from git? 2015-06-25 9:25 ` Ludovic Courtès @ 2015-06-25 9:38 ` Claes Wallin (韋嘉誠) 0 siblings, 0 replies; 6+ messages in thread From: Claes Wallin (韋嘉誠) @ 2015-06-25 9:38 UTC (permalink / raw) To: Ludovic Courtès; +Cc: guix-devel On Thu, Jun 25, 2015 at 11:25 AM, Ludovic Courtès <ludo@gnu.org> wrote: > "Claes Wallin (韋嘉誠)" <gnu@clacke.user.lysator.liu.se> 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. Oh, oops. Lucky I wrote it out explicitly. I'll take another look at the Contributing chapter, now that I know I need to use the latest git version. >> 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. :-) Yeah, I noticed. The above has worked for most GNU utils and similar I've ever touched, but guix seems a bit more involved. :-) > Alternately, you can also do: > > guix build guix --with-source=/path/to/guix Very cool! That takes care of everything, I assume. Environment, autotools, config params, the works. Good. Build instructions are best kept in code. Maybe this route is already mentioned in Contributing. If it isn't, it should! > 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! Sure does! ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-06-25 11:37 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-06-24 20:48 Compile guix from git? Claes Wallin (韋嘉誠) 2015-06-25 9:05 ` 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 (韋嘉誠)
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.