From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id A80E17FB82 for ; Tue, 1 Mar 2016 06:01:14 +0100 (CET) IronPort-PHdr: 9a23:4vzG0hNitjDT3kMaKaIl6mtUPXoX/o7sNwtQ0KIMzox0KPvzrarrMEGX3/hxlliBBdydsKIbzbSH+PC5EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ35vxibH5q8SbSj4LrQT+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6LoJvvRNWqTifqk+UacQTHF/azh0t4XXskzhSguG4DM5W3cbllIcAQ/F5Re8W57jvy/Sue902S3cNsrzG+MaQzOnuoJiUhz1k28iMCIl9CmDj8Vqj79A5hemuwB764HRaYCRcvF5e/WOLpshWWNdU5MJBGR6CYSmYt5KVrJZMA== Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=markus.mottl@gmail.com; spf=Pass smtp.mailfrom=markus.mottl@gmail.com; spf=None smtp.helo=postmaster@mail-ob0-f175.google.com Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of markus.mottl@gmail.com) identity=pra; client-ip=209.85.214.175; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="markus.mottl@gmail.com"; x-sender="markus.mottl@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of markus.mottl@gmail.com designates 209.85.214.175 as permitted sender) identity=mailfrom; client-ip=209.85.214.175; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="markus.mottl@gmail.com"; x-sender="markus.mottl@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ob0-f175.google.com) identity=helo; client-ip=209.85.214.175; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="markus.mottl@gmail.com"; x-sender="postmaster@mail-ob0-f175.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DDAACmIdVWla/WVdFeg1g0Xg8GqHSRdAENgWcXCoVyAoE4BzgUAQEBAQEBAQEQAQEBAQcLCwkhL4ItghUBAQQSER0BFAcSCwEDDAYFCw0CAiYCAiEBAREBBQEcBhMih2cBAxIOow6BMT4xizSBaYJXhT8KGScNUYNwAQEBAQEBAQEBAQEBAQEBAQETAQUKBG2FF4Q6gjodgVyCSgstE4EnBYdMCIZLPYgxgUKEF4YVgXSBX4REiFKHB4YGER6BDx4BAYI4HoFuHi4BAQGISQEBAQ X-IPAS-Result: A0DDAACmIdVWla/WVdFeg1g0Xg8GqHSRdAENgWcXCoVyAoE4BzgUAQEBAQEBAQEQAQEBAQcLCwkhL4ItghUBAQQSER0BFAcSCwEDDAYFCw0CAiYCAiEBAREBBQEcBhMih2cBAxIOow6BMT4xizSBaYJXhT8KGScNUYNwAQEBAQEBAQEBAQEBAQEBAQETAQUKBG2FF4Q6gjodgVyCSgstE4EnBYdMCIZLPYgxgUKEF4YVgXSBX4REiFKHB4YGER6BDx4BAYI4HoFuHi4BAQGISQEBAQ X-IronPort-AV: E=Sophos;i="5.22,522,1449529200"; d="scan'208";a="205160581" Received: from mail-ob0-f175.google.com ([209.85.214.175]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 01 Mar 2016 06:01:13 +0100 Received: by mail-ob0-f175.google.com with SMTP id xx9so43297060obc.2 for ; Mon, 29 Feb 2016 21:01:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=F6PB7qVsqwzfxW8LW7TRw8uzk6GSFWLxM5VdOXT6gnI=; b=NiZVrzD9cEs9MJKPyU6UXYD1JbmiGfo42vXRZt4O7nEtUKwW6wYdW9iGlK/+PvGSO6 FlDZyyYY94Qk5s/c8qgcmj8uarbRjP2dVYz3BqTkEGjUmGH23iVhaysK57j2gQKAkfJD +YFzXtS7lheMn5pagj4J2f3bQJaQTHksRRj6ZaO+KSRV7tbZ4xPwOMDFtF3Qp9yWw17c Q2X/qYs7KNAgPAgNBj867ZqvwkB64I90klEQYMXHcQ9o5xWwhU2RAj24/POz8V/ts/+l 4SchBtGBn9/c2+e//01F+UEIrpD2sP+vIKgBU7RLGrVwu6Kd/K/HlBRvLM2vsngf0APo xuzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=F6PB7qVsqwzfxW8LW7TRw8uzk6GSFWLxM5VdOXT6gnI=; b=d2GD3cLk1WoDXW6dAsTGEAqP+ftOCflqWTSg/ErVXeYZAyjsKc1DH630JyeoOUaUbB edGbF5nt1W5dWRwxbMxep6fbZ/FhZ/5s5NKannrhKzTlwi3748z+ZUK/2IUmQIFADMLQ OwLnVprqrQYwTT+KlrM01XN3AKgK6gQ+Qfu3a20WyymvL7w5slyzO3WSx79C69BY8ywd nKkorSuYv0OVyvveX/kTIo5Rk00IeRGe1+OLj6/qYFeckg1hB0vSHjj3Zfh2QCdOLBHA uQjc+5VCMMMXvFq2JDksu2HJYPuxgx2kNzbpWL0qIzQe4mNSx1FBExxisiDhU+DUXDJr dLbA== X-Gm-Message-State: AD7BkJIRlCPB2xIzdphlymlKV/v5mRBnPfp4cbNOhQBpLmZrWDOxcSsimwiOcNpXRU36g89XoeFQy7GAObroPA== MIME-Version: 1.0 X-Received: by 10.60.142.230 with SMTP id rz6mr9935353oeb.5.1456808472220; Mon, 29 Feb 2016 21:01:12 -0800 (PST) Received: by 10.182.128.164 with HTTP; Mon, 29 Feb 2016 21:01:12 -0800 (PST) In-Reply-To: References: Date: Tue, 1 Mar 2016 00:01:12 -0500 Message-ID: From: Markus Mottl To: Johan Mazel Cc: OCaml Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Caml-list] Problem with gsl installation with opam Considering that two unrelated packages are apparently failing on the exact same command (pkg-config), I assume that this is the source of the problem. Maybe `pkg-config` needs to be installed first, or the right one needs to be in your path. Just make sure the command will return meaningful compilation and linking flags for the required packages, and installation through OPAM should work. Regards, Markus On Mon, Feb 29, 2016 at 11:50 PM, Johan Mazel wrote: > 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: > =E2=88=97 install conf-ncurses 1 [required by ocamlf= ind] > =E2=88=97 install conf-gsl 1 [required by gsl] > =E2=88=97 install ocamlfind 1.6.1 [required by gsl] > =E2=88=97 install gsl 1.19.1 > =3D=3D=3D=3D=3D =E2=88=97 4 =3D=3D=3D=3D=3D > Do you want to continue ? [Y/n] y > > =3D-=3D- Gathering sources > =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D > [gsl] Archive in cache > [ocamlfind] Archive in cache > > =3D-=3D- Processing actions > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D > [ERROR] The compilation of conf-gsl failed at "pkg-config gsl". > [ERROR] The compilation of conf-ncurses failed at "pkg-config ncurses". > > #=3D=3D=3D ERROR while installing conf-gsl.1 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D# > # 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 > > > #=3D=3D=3D ERROR while installing conf-ncurses.1 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D# > # 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 ### > > > > > =3D-=3D- Error report > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D > The following actions were aborted > =E2=88=97 install gsl 1.19.1 > =E2=88=97 install ocamlfind 1.6.1 > The following actions failed > =E2=88=97 install conf-gsl 1 > =E2=88=97 install conf-ncurses 1 > No changes have been performed > > =3D-=3D- conf-gsl.1 troobleshooting > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D > =3D> This package relies on external (system) dependencies that may be > missing. `opam depext conf-gsl.1' may help you find the correct installat= ion > for > your system. > > =3D-=3D- conf-ncurses.1 troobleshooting > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D > =3D> 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 dep= ext > 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 > > > > --=20 Markus Mottl http://www.ocaml.info markus.mottl@gmail.com