[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
initial guix setup: unable to fork -- any recipe for the impatient?
From: |
Jan Nieuwenhuizen |
Subject: |
initial guix setup: unable to fork -- any recipe for the impatient? |
Date: |
Thu, 07 Aug 2014 12:50:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi,
I tried to get going with guix and again I was frustrated. Is there
a tutorial or recipe that helps newbies to get started?
[Thinking that guix is a guile script, it very much surprised me that
I need to bootstrap, configure and make.]
Anyway, below is what I tried
Greetings, Jan
$ ./bootstrap
$ ./configure && make
$ ./pre-inst-env guix package -i guile
$ guix package: error: failed to connect to
`/usr/local/var/guix/daemon-socket/socket': No such file or directory
# oh, don't want that so, I probably need make install anyway?
# let's give up on pre-int-env for now and reconfigure into $HOME/pkg :-(
$ ./configure --prefix=$HOME/pkg/guix
$ make && make install
$ eval $(sh-pkg) #puts ~/pkg/*/package in *PATH
guix package: error: failed to connect to
`/usr/local/var/guix/daemon-socket/socket': No such file or directory
# arg, apparently some dependency on config.status is broken
$ make clean
$ ./configure --prefix=$HOME/pkg/guix
make: *** No rule to make target `gnu/system/os-config.tmpl', needed by
`doc/os-config.texi'. Stop.
$ git status
deleted: gnu/system/os-config.tmpl
# great, well Git to the rescue
$ git reset --hard HEAD
$ ./configure --prefix=$HOME/pkg/guix
$ make && make install
$ hash -r
$ guix-daemon&
# yay!
$ guix package -i guile
guix build: error: build failed: creating directory `/gnu': Permission denied
$ mkdir ~/gnu
$ sudo ln -s /home/janneke/gnu /
$ guix package -i guile
accepted connection from pid 12571, uid 1000
guix build: error: build failed: `/gnu' is not a directory # AAARG
$ sudo mkdir /gnu # not happy with this single-user perspective :-(
$ sudo mount --bind /home/janneke/gnu /gnu
$ guix package -i guile
accepted connection from pid 25996, uid 1000
guix package: warning: ambiguous package specification `guile'
guix package: warning: choosing guile-2.0.11 from gnu/packages/base.scm:1130:33
substitute-binary: guix substitute-binary: warning: ACL for archive imports
seems to be uninitialized, substitutes may be unavailable
# hmm, cannot find in the docs whether and how to initialize archive? anyway
The following derivations will be built:
/gnu/store/60kbfbqhm43h1bn6mjzcz7yj27z6gi4b-profile.drv
...
/gnu/store/7bihc3nms3pshmzhsv4wqyr9kgqn78a9-libgc-7.4.0.drv
/gnu/store/4c2w8jchwkfd3flk5fg3kk282wx74rl1-gmp-6.0.0a.drv
guix package: error: build failed: unable to fork: Operation not permitted
1005 operations
:-(
I *am* very happy with Emacs' shell buffer, as you can see ;-)
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.nl
- initial guix setup: unable to fork -- any recipe for the impatient?,
Jan Nieuwenhuizen <=