help-guix
[Top][All Lists]
Advanced

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

Re: Error when installing package, CMAKE_Fortran_COMPILER could be found


From: Simon Tournier
Subject: Re: Error when installing package, CMAKE_Fortran_COMPILER could be found
Date: Tue, 28 Nov 2023 16:42:46 +0100

Hi Pierre,

On Fri, 24 Nov 2023 at 16:53, Tobias Geerinckx-Rice <me@tobias.gr> wrote:

> It appears that you haven't given the package a FORTRAN compiler to find.  Try
>
>   (native-inputs (list gfortran))

In addition to Tobias’s words, the recipe will fail at the tests:

--8<---------------cut here---------------start------------->8---
The following tests FAILED:
          1 - ../gmsh-3.0.6-source/demos/post_processing/lowmem-anim.geo 
(Failed)
          4 - ../gmsh-3.0.6-source/demos/simple_geo/antenna.geo (Timeout)
          8 - ../gmsh-3.0.6-source/demos/simple_geo/filter.geo (Failed)
          9 - ../gmsh-3.0.6-source/demos/simple_geo/hex.geo (Failed)
         11 - ../gmsh-3.0.6-source/demos/simple_geo/indheat.geo (Failed)
         12 - ../gmsh-3.0.6-source/demos/simple_geo/machine.geo (Timeout)
         13 - ../gmsh-3.0.6-source/demos/simple_geo/piece-extr-rec.geo (Failed)
         14 - ../gmsh-3.0.6-source/demos/simple_geo/piece-extr.geo (Failed)
         16 - ../gmsh-3.0.6-source/demos/simple_geo/pripyrtet.geo (Failed)
         18 - ../gmsh-3.0.6-source/demos/simple_geo/sphere.geo (Failed)
         29 - ../gmsh-3.0.6-source/tutorial/t13.geo (SEGFAULT)
         32 - ../gmsh-3.0.6-source/tutorial/t16.geo (Failed)
         33 - ../gmsh-3.0.6-source/tutorial/t17.geo (Failed)
         35 - ../gmsh-3.0.6-source/tutorial/t3.geo (Failed)
--8<---------------cut here---------------end--------------->8---

Well, IIRC, gmsh has some dependencies, depending on the default options
selected at configure time.  For instance, see the current Gmsh from the
module (gnu packages maths), e.g., guix edit gmsh or [1] lists all the
dependencies:

    (propagated-inputs
     (list fltk
           gfortran
           glu
           gmp
           hdf5
           lapack
           libx11
           libxext
           mesa
           metis
           opencascade-occt))
    (inputs
     (list fontconfig
           libxft
           python))

Moreover, I am not sure for this flag you set in your recipe:

                         "-DCMAKE_INSTALL_PREFIX=/opt/nextsim_gnu/gmsh-3.0.6"

Hope that helps.

Cheers,
simon


1: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/maths.scm#n3233



reply via email to

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