From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id INV6HOY1oWXWSQAAkFu2QA (envelope-from ) for ; Fri, 12 Jan 2024 13:51:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MPTVFOY1oWXSZgAAe85BDQ (envelope-from ) for ; Fri, 12 Jan 2024 13:51:50 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="C/708uCP"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705063910; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Ns+V9pfVGl3Hm/tivUlV7weJq3kAoDQ0qlFAK4mLh/M=; b=QR3eld1DY0snZLu45cx71EOtK/g78No2FDGir9dPD2WrpxvkeN749pwUCbRIj6Fk2uGKD8 2LvQJLsRf3nzyAw2FY3fRx7YpVRL7e64gjvDQmS7HdSER4UMg/SZfCsrbI3jeZu3S5l9Ju 8jT2OvOTSG3sp31IInHbxJNvWcts+9KyH0yYautS4QBidpJOOIi0uJZ+QFj/xjX8vqRJD+ ePQ+CUvtV6kSg8VL9vnI7kSx3DdOLMMeI5vShk19XnZ22cyRWRN359KKG05+MSsmTbekIZ /ePIv08dRvocgrrU/YQVtq2vwzuWxbAuECytzVzwz9IVfzyRAyu8dySXQveVHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="C/708uCP"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705063910; a=rsa-sha256; cv=none; b=Na/Ds2oBMcIUFFZghdOfkrG22f8rrj5k5hm5fcanrPkx3ORGj7I+2UUrmyzeTsZUL5s4Rx vb6GEeKxAedwIWM+dPHRk4dZTsJd0ovX1ipAvLEX8PgmGkMI0BKkKEa+L2TlFy2al9elwL /AO4Pf7sLFlaf6gJ2U9fOqt+CCVdPeEfHezDSqSM5EkKUIEkgzxNTP5YvdbpGP/3SpnV2G vsl3ko5PHyXxuR9FyP4ebyr9tPADRBni3+m28sK4I0qijB1UXHntEF7fjMjD0/cZFHz4Jl 712U9PDzcsDi2NOIA/cmXGfMl6QVWnttIl1a/6U4Z772jDWt572QtcSwZP++sQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 07F9B727D7 for ; Fri, 12 Jan 2024 13:51:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOH0M-0004yV-S8; Fri, 12 Jan 2024 07:51:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOH0H-0004vk-Dx for help-guix@gnu.org; Fri, 12 Jan 2024 07:51:18 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOH0C-00042r-Ew for help-guix@gnu.org; Fri, 12 Jan 2024 07:51:16 -0500 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-33677e66243so987757f8f.1 for ; Fri, 12 Jan 2024 04:51:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705063869; x=1705668669; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Ns+V9pfVGl3Hm/tivUlV7weJq3kAoDQ0qlFAK4mLh/M=; b=C/708uCPqCxVXvEgoXpKFPZA7JBv5rSLytQDxpTiZtpDfbyM2I0K+Jv4rE4+vNyoik rwTJb9t/634ERIQYkJt3aYDc1TlvdYWMFoYoh74NPzjHsMDDdTC+uRnGuksbPDRN4nyZ Ja2YqbsDEHmzTMaCGANv63ExCDQ4vZMLaq8V25GlPJ+6YpazO7THFIV7vgsaGJBhyRSe rp1s3imU47wzYqc4y2rgmJ62f9RAzW6CtBUPA92C4llzAFyDefKsGNNjonRepgB7/su+ PZ6UDFsfO57mCyYcQfWJyoAWuqzOBHFVMdyolhDc1lXaQECkX9mIANXkKCyBwxNMt2ly URPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705063869; x=1705668669; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ns+V9pfVGl3Hm/tivUlV7weJq3kAoDQ0qlFAK4mLh/M=; b=iCgEgfpnUjdZpCd5aGkDSQCWBp7X4q6MG9HziPtfDT0/j7bCUvFHlvLKg2Uu2aZIfo E/rnAqE1zI8dogWnIMaY6A13Y+06YYFhPwgJR/W2oUkQOKDTuVVRm2TWyb0+VyCHfToF KqdObiCTujDkmV7urecuYKmnVaNqDmDwcfbRbzIoE6xL7ZuiV+B4Td/RWkxwwi2cM3rM 1YECOWOlBiwqTuf0WR+cfJ1hmrF9cFAQ4ThjB3kjOvAyJNHdFIyFv0dTDR66HaX6Uopc FesSaWme7rKHl7tD4Wu8FsqPrt6LwZ+ClNyyBFme7O6l1vUwGjkiuL9XapHG0Am4zLia MwQA== X-Gm-Message-State: AOJu0YxWOwbV7H5QAXuaAu4wjHK9RNK4Vv+7/cbJqy+6wEpC85+YXKwQ gJqqiioTObPcReLWY5fEF67r+7Fz+bo= X-Google-Smtp-Source: AGHT+IH5f5G5/e/zjOx04gRigxDiDbIgSUnpv1hpLvNc68Tfnpdx9Te4iiXwRhNlBOVet9N2r0eP5w== X-Received: by 2002:adf:fecb:0:b0:336:6414:4018 with SMTP id q11-20020adffecb000000b0033664144018mr905338wrs.4.1705063869079; Fri, 12 Jan 2024 04:51:09 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id q6-20020adf9dc6000000b003378e67fd2asm3167922wre.86.2024.01.12.04.51.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 04:51:08 -0800 (PST) From: Simon Tournier To: Pierre Clouzet Cc: Tobias Geerinckx-Rice , help-guix@gnu.org Subject: Re: Error when installing package, CMAKE_Fortran_COMPILER could be found In-Reply-To: <1612596752.18481399.1701337451103.JavaMail.zimbra@inria.fr> References: <441964777.14793216.1700756479745.JavaMail.zimbra@inria.fr> <87bkbdanpl.fsf@gmail.com> <1612596752.18481399.1701337451103.JavaMail.zimbra@inria.fr> Date: Thu, 11 Jan 2024 17:50:54 +0100 Message-ID: <878r4v24r5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42c.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -10.02 X-Spam-Score: -10.02 X-Migadu-Queue-Id: 07F9B727D7 X-TUID: VjoL1SNDu3jS Hi Pierre, Sorry for the late reply. On Thu, 30 Nov 2023 at 10:44, Pierre Clouzet wrot= e: > Also, this code does not use configure/make/make install of cmake/make/ma= ke install way of installing. > Instead I need to run a script exporting variables with a . ./script.sh c= ommand > I was wondering if you could give me a hint about how to say in a manifes= t how to run such script (if possible). > You can find such script attached. If you have not found a way in the mean time, I do not have an answer because I am a bit confused by your question. :-) Do you mean run the script with some manifest.scm file as with =E2=80=9Cguix shell -m manifest.scm=E2=80=9D or do you mean include such script with the = Guix recipe of your package variant? If I understand correctly, you are trying to package nextsim that needs one specific version of Gmsh, right? The script set_env_linux.sh reads, --8<---------------cut here---------------start------------->8--- # 1. Before compiling, install: # - necdf, necdfcxx, boost, openmpi, gcc11: # sudo apt install libnetcdf-c++4 libnetcdf-dev libblas-dev liblapack-dev l= ibboost-dev \ # libboost-chrono-dev \ libboost-date-time-dev \ libboost-filesystem-dev \ # libboost-iostreams-dev \ libboost-log-dev \ libboost-locale-dev \ # libboost-math-dev \ libboost-mpi-dev \ libboost-program-options-dev \ # libboost-regex-dev \ libboost-serialization-dev \ libboost-system-dev \ l= ibboost-timer-dev # - also go to dependencies/gmsh-3.0.6-source # and run the install_gmsh_for_nextsim.sh WITHOUT changing the CMAKE_PREFIX= _INSTALL variable. # 2. Compiling: # -check that paths listed below, fit your configuration. # - run this script to set the environement: ". ./set_env_linux.sh" (NOT ./= set_env_linux.sh) # - run make -j${nproc} --8<---------------cut here---------------end--------------->8--- and it is not clear: 1. if you want or not keep the dependencies from APT or replace them by the ones from Guix? 2. if you want to only build Gmsh with Guix and all the rest not? 3. how you would like to build nextsim? What would make sense to me would to build all using Guix; it would mean: a) package the patched version of Gmsh (somehow replace install_gmsh_for_nextsim.sh) b) tweak set_env_linux.sh for making it Guix-friendly (substitute the various hard coded PATH by Guix ones, etc.) c) replace the =E2=80=99build=E2=80=99 phase of cmake build-system by call= ing this modified script by step b. Well, maybe I misread the question. :-) Cheers, simon