From: Simon Tournier <zimon.toutoune@gmail.com>
To: Tobias Geerinckx-Rice <me@tobias.gr>,
Pierre Clouzet <pierre.clouzet@inria.fr>,
help-guix@gnu.org
Subject: Re: Error when installing package, CMAKE_Fortran_COMPILER could be found
Date: Tue, 28 Nov 2023 16:42:46 +0100 [thread overview]
Message-ID: <87bkbdanpl.fsf@gmail.com> (raw)
In-Reply-To: <C69E484D-E100-4592-A4BF-D55DC0D0B49A@tobias.gr>
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
next prev parent reply other threads:[~2023-11-28 15:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <441964777.14793216.1700756479745.JavaMail.zimbra@inria.fr>
2023-11-24 16:53 ` Error when installing package, CMAKE_Fortran_COMPILER could be found Tobias Geerinckx-Rice
2023-11-28 15:42 ` Simon Tournier [this message]
2023-11-30 9:44 ` Pierre Clouzet
2024-01-11 16:50 ` Simon Tournier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bkbdanpl.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=help-guix@gnu.org \
--cc=me@tobias.gr \
--cc=pierre.clouzet@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).