caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Issue when installing OPAM on Fedora 20 (XFCE)
@ 2014-04-25 16:05 David MENTRE
  2014-04-25 16:19 ` David MENTRE
  0 siblings, 1 reply; 2+ messages in thread
From: David MENTRE @ 2014-04-25 16:05 UTC (permalink / raw)
  To: caml-list

Hello,

I am trying to install OPAM in a fresh Fedora 20 Linux distribution 
(XFCE desktop, default configuration, no OCaml installed neither other 
package except wget). I am following the Quick Install guide.

I have following error when executing the opam_installer.sh script.

Any suggestion on how to proceed?

"""
$ sh ./opam_installer.sh /usr/local/bin
Downloading OPAM...
Initializing with compiler 4.01.0
default    Downloading https://opam.ocaml.org/urls.txt
default    Downloading https://opam.ocaml.org/index.tar.gz
Updating ~/.opam/repo/compiler-index ...
Updating ~/.opam/compilers/ ...
Updating ~/.opam/repo/package-index ...
Updating ~/.opam/packages/ ...
compiler.get Downloading 
http://caml.inria.fr/pub/distrib/ocaml-4.01/ocaml-4.01.0.tar.gz
   % Total    % Received % Xferd  Average Speed   Time    Time     Time 
  Current
                                  Dload  Upload   Total   Spent    Left 
  Speed
100 4294k  100 4294k    0     0   356k      0  0:00:12  0:00:12 --:--:-- 
  407k
200
   % Total    % Received % Xferd  Average Speed   Time    Time     Time 
  Current
                                  Dload  Upload   Total   Spent    Left 
  Speed
100   755  100   755    0     0   1509      0 --:--:-- --:--:-- --:--:-- 
  1513
200
'/usr/local/bin/opam init --comp 4.01.0' failed.
# opam-version    1.1.1
# os              linux
Patch 
/home/david/.opam/4.01.0/build/ocaml/bd7fa181cb64742c3b6cbb8ee13436554eb18cd7...fix-clang-build.diff 
does not apply.
"""

Best regards,
david

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] Issue when installing OPAM on Fedora 20 (XFCE)
  2014-04-25 16:05 [Caml-list] Issue when installing OPAM on Fedora 20 (XFCE) David MENTRE
@ 2014-04-25 16:19 ` David MENTRE
  0 siblings, 0 replies; 2+ messages in thread
From: David MENTRE @ 2014-04-25 16:19 UTC (permalink / raw)
  To: caml-list

Le 25/04/2014 18:05, David MENTRE a écrit :
> I am trying to install OPAM in a fresh Fedora 20 Linux distribution
> (XFCE desktop, default configuration, no OCaml installed neither other
> package except wget).
[...]
> /home/david/.opam/4.01.0/build/ocaml/bd7fa181cb64742c3b6cbb8ee13436554eb18cd7...fix-clang-build.diff
> does not apply.

OK, found it: "patch" and "gcc" packages where missing.

Shouldn't OPAM check that the needed programs are available in its 
environment?

Best regards,
david


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-25 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-25 16:05 [Caml-list] Issue when installing OPAM on Fedora 20 (XFCE) David MENTRE
2014-04-25 16:19 ` David MENTRE

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).