From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qPcgNViWdmc6ngAA62LTzQ:P1 (envelope-from ) for ; Thu, 02 Jan 2025 13:36:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id qPcgNViWdmc6ngAA62LTzQ (envelope-from ) for ; Thu, 02 Jan 2025 14:36:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b="o9Vn3/29"; 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=posteo.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735824984; 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=F1jsKjlGrYrCfPqYVZqoCmfFukI+9XxdYg6d6NedFdE=; b=AgPZcBbeazF8/kogPttROJpQUCEPFMQDm9zauHYqIRk2PF5Xvgt5flcsZJmbWilRTGKkkD GZvYVkGcLQI3NBoVo1L2H1YvHfimRm0t90aByrUf90+2wpK9FXJ10XvUN95Rr39M7gqWJt VsIo6RbnkXYcYAKsUKlrxl0VB0x5rNM4dStYO3jo6wKmg+HOAS8f+Qe2CSgVn2R7RFm63C rP8iU1a7Jb5hU3QEiO1uknpp5DkeCQlduYPp3L258h/rrfueXUXhnPC5+Vgqmn3tqsNsut 4r1m2S0cfhQ3Ozqf9Bi4gTfrJc+C0HZ6N3AAXgg+9AuDGhmOu//6NtFFqw+avw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b="o9Vn3/29"; 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=posteo.de ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735824984; a=rsa-sha256; cv=none; b=D6/Kq/xuIG1hm5Okbu/d1SKVCtp0ZEKNobyOnudywG9MidXNhTXAle2oxeW92gJYlMd2Dy x4yd5wMrwqbMHGoDKZDOWE9Jsj232+/rdm3Qz5ZQrlSEVrwppw7I7ixOHeI0MxLFbPtn41 TPLMfRqhAO4/YXx4zwUcHlg8afrUkgUv4SK9hhn6E9vPu1SfoxL0TZxb0i9vUfVohG7846 /jkeLujf3MEED3HLvj/Pef02C+ilqInPamO3hbCtabIchULhHxWyaia4aHmmiAxIBG6Nf9 0cUwtajfnmRAUouT51DAFzYAFuf/YsyfxQEj9e3ZzEOwCW/H0Ap3U3aDPKJisA== 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 AF4A23291B for ; Thu, 02 Jan 2025 14:36:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTLMk-0007uE-Jw; Thu, 02 Jan 2025 08:35:58 -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 1tTLMj-0007u3-DB for help-guix@gnu.org; Thu, 02 Jan 2025 08:35:57 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTLMg-0007HY-TB for help-guix@gnu.org; Thu, 02 Jan 2025 08:35:57 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id AB644240027 for ; Thu, 2 Jan 2025 14:35:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1735824951; bh=MQCGCFRbPspSMLOHzmuvHeDW6K2yIRkZP3rWG4rwWyI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type: Content-Transfer-Encoding:From; b=o9Vn3/29Q84baCaE9WLrJEiog7c4YVWJmsvtWyWPuGiRi1b9gjcAkdGy2e4ds74vy v33P82CkWItoSO1wLfjYDrJ/oKBxgk/zm715pB5y3BOTk1FrIQ1jjT12bMGXttJcuq qB9BuSC/8iNPO7do/EC38IAiW+BY+Pdfm1nie9Xciltsh4i7PNhHLFeZUkxDD6yTKF 78vKqchcaBel5hu7ZZj3lys1nWowF3ozGJpDmx496dRcYraWCRaqrF9SH6E6jhTm5o 5v+c7+KkwGR6EKC5AIgguLC0BXUv9NMXJOXBHlNlFVmUKjsrntDKeANsJ/cTrdotCG HXQeIscrVuzCw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YP7516p2hz9rxF; Thu, 2 Jan 2025 14:35:49 +0100 (CET) Message-ID: <79dad780-518f-4252-9bb4-ea7d6127d527@posteo.de> Date: Thu, 2 Jan 2025 13:35:49 +0000 MIME-Version: 1.0 Subject: Re: OCaml package `ocaml-zarith` not working / Guix installed `ocamlc` not picking up installed libraries (addendum 3 - comparison with guile) To: Julien Lepiller Cc: help-guix References: <62213a9d-3bab-4f0f-bd7b-9a98b880ae0d@posteo.de> From: Zelphir Kaltstahl Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=zelphirkaltstahl@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: mx12.migadu.com X-Migadu-Spam-Score: -6.44 X-Spam-Score: -6.44 X-Migadu-Queue-Id: AF4A23291B X-TUID: 9JGt+DswvWtw Hello Julien! Indeed, it is in the readme of zarith. I should have checked more thoroughly. I skipped that whole "Installation" section, because I thought: "I already installed it using Guix." ^^' Anyway, now with library usage being possible and finally having a working factorial (haha), I can continue learning! Thanks you for your help! Best wishes, Zelphir On 02.01.25 08:44, Julien Lepiller wrote: > I've seen ocamlfind being used by the build process of some packages. Then just a quick search on the internet. The readme of zarith also mentions it. It also mentions using ocamlc directly, but that didn't work for me. > > Le 2 janvier 2025 02:18:25 GMT+01:00, Zelphir Kaltstahl a écrit : >> On 31.12.24 15:57, Julien Lepiller wrote: >>> I tried and after adding ocaml-findlib in the shell, I was able to build with: >>> >>> ocamlfind ocamlc -package zarith -linkpkg -o main main.ml >>> >>> I don't use ocaml often but it looks like how you need to specify the libraries to gcc with -I and -l. >>> >>> I don't know how it would work with ocamlc alone. Does it work like that on other distros? >> Hi Julien! >> >> Thank you for figuring this out! It works for me as well. >> >> May I ask, how you found out about this? >> >> Best regards, Zelphir >> -- repositories: https://notabug.org/ZelphirKaltstahl, https://codeberg.org/ZelphirKaltstahl