caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Leonardo Laguna Ruiz <modlfo@gmail.com>
To: Gabriel Scherer <gabriel.scherer@gmail.com>
Cc: Caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Problems with conf-ncurses
Date: Tue, 30 Aug 2016 12:27:37 +0300	[thread overview]
Message-ID: <7FA7E017-5846-4C12-9994-1D5EAAAAAF05@gmail.com> (raw)
In-Reply-To: <CAPFanBGPLq-0Y4tPXkTsw9=ZZAvZ7Y2sr8TYQxPfUSzncAqToA@mail.gmail.com>

Thank you for your answers,

I’ll create the pull request to try to fit this. I hope there are not many packages with this distro specific limitations. It would be nice if I can take any generic distro with pkg-config and being able to install these ocaml packages. At least the system should try a few know combinations in my generic linux distro.  


Leonardo

> On 30 Aug 2016, at 12:16, Gabriel Scherer <gabriel.scherer@gmail.com> wrote:
> 
> 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


  reply	other threads:[~2016-08-30  9:27 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
2016-08-30  9:27   ` Leonardo Laguna Ruiz [this message]
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=7FA7E017-5846-4C12-9994-1D5EAAAAAF05@gmail.com \
    --to=modlfo@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=gabriel.scherer@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).