caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Francois Berenger <francois.berenger@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Problems installing with opam
Date: Mon, 28 Mar 2016 14:13:00 +0200	[thread overview]
Message-ID: <56F91FCC.7010703@inria.fr> (raw)
In-Reply-To: <56F9118E.5020201@freenet.de>

On 03/28/2016 01:12 PM, Mr. Herr wrote:
> All (really all?) the opam conf packages are just interfaces to the
> respective OS packages,
> so you would normally need the package plus the dev-package for it.
>
> Just search with apt-cache, apt-file, or command-not-found (beware the
> recursion, the latter two have to be installed :-)
>
> /Str.
>
> On 28.03.2016 05:08, Helmut Brandl wrote:
>> I have severe problems installing some packages with opam. I want to
>> install 'js_of_ocaml' with opam, but it cannot install the package
>> 'conf-pkg-config'. In trying to do this I get the error:
>>
>>     opam install conf-pkg-config
>>     The following actions will be performed:
>>       ∗  install conf-pkg-config 1.0
>>
>>     =-=- Gathering sources
>>     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>>     =-=- Processing actions
>>     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>     [ERROR] The compilation of conf-pkg-config failed at "pkg-config
>>     --help".
>>
>>     #=== ERROR while installing conf-pkg-config.1.0
>>     ===============================#
>>     # opam-version 1.2.2
>>     # os           linux
>>     # command      pkg-config --help
>>     # path /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0
>>     # compiler     4.02.3
>>     # exit-code    127
>>     # env-file
>>     /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.env
>>     # stdout-file
>>     /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.out
>>     # stderr-file
>>     /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.err
>>
>>
>>
>>     =-=- Error report
>>     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>     The following actions failed
>>       ∗  install conf-pkg-config 1.0
>>     No changes have been performed
>>
>>     =-=- conf-pkg-config.1.0 troobleshooting
>>     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>     => This package relies on external (system) dependencies that may
>>     be missing. `opam depext conf-pkg-config.1.0' may help you find the
>>        correct installation for your system.
>>
>>
>> The recommended check does not give any information.
>>
>> I have installed the version 4.02.3 successfully via opam and switched
>> to that version.
>>
>> Any ideas on how to analyze the problem?

Did you try what opam told you:

$ opam depext conf-pkg-config

If it does not work, try:

$ opam info --raw conf-pkg-config

This will list you the name of the needed system package for your Linux 
distribution.
Just by the name, I guess it's the package providing the command pkg-config.
If you are using an exotic linux distribution, tell use which one
and we may fix the package conf-pkg-config and even opam depext to work 
with your distribution.

-- 
Regards,
Francois.
"When in doubt, use more types"

  reply	other threads:[~2016-03-28 12:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-28  3:08 Helmut Brandl
2016-03-28  5:48 ` Mohamed Iguernlala
2016-03-28 12:32   ` Helmut Brandl
2016-03-28 12:37     ` Kakadu
2016-03-28 12:44       ` Helmut Brandl
2016-03-28 12:51         ` Kakadu
2016-03-28 13:14           ` Helmut Brandl
     [not found]             ` <56F930FF.6080607@inria.fr>
2016-03-28 13:36               ` Helmut Brandl
2016-03-28 13:40             ` Kakadu
2016-03-28 14:13               ` Helmut Brandl
     [not found]                 ` <56F94198.1040505@inria.fr>
2016-03-28 14:58                   ` Helmut Brandl
2016-03-28 11:12 ` Mr. Herr
2016-03-28 12:13   ` Francois Berenger [this message]
2016-03-28 12:27     ` Helmut Brandl

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=56F91FCC.7010703@inria.fr \
    --to=francois.berenger@inria.fr \
    --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).