From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: guile-git trouble (building from source) Date: Mon, 21 Aug 2017 13:02:10 +0200 Message-ID: <20170821110210.GA19775@thebird.nl> References: <87mv7dyfgq.fsf@elephly.net> <873795lnoi.fsf@gnu.org> <20170806134510.GA20166@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djkU7-00065L-Gx for guix-devel@gnu.org; Mon, 21 Aug 2017 07:03:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djkU3-0000Hc-GZ for guix-devel@gnu.org; Mon, 21 Aug 2017 07:03:07 -0400 Received: from mail.thebird.nl ([95.154.246.10]:54676) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1djkU3-0000G3-Am for guix-devel@gnu.org; Mon, 21 Aug 2017 07:03:03 -0400 Content-Disposition: inline In-Reply-To: <20170806134510.GA20166@thebird.nl> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pjotr Prins Cc: guix-devel On Sun, Aug 06, 2017 at 03:45:10PM +0200, Pjotr Prins wrote: > > But yeah, the problem remains for someone building from source. :-/ > > I am facing issues with guile-git. > > I wish we had a bullet proof way of installing from source. I had it > with guix environment and now that won't work because guile-git is > missing and I can't bootstrap... Today, magically, a 'guix pull' solved it which did not work 3 weeks ago. My latest 'bullet proof' setup for a clean build from source is: *** Install the dependencies and build tools using Guix: The safest route is by using guix environment after starting a clean shell (note environment does not clutter up your profile!): #+begin_src sh :lang bash screen -S guix-build # I tend to build in screen env -i /bin/bash --login --noprofile --norc ~/.guix-profile/bin/guix environment guix --ad-hoc help2man git strace \ pkg-config less vim binutils coreutils grep guile guile-git gcc --no-grafts bash # you may want this shell #+end_src sh :lang bash In fact pick the most recent guix you have got, see 'ls /gnu/store/*guix*/bin/guix' and run that command. Use the --no-grafts switch if you have built packages that way before. Note that you can start guix by installing the binary tar ball, or copying it from another machine using the rather useful guix archive or [[https://www.gnu.org/software/guix/news/creating-bundles-with-guix-pack.html][guix pack]] commands. You may want to take a note of these running versions #+begin_src sh :lang bash gcc --version guile --version #+end_src sh :lang bash Next in the source tree #+begin_src sh :lang bash rm -rf autom4te.cache/ # to be sure make clean ./bootstrap ./configure --localstatedir=/var make clean # to be really sure make clean-go # to be even surer make -j 32 #+end_src sh :lang bash :) Pj --