Re: guile-git trouble (building from source)

2017-08-21 Thread Pjotr Prins
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

-- 



Re: guile-git trouble (building from source) - guix archive to the rescue

2017-08-11 Thread Pjotr Prins
On Sun, Aug 06, 2017 at 07:26:25PM -0500, Christopher Allan Webber wrote:
> > 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...
> 
> Save us, content addressed storage! :)
> 

How about providing a Guix-archive of guix on the download page? That
is how I rescued myself before by building an archive elsewhere and
installing that.  Version incombatibilities are not likely to be
disruptive and we can provide older versions too.

The alternative is using a Guix binary install in a proot and build
Guix from there. And create an archive that can be installed.

Having a Guix archive on the download page with the latest build would
make it real easy to rescue an existing Guix installation. Besides,
people will be intrigued by what that download is.

Pj.
-- 



Re: guile-git trouble (building from source)

2017-08-06 Thread Christopher Allan Webber
Pjotr Prins writes:

>> 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...
>
> Pj.

Save us, content addressed storage! :)



guile-git trouble (building from source)

2017-08-06 Thread Pjotr Prins
> 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...

Pj.