From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iHKBFUA5VmMRxgAAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 09:05:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kJ+cFUA5VmP7ZQEAauVa8A (envelope-from ) for ; Mon, 24 Oct 2022 09:05:36 +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 6AB4A3C1FB for ; Mon, 24 Oct 2022 09:05:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omnMO-0007HE-SV; Sun, 23 Oct 2022 22:38:41 -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 1omiqW-0007TK-9P for help-guix@gnu.org; Sun, 23 Oct 2022 17:49:28 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omiqU-0008HE-HS for help-guix@gnu.org; Sun, 23 Oct 2022 17:49:28 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1666561756; cv=none; d=zohomail.com; s=zohoarc; b=dqN62rX6b8fuPLxHEsgYA5H7wOBJsCwV9If97tQ3c4cXyWXU28yfMNhGsr8nS9o+5GXeld8ILCSD6hztaaJRP6VBQRpAWr+gQoj3X+jBelWgTo+vKkODM6lxBhA+9FOda5Vsp6BgnCLGQFMJBU3oO+/Vi2sBe2TuQRBJzn9Fe5M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1666561756; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=NbWtU3olU121d+AcE+b7S3gmeWbtA5gAcO2uxG0+/yc=; b=H8wgmwzz7P+QENwnovBQvRGoBo15lZKgfO8qmL8LJYEgMqVTUqkAQoB7d6PaCH2PajncshFTNtcC3hr0F9+BWwYJ/dVQ+CBfXn+mZcXcUxUrAKeJbJpsIWtbx5vRT8F2TkcydbuR9mNLm9dzttxsow0KtCh4aDw10CadNBXP8C4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1666561756; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=NbWtU3olU121d+AcE+b7S3gmeWbtA5gAcO2uxG0+/yc=; b=HZ4GsLXTQzfyqrZt9mYH5dDatYiPyKhQVG6d4unQSqJDEtzrr48Pkr/ucXhWjPq/ X5Wu39cYJZWr8Lmd6RBoo8fYZnDHhUWWq5Hr/QZ1ByrRtn2BsRUhZ8Jd6U4JDhe12MZ Nm/1jXApR4Y/2YonQxx3/F1JDKfEdw6953UbShSM= Received: from localhost (46-109-142-46.pool.kielnet.net [46.142.109.46]) by mx.zohomail.com with SMTPS id 1666561754163200.5761094370323; Sun, 23 Oct 2022 14:49:14 -0700 (PDT) References: User-agent: mu4e 1.8.9; emacs 28.1 From: Ricardo Wurmus To: Mohamed Amine LEGHERABA Cc: help-guix@gnu.org Subject: Re: no C_INCLUDE_PATH env variable defined : I can't compile C applications Date: Sun, 23 Oct 2022 23:48:00 +0200 In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87a65mb489.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666595136; 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=NbWtU3olU121d+AcE+b7S3gmeWbtA5gAcO2uxG0+/yc=; b=IhrOZC3/3lAdmHbNd03/BaSb1+HadmNib4GXOzcmdKER81qIGQ29j7DUNh0U56Q+QalHBb xeInTzIc/MsrVwoAr7ehWj2LRhJAxcXXPFUyjt05hbG7xX9kgTpsVDE3Mu6wDKvqMVNkRQ HgjHqMwnsZlVQbVhTOCsIKS6U37+5Ag9paydQrKdZZmWy5gK+ZgJAXsRuuKq/LuYBfZFti ItdIvWPVBwTdX9A3255N0Ob1nSL1/1SfxCNgdsX6fR37Ro57crlCMXABAp8/EQ7fTvN7OK t1QQO7dAi3V2LhioMZ8KSBKlFP9UoZNYp1A1dLbSYiIMLT2LFgc2mHH9RbZpKQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1666595136; a=rsa-sha256; cv=pass; b=MkfI9UN9lAgMCrU7kpRWe5FAEQdhNF+k6K/pj7oV0siWwV0BN6zw5Gp8AsDAtSN8p54uia TSe68rlt95YVv1sBDttG6hocp3NBU7YEvdg91Wdi1cFEgTUXTwcTbzNx4mtj65GzAXUYQz osOrN3hmJQY0IL4YJLcLjP0x5SCa8q0LDlJO1ICKsf0o3/M5fo3GhskL2hAmHUnnCEs+ig 8b2g08Zz3r1+pDEL/24fJxQ1nzMlUhVov8VlnJSvBquM0DuVa9P/Tx12WXdTlomusg/5PS gRkPyUP1ZLH68XEUrHg8enoZ/2k9iYPh9bvFAw042bSdgcuNQDYjvo82zTdbaw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=HZ4GsLXT; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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: -7.90 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=HZ4GsLXT; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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: 6AB4A3C1FB X-Spam-Score: -7.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: jJdWxLXUVOOC Mohamed Amine LEGHERABA via writes: > When I do "echo $C_INCLUDE_PATH" in my bash prompt (either my account or = root), I have nothing. > > When I run a custom guix shell (with gcc-toolchain) and I run "echo $C_IN= CLUDE_PATH", > I have "/gnu/store/1p21dbv408cb45zcc15v7wj0q7x99rz2-profile/include" > > Without this env variable, C programs can't use "linux/limits.h" or > other kernel related libraries. Any idea how to solve this problem ? You say that =E2=80=9Cguix shell=E2=80=9D sets the variable as expected. I= ts value depends on the packages you add to the =E2=80=9Cguix shell=E2=80=9D invocat= ion. You can also augment it manually to add whatever include directories you need. --=20 Ricardo