From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: Leonardo Laguna Ruiz <modlfo@gmail.com>
Cc: Caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Problems with conf-ncurses
Date: Tue, 30 Aug 2016 11:16:31 +0200 [thread overview]
Message-ID: <CAPFanBGPLq-0Y4tPXkTsw9=ZZAvZ7Y2sr8TYQxPfUSzncAqToA@mail.gmail.com> (raw)
In-Reply-To: <396209A1-8A8B-468C-AC44-989F07CEC40B@gmail.com>
This is an issue with the opam metadata of the conf-ncurses package
not knowing about your system. conf-* packages mark dependencies on
libraries outside the OCaml ecosystem, and we manually indicate for
each system the system-level packages that correspond to this
dependency.
You can see the current metadata for the conf-ncurses package with
opam show --raw conf-ncurses
or by visiting
https://github.com/ocaml/opam-repository/blob/master/packages/conf-ncurses/conf-ncurses.1/opam
To fix your issue, you could clone the opam-repository github
repository, modify this metadata to add a "depexts" entry for your
system (with the name of the ncurses-devel package on your
distribution), and send the pull-request upstream. To know which name
to use on your system, call (this may require running "opam install
depext" if the depext plugin is not installed on your system)
opam depext --flags
My output is
# Depexts flags detected on this system: x86_64 linux fedora
so I use the "fedora" flag in the depext entry.
Note: if you encounter further issues of this kind, the best place to
report them would be
https://github.com/ocaml/opam-repository/issues
On Tue, Aug 30, 2016 at 10:36 AM, Leonardo Laguna Ruiz <modlfo@gmail.com> wrote:
> Hi,
>
> I tried to install a few packages in one of my computers and they fail because conf-ncurses fails to install. I’m using linux, the distro called solus, and I’m pretty sure that I have installed nurses (libraries and development files).
>
> When conf-ncurses 1 fails to install it suggest using `opam depext conf-ncurses.1’ which fails with the message:
>
>
> OPAM plugin depext is not installed. Install it on the current switch? [Y/n] y
> The following dependencies couldn't be met:
> - lwt -> conf-ncurses
> Your request can't be satisfied:
> - conf-ncurses is not available because your system doesn't comply with os = "darwin" | os = "freebsd" | os = "netbsd" | os = "openbsd".
>
> No solution found, exiting
>
> Is there any way I can fix this and get my computer working again?
>
> Thank you in advance,
>
> Leonardo
>
> --
> Caml-list mailing list. Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
next prev parent reply other threads:[~2016-08-30 9:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-30 8:36 Leonardo Laguna Ruiz
2016-08-30 9:13 ` Francois BERENGER
2016-08-30 9:16 ` Gabriel Scherer [this message]
2016-08-30 9:27 ` Leonardo Laguna Ruiz
2016-08-30 9:32 ` Gabriel Scherer
2016-08-31 15:09 ` Louis Gesbert
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='CAPFanBGPLq-0Y4tPXkTsw9=ZZAvZ7Y2sr8TYQxPfUSzncAqToA@mail.gmail.com' \
--to=gabriel.scherer@gmail.com \
--cc=caml-list@inria.fr \
--cc=modlfo@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 NNTP newsgroup(s).