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: Ricardo Wurmus
Subject: Re: Guile, Guix, and C extensions
Date: Fri, 03 Apr 2020 18:58:36 +0200
User-agent: mu4e 1.2.0; emacs 26.3

Hi Stephen,

> When I try to install the package by invoking `guix package -f
> my-module.scm`. Here's the output from the build log:

Could you show us your my-module.scm please?

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

That’s okay.  What the root user (or any other user) has installed in
some profile does not affect the build process.

>> 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?

I was thinking of something more specific actually, because the
gnu-build-system in Guix sets prefix anyway.

-- 
Ricardo



reply via email to

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