[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re : Re: no C_INCLUDE_PATH env variable defined : I can't compile C appl
From: |
Mohamed Amine LEGHERABA |
Subject: |
Re : Re: no C_INCLUDE_PATH env variable defined : I can't compile C applications |
Date: |
Sat, 29 Oct 2022 12:24:27 +0000 |
Thanks guys, I tested with bash home service, and restarted my computer and now
It's working. Before I was using zsh and zsh home service but it was broked for
some reasons, maybe I played to much with the config files ^^.
Thanks,
Mohamed Amine LEGHERABA
------- Original Message -------
Le lundi 24 octobre 2022 à 10:17, Efraim Flashner <efraim@flashner.co.il> a
écrit :
> 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