From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: GFortran =?utf-8?Q?can=E2=80=99t?= find system headers Date: Tue, 15 Oct 2013 06:59:21 +0400 Message-ID: <87wqlfutme.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVumN-0003jr-J1 for guix-devel@gnu.org; Mon, 14 Oct 2013 22:54:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVumM-0006ew-QD for guix-devel@gnu.org; Mon, 14 Oct 2013 22:54:39 -0400 Received: from [2a01:7e00::f03c:91ff:fedf:181] (port=51007 helo=cooksoni.karetnikov.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVumM-0006es-KW for guix-devel@gnu.org; Mon, 14 Oct 2013 22:54:38 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I=E2=80=99m trying to package APL, which requires LAPACK, which requires Fortran. Here=E2=80=99s my attempt to add the last one: (define-public gfortran-4.8 (package (inherit gcc-4.8) (name "gfortran") (arguments `(#:configure-flags '("--enable-languages=3Dfortran"))))) I get the following error while trying to build it: The directory that should contain system headers does not exist: /usr/include Note that GFortran inherits GCC 4.8, which has these lines: (native-search-paths (list (search-path-specification (variable "CPATH") (directories '("include"))) (search-path-specification (variable "LIBRARY_PATH") (directories '("lib" "lib64"))))) Then why does the error appear? --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJSXK+OAAoJEM+IQzI9IQ38GVUP/1qBujEmHCXFwR1ikbX6juyc PfT6ARRSLQHZFhJr2nEkg1WEAG+jFEqChsAkRa52Lcd0whqdLlQjakIaG8TJrkc/ hdEf7qIJscV5s30Bn6CoQCgy73KcptJw244YB3m7P3vmjSC9L9LobXayu4ryfBJa rbMk4lpuFW2xzyGs1oCkAJNfXJh9ESPIpvBq9ZNLly4GKs4hJrXppkrWRuxSPTJC mH/JQVvfBAOdlo2iduk1x89+QutiMXofpxRWECX6fK6Y7l4KV+OltCncwJtGJVwA NqPKKIXyAIzpGDgzY7DdwZ1iqOpAq5UUjdWRW66JUWay5IONntOGjoLw+uG5mQ5t GXwszgFoqsGaAaPsvfjNSmeQQFpIlsScJXqgRW59hXgh9zX52A2hELXGJFktH7Fc gNNLjIGkXRIggutdPskEh85w0HFmFPqdZJqRS7yCbnVBpumqK1DMuw8E65vlrQb+ CNK8rFbVYVP8PWCSCnKNKYL2x5XLQdOieFesuhppjqQyHD/eYST9eqMKzKzV0tcX vbugTKdaHhah4A7yRyCFcbRkxQp6AG1ThPiL9cUY4h3qrv8KhSbtojZNjDdHiHkM +gxxfL54rdj0ovXsLmGBlV5EqTukwRa/uX/xJdAikaEzkKYo3xfyp52mzMDiMJHa xiZzsw3x1UrxcWDrH+/c =Wkce -----END PGP SIGNATURE----- --=-=-=--