caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: Basile Starynkevitch <basile@starynkevitch.net>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] compiling PatoLine typesetting system on Ubuntu 20.04
Date: Tue, 23 Feb 2021 13:19:56 +0100	[thread overview]
Message-ID: <CAPFanBFJSTE6EBbqYQC3eZNZQjd2_yA0_jJ53h5EwprbWaG4ug@mail.gmail.com> (raw)
In-Reply-To: <e922b605-3d07-5e43-cf44-0b09df177e8c@starynkevitch.net>

[-- Attachment #1: Type: text/plain, Size: 1967 bytes --]

Hi Basile,

I think that the error you get comes from a transition from opam1 (used in
the Patoline webpage for instructions, I guess) to opam2, which changed the
"opam switch" behavior to stop installing a new switch explicitly. The
command recommended in the error message, "opam switch create 4.05.0", will
do the equivalent of the README's command, and get you a 4.05.0 switch. You
should be able to build Patoline there, assuming the dependency bounds have
not bitrotted away.

Getting Patoline to work on a more recent OCaml version may be very easy
(just installing it in a newer switch) or very hard, depending on the
change-robustness and maintenance level of its codebase and various
dependencies. You cannot tell without trying.

Looking at the "issues" list suggests that Patoline is intermittently
maintained by Rodolphe Lepigre, so I think you should get help if you open
an issue on the repository to report on any further trouble installing
Patoline, using either 4.05 or a more recent version.

On Tue, Feb 23, 2021 at 11:32 AM Basile Starynkevitch <
basile@starynkevitch.net> wrote:

> Hello all,
>
>
> I am interesting in compiling the PatoLine typesetting system on some
> Ubuntu 20.04 desktop
>
> (either Intel Xeon Silver 4114 at work, or AMD Ryzen Threadripper 2970WX
> at home; with at least 64Gbytes of RAM, and plenty of disk space)
>
> PatoLine is on https://github.com/patoline/patoline
>
> I would like to use a rather recent Ocaml (4.08 or newer)
>
> With the git commit 3dcd41fdff6489 of PatoLine I am getting
>
> rimski% opam switch 4.05.0
> [ERROR] No switch 4.05.0 is currently installed. Did you mean 'opam
> switch create
>          4.05.0'?
>          Installed switches are:
>            - default
>
> Thanks for help
>
>
> --
> Basile Starynkevitch                  <basile@starynkevitch.net>
> (only mine opinions / les opinions sont miennes uniquement)
> 92340 Bourg-la-Reine, France
> web page: starynkevitch.net/Basile/
>
>

[-- Attachment #2: Type: text/html, Size: 2752 bytes --]

      reply	other threads:[~2021-02-23 12:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-23 10:32 Basile Starynkevitch
2021-02-23 12:19 ` Gabriel Scherer [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPFanBFJSTE6EBbqYQC3eZNZQjd2_yA0_jJ53h5EwprbWaG4ug@mail.gmail.com \
    --to=gabriel.scherer@gmail.com \
    --cc=basile@starynkevitch.net \
    --cc=caml-list@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 NNTP newsgroup(s).