From: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
To: Julien Lepiller <julien@lepiller.eu>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: OCaml package `ocaml-zarith` not working / Guix installed `ocamlc` not picking up installed libraries
Date: Mon, 30 Dec 2024 19:53:45 +0000 [thread overview]
Message-ID: <6a870903-f0c7-4ee4-a568-fc2ef2ff0bab@posteo.de> (raw)
In-Reply-To: <5C5E5640-35C0-43CD-8D29-1EB168E8DF30@lepiller.eu>
On 30.12.24 20:33, Julien Lepiller wrote:
> That might be a mismatch between ocaml (latest version is ocaml 5) and tge libraries which are currently built with ocaml4. If you try the same with ocaml@4, does it work?
Hi Julien!
If I try with the following manifest.scm:
~~~~manifest.scm~~~~ (specifications->manifest '("ocaml@4" "ocaml-utop" "dune"
;; "opam" "bash" "ocaml-zarith")) ~~~~
I get:
~~~~output~~~~ guix shell: warning: ambiguous package specification `ocaml@4'
guix shell: warning: choosing ocaml@4.14.1 from gnu/packages/ocaml.scm:256:2 The
following derivation will be built:
/gnu/store/qzxdn126savzdn3a9ayhy3fgkl79r1y6-profile.drv building CA certificate
bundle... listing Emacs sub-directories... building fonts directory... building
directory of Info manuals... building profile with 5 packages... guix shell:
checking the environment variables visible from shell '/bin/bash'... guix shell:
All is good! The shell gets correct environment variables. File "main.ml", line
1, characters 5-6: 1 | open Z ^ Error: Unbound module Z ~~~~
So I tried with `ocaml@4.14.1` instead, which according to the warning it chose
anyway, due to @4 being ambiguous, but the error remains.
Regards,
Zelphir
--
repositories:https://notabug.org/ZelphirKaltstahl,https://codeberg.org/ZelphirKaltstahl
next prev parent reply other threads:[~2024-12-30 19:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-30 17:50 OCaml package `ocaml-zarith` not working / Guix installed `ocamlc` not picking up installed libraries Zelphir Kaltstahl
2024-12-30 17:53 ` OCaml package `ocaml-zarith` not working / Guix installed `ocamlc` not picking up installed libraries (addendum 1) Zelphir Kaltstahl
2024-12-30 19:33 ` Julien Lepiller
2024-12-30 19:53 ` Zelphir Kaltstahl [this message]
2024-12-31 14:02 ` OCaml package `ocaml-zarith` not working / Guix installed `ocamlc` not picking up installed libraries (addendum 2 - using guix profiles) Zelphir Kaltstahl
2024-12-31 14:06 ` OCaml package `ocaml-zarith` not working / Guix installed `ocamlc` not picking up installed libraries (addendum 3 - comparison with guile) Zelphir Kaltstahl
2024-12-31 14:57 ` Julien Lepiller
2025-01-02 1:18 ` Zelphir Kaltstahl
2025-01-02 7:44 ` Julien Lepiller
2025-01-02 13:35 ` Zelphir Kaltstahl
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=6a870903-f0c7-4ee4-a568-fc2ef2ff0bab@posteo.de \
--to=zelphirkaltstahl@posteo.de \
--cc=help-guix@gnu.org \
--cc=julien@lepiller.eu \
/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).