From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8bggMUxlVmPviQAAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 12:13:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CEXxL0xlVmPQcwEAauVa8A (envelope-from ) for ; Mon, 24 Oct 2022 12:13:32 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6A6D52A69 for ; Mon, 24 Oct 2022 12:13:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omsfA-0006Iu-1n; Mon, 24 Oct 2022 04:18:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omsf0-0006G4-I9 for help-guix@gnu.org; Mon, 24 Oct 2022 04:18:21 -0400 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omses-0005yQ-EP for help-guix@gnu.org; Mon, 24 Oct 2022 04:18:08 -0400 Received: by mail-ed1-x532.google.com with SMTP id b12so28315598edd.6 for ; Mon, 24 Oct 2022 01:18:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=brM5vbPK1nZQ15JghtYK/o32EQQ95RIPayxklhERUZM=; b=ELIEGZqaskAB58WwC6+I8EpABJokTQWceDBAlWtyze/+JNCTYj4/VEr8MnzRJMBDsO MLmsr8sMRsRW7yfn1tbCnyTYy/EEqO4hwycMPGkmMVMSrzTkA4DhQp/ToYDd31+YPSDE zmI8dnDcTEWrLPYhTffgnASZUXJ0pPe0Ctv42fpM4UWvxKrAGCUbt14v1HARtV3a00k2 XtFDlde6qRiFsvjKGaTtXA0GA0Y5uUS9rJ2cMze5Qcs1T+c8h/LZRmkjRTEjOf90wnZV NEOZm8fUjRyEa4eWpN6leEIfMBOmw3Kn+CH3rc8v42taSHZEHw8HZplkyKiKCm7Y92wZ OJJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=brM5vbPK1nZQ15JghtYK/o32EQQ95RIPayxklhERUZM=; b=02JSy+izaxkMpFh/Yva/UqkhdubMa4/6ix6k9OKE5yKShsk3tVx40m9bia1/w96YVw bFi5NPkLzPEzUywqi5f9XoBGhDD3NWJdnQbjN8O/HsuPycTkdMXZ8Ms3c9UgSwk6eEpM WYuFILDHEMxR+HBVDvKsoNGeMUJMZxwQQYpbq5LPA/4aMknF2WJdq9+jG+eUaKiiaiVh uRxvQAYbryAB0aSu5ip+Vb64wWpgHNCsKb+S6orbmvIvE75H41DI1CHatRUCaGl7WYD6 Jb8mwKlGJMNsWF4mzR69NnvH6Pz8NUAUFzhkqhmJIwvrg8lQTwMqPOMrBnVZsiV8zUiC N6kw== X-Gm-Message-State: ACrzQf0jw4vvs6zO4cOnXpM5UCX1vrpLTp9Ar6XkOxNLdawYT6U3gyP2 U/UG7OYjOkLJOu2+yxgtLFM= X-Google-Smtp-Source: AMsMyM4eqkTmALUAPcVIwwh4ONKhv+WmSHAhp7Ov36GIwM8oIIMwMIvfqfHUP3m66FGSmRZPNVjUBA== X-Received: by 2002:a17:907:6297:b0:72f:9aad:fcb with SMTP id nd23-20020a170907629700b0072f9aad0fcbmr26389727ejc.161.1666599485039; Mon, 24 Oct 2022 01:18:05 -0700 (PDT) Received: from localhost ([141.226.13.62]) by smtp.gmail.com with ESMTPSA id b2-20020a1709063ca200b00773f3ccd989sm15086088ejh.68.2022.10.24.01.18.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Oct 2022 01:18:04 -0700 (PDT) Date: Mon, 24 Oct 2022 11:17:48 +0300 From: Efraim Flashner To: =?utf-8?B?5a6L5paH5q2m?= Cc: Mohamed Amine LEGHERABA , Ricardo Wurmus , help-guix@gnu.org Subject: Re: no C_INCLUDE_PATH env variable defined : I can't compile C applications Message-ID: Mail-Followup-To: =?utf-8?B?5a6L5paH5q2m?= , Mohamed Amine LEGHERABA , Ricardo Wurmus , help-guix@gnu.org References: <87a65mb489.fsf@elephly.net> <87h6ztr9my.fsf@envs.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ke3uOZmidC9ZzWoQ" Content-Disposition: inline In-Reply-To: <87h6ztr9my.fsf@envs.net> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=efraim.flashner@gmail.com; helo=mail-ed1-x532.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Help-Guix" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666606412; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=brM5vbPK1nZQ15JghtYK/o32EQQ95RIPayxklhERUZM=; b=MUBd4VrqdI3n1+taozzN7tj+8+TdZbLfxj/NMicv2bI7OGx+Dm89XN5lKjUUyi/zW7suQF rDy17OxtzVcDlbgTzLAp0czMkLAf9gCXPhAROt7lSV50ULrx5YHzsm8ZnAYbLn08qALDqh VXcu8+l1wUCXyp74Kch2W4e+2qRym5EPda/DscMxn5BSd1vxAMLaGbJdn5n6tmyCXGU9yh mDHUx8vsB3ZsY+ynm3oQNQoU5OGjxuRmOfxM8CDGPcV6zdB++mZcJdAuLAeDiO1omDrCnM RqB8NodAinCfI74tcunMHInbK2vW29Y4ChfaflUlxqVUJTuwFJmyuO6m8mofLA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666606412; a=rsa-sha256; cv=none; b=Oa6RV+oUmbfeFAyANG4SObVCaHIjbfSI/6SUSzZ5VUf9ChgVI3lSxQZhxT05oapyeaEbs+ F/o2Vh54g9ZN6ECdWMXhxxuwgUFhS0LNhNJjsspub9YZGPqRR378CO8a68tq6UJC+o3T8E sCpLDlV45JhNtolmZvNPG/qo0MMGR0uxjZQWFoEBfSx/+j0PAa6PVH2wDjYaHuZNllYP2u dOvzOiMKk5fqJ4/OZ3uWVtC3/8t9TcBiMWe5XJxik7jpybmuTOveHNxx+9FcaEhcDosHGr kWAKXYBr4khjNnscS51v2Mk9DGJSPgqvcfquZnQMtulptIKm5MdJlbXmQtSDAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ELIEGZqa; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.50 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ELIEGZqa; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6A6D52A69 X-Spam-Score: 4.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: +q/qXPvUm/yO --ke3uOZmidC9ZzWoQ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 24, 2022 at 02:57:57PM +0800, =E5=AE=8B=E6=96=87=E6=AD=A6 wrote: > Mohamed Amine LEGHERABA writes: >=20 > > 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. >=20 > 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. >=20 > Hope this helps! or the zsh home service, since I see you're using zsh. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --ke3uOZmidC9ZzWoQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmNWSiwACgkQQarn3Mo9 g1F3aQ//QHAfNW5fWUpFSpRq1HTv58p7e2FCFv6KMM0Ovx6s7SVS7gP8BnuIJo3b zmBIiAUVykvJRXgVin5+W+I75/lUtrZaBvLgLa7XDtlm+hf9IgelCUIuGgh+G2fj /WmCcg8O113q50DuSYpRqG1rQc6IrlGkLpZznwIjwq/4t7OmfxLo3JP7QLV1XfMO 2kOTpt0f2eZv4F1PXThcbL8tUTsffm4xEOl4MURYpFP1z8bZUDM2A2aIWFT9Axuz bsMzfjHt4qtxL7Kpp7+FQrPByaMowjR7q27kn96Ll25bAcRFxiQbsq6tnyNDUyGb ziB10kfTVO/UrEmG5b4LvEA+cyaNy2YprOtkscRzVaYcT3D8sL9iPOTPr3PF8rij mpca6j1B3Z6oNuNhSHoeWXnq44pqehKBSg5BTVM+Fbtbw7QFnpvZXvdRMWbvuZwN amSuJQ3iKZ4FL3tTlcrqiz2DF7JdcK/vl7QekeODoRPHZui+btReBPZjuV7R+l8N B44qiQARP8X1Qz24JF6Diduhzmg9jfVwx4yHe76IKfhFKxqozibFZuBiFxpXn8Lw flS1fcs5u9JRaVKnOVpwMi5cnQrjaU7vqY5rjiDGvE8LjJN7jGlkxiCc79XmcqFi Dc4RiEbUoyCVshm/e2BChcJG+WZ21fBEyJ8ILvkhoB0KLbohxoY= =6Zmg -----END PGP SIGNATURE----- --ke3uOZmidC9ZzWoQ--