guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GFortran can’t find system headers


From: Nikita Karetnikov
Subject: GFortran can’t find system headers
Date: Tue, 15 Oct 2013 06:59:21 +0400

I’m trying to package APL, which requires LAPACK, which requires
Fortran.

Here’s my attempt to add the last one:

(define-public gfortran-4.8
  (package (inherit gcc-4.8)
    (name "gfortran")
    (arguments `(#:configure-flags '("--enable-languages=fortran")))))

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?

Attachment: pgpuDmdadKonk.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]