all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* GFortran can’t find system headers
@ 2013-10-15  2:59 Nikita Karetnikov
  2013-10-15 20:17 ` Ludovic Courtès
  0 siblings, 1 reply; 17+ messages in thread
From: Nikita Karetnikov @ 2013-10-15  2:59 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 794 bytes --]

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 #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-11-01 22:41 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-15  2:59 GFortran can’t find system headers Nikita Karetnikov
2013-10-15 20:17 ` Ludovic Courtès
2013-10-17 12:59   ` Nikita Karetnikov
2013-10-17 15:29     ` Ludovic Courtès
2013-10-19  8:58       ` GCC front-ends (was: GFortran can’t find system headers) Nikita Karetnikov
2013-10-26 20:08         ` GCC front-ends Ludovic Courtès
2013-10-27 10:39           ` Andreas Enge
2013-10-28 13:07             ` Ludovic Courtès
2013-10-29  8:39               ` Andreas Enge
2013-10-29 10:32                 ` Ludovic Courtès
2013-10-28 23:23           ` Nikita Karetnikov
2013-10-28 23:23             ` Ludovic Courtès
2013-10-28 23:38               ` Nikita Karetnikov
2013-10-31 20:13           ` [PATCH] gnu: Add GCC front ends for Fortran, Go, Objective C, and Objective C++ Nikita Karetnikov
2013-10-31 22:19             ` Ludovic Courtès
2013-11-01 21:00               ` Nikita Karetnikov
2013-11-01 22:41                 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.