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 GPqrFNEbXWM2egAAbAwnHQ (envelope-from ) for ; Sat, 29 Oct 2022 14:25:53 +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 oCo/FNEbXWNYCQAAauVa8A (envelope-from ) for ; Sat, 29 Oct 2022 14:25:53 +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 F0260F21D for ; Sat, 29 Oct 2022 14:25:52 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ookty-0003nr-Qr; Sat, 29 Oct 2022 08:25:26 -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 1ooktp-0003iX-Tl for help-guix@gnu.org; Sat, 29 Oct 2022 08:25:20 -0400 Received: from mail-4319.protonmail.ch ([185.70.43.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooktW-0000Nd-QM for help-guix@gnu.org; Sat, 29 Oct 2022 08:25:04 -0400 Date: Sat, 29 Oct 2022 12:24:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1667046277; x=1667305477; bh=3n8fKy9sBYfurSnizG93uwuh0+G6Jemz8KYXWCkBJf8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=sZc++dcwhki/P0KxnWwjQxu9eMB8hMSd/tu5o6fVroo+rmDfRm/qM0EKt2VvjG+E3 4z6/o4CDeLTvh0Bpc12oWFXwGnmyxi5EP9pYdVBy1K5Md5SHMC+90WY7nfTmbyprG8 WO2Iy6SOALgULcz0qO/fet0jTwpGlr37iMGKOFkNduOm7nbE/JAGnDAE3lS8yrEu+G FnLVe5DYD04uYqdubZKg5zDBROaQX3A4UQXyRhMms0qYEV6ep+Gf4GSC39q71SvKxY v2JafVl5GW5IVxlsxYfT0gRV0+HJxwDQWaHEJHmEJ2RvtODnnAPc4fbyAHb0KdOemn 83FmCBvH9wBjA== To: Efraim Flashner From: Mohamed Amine LEGHERABA Cc: =?utf-8?B?5a6L5paH5q2m?= , Ricardo Wurmus , help-guix@gnu.org Subject: Re : Re: no C_INCLUDE_PATH env variable defined : I can't compile C applications Message-ID: In-Reply-To: References: <87a65mb489.fsf@elephly.net> <87h6ztr9my.fsf@envs.net> Feedback-ID: 8454746:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.19; envelope-from=mlegheraba@protonmail.com; helo=mail-4319.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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=1667046353; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=3n8fKy9sBYfurSnizG93uwuh0+G6Jemz8KYXWCkBJf8=; b=KTKTrzHvntMAUhsWpTskngPvKLM482tX9lIpDq1CCEwZBOXpO/eHAwWpoDRxoF6nty2WSH OXFLg8MXURUC37salMoaZR0DDGCxZKY8FOTF9eCITHTZs6Kq+fOaMzed1rqiLEFgcI6wKH 5K39TfQiBZRDI4PGBUuCQUoum3W8eUkTgPkpB+z/ChCmqmXqa2daXcWadZv0X7Y0q/bxl3 kN/Nq3kbHjN4KrauJaPQo8V5m2+9HVuqHt3d9S1uCoe4ja9htoND7A10CZzG3DI5LkKW+1 jMbpyj/f8QcXculBUlWuXJEVV/AqIRCmdJDMoX2lucW/g2StUqac7NWbivHD/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667046353; a=rsa-sha256; cv=none; b=bhigvVDGFjOfjJdpjaR8Cg4unnQ2w5FTN7tbGTwbBV7BO0XBVDbVCTgYbN/xu/z3uJMkln OOu3FYdatfnjmMEznEmlQY9mHUfYjRRT/C9aJaJ6BBvW2ocbNCDGnhlVBjvAPK085lIP4o L/rdBiNT8nkXE5xp06hnP9M7ppN84XjHvXUm4OmrZfLg7gR0ZqyCXlIRqYR4F81Xk+sAbe 3mxV/mvj7+uMQ12wlTzCwAoOkcnt/f5Njn/IN7u38/bzqaoL0BqsfXQwaAfSSzN8BYsSy1 w1Xd0yBUn+4FfD6V0keUHQ/8kqfq+GT7CARdXTpDt3ckqYf3c7czWG6jPs31ag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=sZc++dcw; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=sZc++dcw; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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: F0260F21D X-Spam-Score: -2.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: wEMQgJBG/wtu 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 b= roked for some reasons, maybe I played to much with the config files ^^. Thanks, Mohamed Amine LEGHERABA ------- Original Message ------- Le lundi 24 octobre 2022 =C3=A0 10:17, Efraim Flashner a =C3=A9crit=C2=A0: > On Mon, Oct 24, 2022 at 02:57:57PM +0800, =E5=AE=8B=E6=96=87=E6=AD=A6 wro= te: >=20 > > Mohamed Amine LEGHERABA mlegheraba@protonmail.com writes: > >=20 > > > Thanks Ricardo for your answer. > > >=20 > > > 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 exampl= e > > > 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! >=20 >=20 > or the zsh home service, since I see you're using zsh. >=20 > -- > Efraim Flashner efraim@flashner.co.il =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 >=20 > GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 > Confidentiality cannot be guaranteed on emails sent or received unencrypt= ed