guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile, Guix, and C extensions


From: Stephen Scheck
Subject: Re: Guile, Guix, and C extensions
Date: Fri, 3 Apr 2020 12:50:21 -0400

Ricardo,

> I don’t understand this.  At what point does it use that Guile?  When
> building a package that has “guile” as one of the inputs it is *that*
> variant of Guile that is used.  Within the build environment Guix
> doesn’t use any profiles.

When I try to install the package by invoking `guix package -f
my-module.scm`. Here's the output from the build log:
    make[2]: Nothing to be done for 'install-exec-am'.
     /gnu/store/9kzrrccpzl6i1sfwb0drb00gi2gwk0x0-coreutils-8.31/bin/mkdir
-p
'/gnu/store/1mkkv2caiqbdbbd256c4dirfi4kwsacv-guile-2.2.6/lib/guile/2.2/extensions'
    /gnu/store/9kzrrccpzl6i1sfwb0drb00gi2gwk0x0-coreutils-8.31/bin/mkdir:
cannot create directory
<E2><80><98>/gnu/store/1mkkv2caiqbdbbd256c4dirfi4kwsacv-guile-2.2.6/lib/guile/2.2/extensions<E2><80><99>:
Permission denied

    root@guix /# guix package -l
    Generation 1 Mar 22 2020 19:55:59
     + guile 2.2.7 out
/gnu/store/jgl9d4axpavsv83z2f1z1himnkbsxxqj-guile-2.2.7

As you can see, the build process is using a different installation store
directory ... which happens to be the one corresponding to the
/var/guix/profiles/system profile.

> As long as the configure script provides an option to override the
> location Guix will be happy.

Do you mean as provided by the `--prefix` configure script option? Or
something more specific?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]