From: Efraim Flashner <efraim@flashner.co.il>
To: 宋文武 <iyzsong@envs.net>
Cc: Mohamed Amine LEGHERABA <mlegheraba@protonmail.com>,
Ricardo Wurmus <rekado@elephly.net>,
help-guix@gnu.org
Subject: Re: no C_INCLUDE_PATH env variable defined : I can't compile C applications
Date: Mon, 24 Oct 2022 11:17:48 +0300 [thread overview]
Message-ID: <Y1ZKLCWLP+8K/21N@3900XT> (raw)
In-Reply-To: <87h6ztr9my.fsf@envs.net>
[-- Attachment #1: Type: text/plain, Size: 1373 bytes --]
On Mon, Oct 24, 2022 at 02:57:57PM +0800, 宋文武 wrote:
> Mohamed Amine LEGHERABA <mlegheraba@protonmail.com> writes:
>
> > Thanks Ricardo for your answer.
> >
> > Sorry if my message was not clear,
> > I don't have the env variable C_INCLUDE_PATH in my guix system and I
> > should have it because I have the packages "gcc-toolchain" and
> > "linux-libre-headers" in my home profile.
> > When I run a instance of guix shell with these 2 packages, for example
> > with the command "guix shell gcc-toolchain linux-libre-headers" I do
> > have this env variable defined (in fact a guix shell with only
> > gcc-toolchain works also) so I don't know why I don't have this
> > variable defined in my system.
>
> Hello, I think you're missing 'home-bash-service-type' in your home
> services, which should setup bash to source
> '$HOME_ENVIRONMENT/setup-environment', and 'setup-environment' will
> source '.guix-home/profile/etc/profile'. If gcc-toolchain is in the
> home profile, that '.guix-home/profile/etc/profile' should have
> C_INCLUDE_PATH in it.
>
> Hope this helps!
or the zsh home service, since I see you're using zsh.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2022-10-24 10:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-22 11:07 no C_INCLUDE_PATH env variable defined : I can't compile C applications Mohamed Amine LEGHERABA via
2022-10-23 21:48 ` Ricardo Wurmus
2022-10-24 1:42 ` Re : " Mohamed Amine LEGHERABA
2022-10-24 6:57 ` 宋文武
2022-10-24 8:17 ` Efraim Flashner [this message]
2022-10-29 12:24 ` Re : " Mohamed Amine LEGHERABA
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y1ZKLCWLP+8K/21N@3900XT \
--to=efraim@flashner.co.il \
--cc=help-guix@gnu.org \
--cc=iyzsong@envs.net \
--cc=mlegheraba@protonmail.com \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.