From: Pierre Clouzet <pierre.clouzet@inria.fr>
To: Simon Tournier <zimon.toutoune@gmail.com>
Cc: Tobias Geerinckx-Rice <me@tobias.gr>, help-guix@gnu.org
Subject: Re: Error when installing package, CMAKE_Fortran_COMPILER could be found
Date: Thu, 30 Nov 2023 10:44:11 +0100 (CET) [thread overview]
Message-ID: <1612596752.18481399.1701337451103.JavaMail.zimbra@inria.fr> (raw)
In-Reply-To: <87bkbdanpl.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3085 bytes --]
Hi Simon,
Thanks for your reply! I managed to make it work finally. I'm working with an old code that need this specific version of the package.
Also, this code does not use configure/make/make install of cmake/make/make install way of installing.
Instead I need to run a script exporting variables with a . ./script.sh command
I was wondering if you could give me a hint about how to say in a manifest how to run such script (if possible).
You can find such script attached.
Thanks,
Pierre
----- Mail original -----
> De: "Simon Tournier" <zimon.toutoune@gmail.com>
> À: "Tobias Geerinckx-Rice" <me@tobias.gr>, "Pierre Clouzet" <pierre.clouzet@inria.fr>, help-guix@gnu.org
> Envoyé: Mardi 28 Novembre 2023 16:42:46
> Objet: Re: Error when installing package, CMAKE_Fortran_COMPILER could be found
> 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
[-- Attachment #2: set_env_linux.sh --]
[-- Type: application/x-shellscript, Size: 3133 bytes --]
next prev parent reply other threads:[~2023-12-03 13:21 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
2023-11-30 9:44 ` Pierre Clouzet [this message]
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=1612596752.18481399.1701337451103.JavaMail.zimbra@inria.fr \
--to=pierre.clouzet@inria.fr \
--cc=help-guix@gnu.org \
--cc=me@tobias.gr \
--cc=zimon.toutoune@gmail.com \
/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).