From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: Gabriel Kerneis <kerneis@pps.jussieu.fr>
Cc: oliver <oliver@first.in-berlin.de>,
Francois Berenger <berenger@riken.jp>,
caml-list@inria.fr
Subject: Re: [Caml-list] Old and new OCaml installed on same machine?
Date: Mon, 25 Feb 2013 10:03:02 +0100 [thread overview]
Message-ID: <CAPFanBGmU8KBBYz++ttpJTXeHOMsJog8EPkBd8tC5egxsT6AHg@mail.gmail.com> (raw)
In-Reply-To: <20130225080725.GB4196@kerneis.info>
[-- Attachment #1: Type: text/plain, Size: 1797 bytes --]
While I don't like the form in which oliver's remark is expressed, I do
agree that the interface with non-OCaml libraries could be improved. First,
it is strange that not having a C library would fail during the compilation
step (with a non-obvious error message hidden in a sea of text) rather than
the configure step, which is precisely meant to detect this kind of missing
requirements. Second, GODI has a rather nice way to handle external
libraries (they are represented as specific virtualish packages that are
explicitly marked as represented an external dependency, and make it clear
what should be installed for a specific package) and handles configuration
nicely. I would expect the same of OPAM.
On Mon, Feb 25, 2013 at 9:07 AM, Gabriel Kerneis <kerneis@pps.jussieu.fr>wrote:
> Oliver,
>
> On Mon, Feb 25, 2013 at 03:09:09AM +0100, oliver wrote:
> > I have
> > libcurl-ocaml
> > and
> > libcurl-ocaml-dev
> > installed.
>
> I guess you need to install libcurl-dev as well.
>
> > But even if not, OPAM should install the needed stuff.
> > Thats what the command "opam install ocurl" has to do.
>
> I disagree: opam should not install package outside of its scope (i.e.
> OCaml
> packages). You are trying to install an OCaml binding to the libcurl C
> library,
> it seems fair to expect that you have the latter installed already.
>
> > If it fails, the infrastructure is not working
> > properly.
>
> On the other hand, a more friendly error-message would be welcome (but
> this is a
> libcurl issue, not an opam one).
>
> Best,
> --
> Gabriel
>
> --
> 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
>
[-- Attachment #2: Type: text/html, Size: 2588 bytes --]
next prev parent reply other threads:[~2013-02-25 9:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-18 7:22 oliver
2013-02-18 7:34 ` Roberto Di Cosmo
2013-02-18 14:16 ` oliver
2013-02-25 0:50 ` oliver
2013-02-25 1:26 ` Francois Berenger
2013-02-25 2:09 ` oliver
2013-02-25 8:07 ` Gabriel Kerneis
2013-02-25 9:03 ` Gabriel Scherer [this message]
2013-02-27 1:28 ` oliver
2013-02-18 7:43 ` Francois Berenger
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=CAPFanBGmU8KBBYz++ttpJTXeHOMsJog8EPkBd8tC5egxsT6AHg@mail.gmail.com \
--to=gabriel.scherer@gmail.com \
--cc=berenger@riken.jp \
--cc=caml-list@inria.fr \
--cc=kerneis@pps.jussieu.fr \
--cc=oliver@first.in-berlin.de \
/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