caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Johan Mazel <johan.mazel@gmail.com>
To: OCaml Mailing List <caml-list@inria.fr>
Subject: [Caml-list] Problem with gsl installation with opam
Date: Tue, 1 Mar 2016 13:50:07 +0900	[thread overview]
Message-ID: <CAKS5mhRwy=1KRTzEmSt26S8-LntEJGd-ptsxcB2Z2RGUhFdswA@mail.gmail.com> (raw)

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

Hi
First of all, I am not sure if I am writing this to the correct mailing
list. If not, please tell me where should I send this.

I am trying to install gsl (https://opam.ocaml.org/packages/gsl/gsl.1.19.1/)
with opam.
I previously installed OCaml 4.02.3 with opam.

I get this message error when I do "opam install gsl":

The following actions will be performed:
  ∗  install conf-ncurses 1                   [required by ocamlfind]
  ∗  install conf-gsl     1                   [required by gsl]
  ∗  install ocamlfind    1.6.1               [required by gsl]
  ∗  install gsl          1.19.1
===== ∗  4 =====
Do you want to continue ? [Y/n] y

=-=- Gathering sources
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[gsl] Archive in cache
[ocamlfind] Archive in cache

=-=- Processing actions
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of conf-gsl failed at "pkg-config gsl".
[ERROR] The compilation of conf-ncurses failed at "pkg-config ncurses".

#=== ERROR while installing conf-gsl.1
========================================#
# opam-version 1.2.2
# os           linux
# command      pkg-config gsl
# path         /home/jmazel/.opam/4.02.3/build/conf-gsl.1
# compiler     4.02.3
# exit-code    127
# env-file
/home/jmazel/.opam/4.02.3/build/conf-gsl.1/conf-gsl-10926-5f1023.env
# stdout-file
/home/jmazel/.opam/4.02.3/build/conf-gsl.1/conf-gsl-10926-5f1023.out
# stderr-file
/home/jmazel/.opam/4.02.3/build/conf-gsl.1/conf-gsl-10926-5f1023.err


#=== ERROR while installing conf-ncurses.1
====================================#
# opam-version 1.2.2
# os           linux
# command      pkg-config ncurses
# path         /home/jmazel/.opam/4.02.3/build/conf-ncurses.1
# compiler     4.02.3
# exit-code    127
# env-file
/home/jmazel/.opam/4.02.3/build/conf-ncurses.1/conf-ncurses-10926-58c514.env
# stdout-file
/home/jmazel/.opam/4.02.3/build/conf-ncurses.1/conf-ncurses-10926-58c514.out
# stderr-file
/home/jmazel/.opam/4.02.3/build/conf-ncurses.1/conf-ncurses-10926-58c514.err
### stdout ###




=-=- Error report
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions were aborted
  ∗  install gsl       1.19.1
  ∗  install ocamlfind 1.6.1
The following actions failed
  ∗  install conf-gsl     1
  ∗  install conf-ncurses 1
No changes have been performed

=-=- conf-gsl.1 troobleshooting
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=> This package relies on external (system) dependencies that may be
missing. `opam depext conf-gsl.1' may help you find the correct
installation for
   your system.

=-=- conf-ncurses.1 troobleshooting
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=> This package relies on external (system) dependencies that may be
missing. `opam depext conf-ncurses.1' may help you find the correct
installation
   for your system.

opam depext conf-gsl.1 yields:
# Detecting depexts using flags: x86_64 linux debian
# The following system packages are needed:
#  - libgsl0-dev
Not running as root, the following command will be run through "sudo":
    apt-get install -qq -yy libgsl0-dev
# OS packages installation successful

opam depext conf-ncurses.1 yields:
# Detecting depexts using flags: x86_64 linux debian
# The following system packages are needed:
#  - ncurses-dev
Not running as root, the following command will be run through "sudo":
    apt-get install -qq -yy ncurses-dev
# OS packages installation successful

If I rerun "opam install gsl", I get the same output as above.
And no matter how many times I run "opam depext conf-gsl.1" and "opam
depext conf-ncurses.1", no new packages are installed.

libncurses5-dev is installed. Its version is 6.0+20160213-1.
libgsl-dev is installed. Its version is 2.1+dfsg-2.

As a side note, on my system compiler (4.02.3), libocamlgsl-ocaml-dev is
installed and it has no dependency problems.

Thank you very much for your time.
Regards,
Johan

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

             reply	other threads:[~2016-03-01  4:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-01  4:50 Johan Mazel [this message]
2016-03-01  5:01 ` Markus Mottl
2016-03-01  5:25   ` Johan Mazel
2016-03-01  5:36     ` Markus Mottl
2016-03-01  5:52       ` Johan Mazel
2016-03-01  5:58         ` Johan Mazel

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='CAKS5mhRwy=1KRTzEmSt26S8-LntEJGd-ptsxcB2Z2RGUhFdswA@mail.gmail.com' \
    --to=johan.mazel@gmail.com \
    --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).