LINUX.ORG.RU

История изменений

Исправление Bad_ptr, (текущая версия) :

#: opam install utop
The following actions will be performed:
  ∗  install camlp4      4.01.0               [required by utop]
  ∗  install ocamlfind   1.5.5                [required by utop]
  ∗  install react       1.2.0                [required by utop]
  ∗  install camomile    0.8.5                [required by zed]
  ∗  install lwt         2.4.5                [required by utop]
  ∗  install zed         1.3                  [required by lambda-term]
  ∗  install lambda-term 1.7                  [required by utop]
  ∗  install utop        1.15  
===== ∗  8 =====
Do you want to continue ? [Y/n] y

Ну и выдаёт:

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[default] https://opam.ocaml.org/archives/lambda-term.1.7+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/lwt.2.4.5+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/react.1.2.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/ocamlfind.1.5.5+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/camomile.0.8.5+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/utop.1.15+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/zed.1.3+opam.tar.gz downloaded

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
∗  installed camlp4.4.01.0
∗  installed ocamlfind.1.5.5
∗  installed react.1.2.0
[ERROR] The compilation of lwt failed at "./configure --disable-libev --enable-react --disable-ssl --enable-unix --enable-extra --enable-preemptive --disable-glib
        --disable-text".
∗  installed camomile.0.8.5
∗  installed zed.1.3

#=== ERROR while installing lwt.2.4.5 =========================================#
# opam-version 1.2.1 (9bc398addef228f927e347f5739bab948924ff34)
# os           linux
# command      ./configure --disable-libev --enable-react --disable-ssl --enable-unix --enable-extra --enable-preemptive --disable-glib --disable-text
# path         /home/constantin/.opam/system/build/lwt.2.4.5
# compiler     system (4.00.1)
# exit-code    1
# env-file     /home/constantin/.opam/system/build/lwt.2.4.5/lwt-22230-a7c577.env
# stdout-file  /home/constantin/.opam/system/build/lwt.2.4.5/lwt-22230-a7c577.out
# stderr-file  /home/constantin/.opam/system/build/lwt.2.4.5/lwt-22230-a7c577.err
### stderr ###
# [...]
# ocamlfind: Package `camlp4' not found
# W: Failure("Command ''/home/constantin/.opam/system/bin/ocamlfind' query -format %d camlp4 > '/tmp/oasis-8cd4bf.txt'' terminated with error code 2")
# ocamlfind: Package `camlp4' not found
# W: Failure("Command ''/home/constantin/.opam/system/bin/ocamlfind' query -format %d camlp4 > '/tmp/oasis-b38207.txt'' terminated with error code 2")
# ocamlfind: Package `camlp4.quotations.o' not found
# W: Failure("Command ''/home/constantin/.opam/system/bin/ocamlfind' query -format %d camlp4.quotations.o > '/tmp/oasis-35f57b.txt'' terminated with error code 2")
# E: Cannot find findlib package camlp4
# E: Cannot find findlib package camlp4.extend
# E: Cannot find findlib package camlp4.quotations.o
# E: Failure("3 configuration errors")



=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions were aborted
  ∗  install lambda-term 1.7 
  ∗  install utop        1.15
The following actions failed
  ∗  install lwt 2.4.5
The following changes have been performed
  ∗  install camlp4    4.01.0
  ∗  install camomile  0.8.5 
  ∗  install ocamlfind 1.5.5 
  ∗  install react     1.2.0 
  ∗  install zed       1.3   

The former state can be restored with:
    opam switch import "~/.opam/system/backup/state-20150210130450.export"

Ошибся я, оно не может найти camlp4 во время установки lwt, хотя само его только что и поставило.

Ну

#: opam --version
1.2.1
Скажешь, тянуть и ставить из сорцов?

Исходная версия Bad_ptr, :

[code]
#: opam install utop
The following actions will be performed:
∗ install camlp4 4.01.0 [required by utop]
∗ install ocamlfind 1.5.5 [required by utop]
∗ install react 1.2.0 [required by utop]
∗ install camomile 0.8.5 [required by zed]
∗ install lwt 2.4.5 [required by utop]
∗ install zed 1.3 [required by lambda-term]
∗ install lambda-term 1.7 [required by utop]
∗ install utop 1.15
===== ∗ 8 =====
Do you want to continue ? [Y/n] y
[/code]
Ну и выдаёт:
[code]
=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[default] https://opam.ocaml.org/archives/lambda-term.1.7 opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/lwt.2.4.5 opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/react.1.2.0 opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/ocamlfind.1.5.5 opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/camomile.0.8.5 opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/utop.1.15 opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/zed.1.3 opam.tar.gz downloaded

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
∗ installed camlp4.4.01.0
∗ installed ocamlfind.1.5.5
∗ installed react.1.2.0
[ERROR] The compilation of lwt failed at "./configure --disable-libev --enable-react --disable-ssl --enable-unix --enable-extra --enable-preemptive --disable-glib
--disable-text".
∗ installed camomile.0.8.5
∗ installed zed.1.3

#=== ERROR while installing lwt.2.4.5 =========================================#
# opam-version 1.2.1 (9bc398addef228f927e347f5739bab948924ff34)
# os linux
# command ./configure --disable-libev --enable-react --disable-ssl --enable-unix --enable-extra --enable-preemptive --disable-glib --disable-text
# path /home/constantin/.opam/system/build/lwt.2.4.5
# compiler system (4.00.1)
# exit-code 1
# env-file /home/constantin/.opam/system/build/lwt.2.4.5/lwt-22230-a7c577.env
# stdout-file /home/constantin/.opam/system/build/lwt.2.4.5/lwt-22230-a7c577.out
# stderr-file /home/constantin/.opam/system/build/lwt.2.4.5/lwt-22230-a7c577.err
### stderr ###
# [...]
# ocamlfind: Package `camlp4' not found
# W: Failure(«Command "/home/constantin/.opam/system/bin/ocamlfind' query -format %d camlp4 > '/tmp/oasis-8cd4bf.txt" terminated with error code 2»)
# ocamlfind: Package `camlp4' not found
# W: Failure(«Command "/home/constantin/.opam/system/bin/ocamlfind' query -format %d camlp4 > '/tmp/oasis-b38207.txt" terminated with error code 2»)
# ocamlfind: Package `camlp4.quotations.o' not found
# W: Failure(«Command "/home/constantin/.opam/system/bin/ocamlfind' query -format %d camlp4.quotations.o > '/tmp/oasis-35f57b.txt" terminated with error code 2»)
# E: Cannot find findlib package camlp4
# E: Cannot find findlib package camlp4.extend
# E: Cannot find findlib package camlp4.quotations.o
# E: Failure(«3 configuration errors»)



=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions were aborted
∗ install lambda-term 1.7
∗ install utop 1.15
The following actions failed
∗ install lwt 2.4.5
The following changes have been performed
∗ install camlp4 4.01.0
∗ install camomile 0.8.5
∗ install ocamlfind 1.5.5
∗ install react 1.2.0
∗ install zed 1.3

The former state can be restored with:
opam switch import «~/.opam/system/backup/state-20150210130450.export»
[/code]

Ошибся я, оно не может найти camlp4 во время установки lwt, хотя само его только что и поставило.

Ну
[code]
#: opam --version
1.2.1
[/code]
Скажешь, тянуть и ставить из сорцов?