[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Isuues installing ocp-build.0.1



During the install of OPAM, at the "./opam64 install opam" stage, i
get  Fatal error: exception Failure("OCaml and preprocessor have
incompatible versions"). My Ocaml version is 4.00.1. I have camlp4
version 3.12.1 and camlp5 version 6.07 (which according to the
documentation is compatable with OCaml 4.00.1) So if you use camlp5 as
the preprocessor than OPAM install should work, but OPAM wants to use
camlp4.

So I tried downgrading to Ocaml OCaml 4.00.0 then 3.12.1, and still
the "./opam64 install opam" stage fails with a different message, this
time

hh360@clank:~$ ./opam64 install opam

The following actions will be performed:
 - install ocamlfind.1.3.3
 - install ocp-build.0.1
 - install ocaml-arg.0.3
 - install extlib.1.5.3
 - install ocamlgraph.1.8.2
 - install re.1.1.0
 - install mancoosi-cudf.0.6.2
 - install mancoosi-dose.2.9.15
 - install opam.0.7.4
9 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
Do you want to continue ? [Y/n] Y

=-=-= ocaml-arg.0.3 =-=-=
Downloading http://opam.ocamlpro.com/archives/ocaml-arg.0.3+opam.tar.gz ...
Extracting /home/hh360/.opam/archives/ocaml-arg.0.3+opam.tar.gz ...
Build commands:
  make
Installing ocaml-arg.0.3 ...

=-=-= ocamlfind.1.3.3 =-=-=
Downloading http://opam.ocamlpro.com/archives/ocamlfind.1.3.3+opam.tar.gz ...
Extracting /home/hh360/.opam/archives/ocamlfind.1.3.3+opam.tar.gz ...
Build commands:
  ./configure -bindir /home/hh360/.opam/system/bin -sitelib
/home/hh360/.opam/system/lib -mandir /home/hh360/.opam/system/man
-config /home/hh360/.opam/system/lib/findlib.conf -no-topfind
  make all
  make opt
  make install
Installing ocamlfind.1.3.3 ...

=-=-= ocp-build.0.1 =-=-=
Downloading http://opam.ocamlpro.com/archives/ocp-build.0.1+opam.tar.gz ...
Extracting /home/hh360/.opam/archives/ocp-build.0.1+opam.tar.gz ...
Build commands:
  make
Uninstalling ocp-build.0.1 ...
The compilation of ocp-build.0.1 failed in
/home/hh360/.opam/system/build/ocp-build.0.1.

=-=-= extlib.1.5.3 =-=-=
Downloading http://opam.ocamlpro.com/archives/extlib.1.5.3+opam.tar.gz ...
Extracting /home/hh360/.opam/archives/extlib.1.5.3+opam.tar.gz ...
Build commands:
  make all
  make opt
  make cmxs
  make install
Installing extlib.1.5.3 ...

=-=-= ocamlgraph.1.8.2 =-=-=
Downloading http://opam.ocamlpro.com/archives/ocamlgraph.1.8.2+opam.tar.gz ...
Extracting /home/hh360/.opam/archives/ocamlgraph.1.8.2+opam.tar.gz ...
Build commands:
  ./configure
  make
  make install-findlib
Installing ocamlgraph.1.8.2 ...

=-=-= re.1.1.0 =-=-=
Downloading http://opam.ocamlpro.com/archives/re.1.1.0+opam.tar.gz ...
Extracting /home/hh360/.opam/archives/re.1.1.0+opam.tar.gz ...
Build commands:
  ocaml setup.ml -configure --prefix /home/hh360/.opam/system
  ocaml setup.ml -build
  ocaml setup.ml -install
Installing re.1.1.0 ...

Due to some errors while processing ocp-build.0.1, the following
actions will NOT be proceeded:
 - install mancoosi-cudf.0.6.2
 - install mancoosi-dose.2.9.15
 - install opam.0.7.4
[ERROR] while installing ocp-build.0.1
= [RUN] "make"
= [CWD] "/auto/homes/hh360/.opam/system/build/ocp-build.0.1"
= SSH_AGENT_PID=2626
= GPG_AGENT_INFO=/tmp/keyring-8CYLMd/gpg:0:1
= TERM=xterm
= SHELL=/bin/bash
= HISTSIZE=50
= XDG_SESSION_COOKIE=bf6a74e0095466fe2ee322dd000002b6-1349688244.41493-382273713
= WINDOWID=65011717
= GNOME_KEYRING_CONTROL=/tmp/keyring-8CYLMd
= CDPATH=:/home/hh360
= USER=hh360
= XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
= XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
= SSH_AUTH_SOCK=/tmp/keyring-8CYLMd/ssh
= DEFAULTS_PATH=/usr/share/gconf/ubuntu-2d.default.path
= 
SESSION_MANAGER=local/clank.cl.cam.ac.uk:@/tmp/.ICE-unix/2589,unix/clank.cl.cam.ac.uk:/tmp/.ICE-unix/2589
= XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-2d:/etc/xdg
= 
PATH=/home/hh360/.opam/system/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/bin/X11:/usr/bin/mh:.
= DESKTOP_SESSION=ubuntu-2d
= PWD=/home/hh360
= EDITOR=emacs
= GNOME_KEYRING_PID=2578
= LANG=en_GB.UTF-8
= MANDATORY_PATH=/usr/share/gconf/ubuntu-2d.mandatory.path
= UBUNTU_MENUPROXY=libappmenu.so
= GDMSESSION=ubuntu-2d
= KRB5CCNAME=FILE:/tmp/krb5cc_3115_CtLRM8
= SHLVL=1
= HOME=/home/hh360
= LANGUAGE=en_GB:en
= GNOME_DESKTOP_SESSION_ID=this-is-deprecated
= LOGNAME=hh360
= PRINTER=hazel
= 
XDG_DATA_DIRS=/usr/share/ubuntu-2d:/usr/share/gnome:/usr/local/share/:/usr/share/
= 
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-UfvWlinS1d,guid=35a406572cba57fa1c8daf540000002e
= DISPLAY=:0
= XDG_CURRENT_DESKTOP=Unity
= HISTFILE=/home/hh360/.sh_history
= COLORTERM=gnome-terminal
= XAUTHORITY=/home/hh360/.Xauthority
= _=./opam64
= OLDPWD=/home/hh360/Downloads/ocp-build/_obuild/ocplib-lang
= 
CAML_LD_LIBRARY_PATH=/home/hh360/.opam/system/lib/stublibs:/usr/local/lib/ocaml/stublibs
=
. mkdir -p ./_obuild
. ocamlc -o ./_obuild/unixrun -make-runtime unix.cma
. _obuild/unixrun boot/ocp-build.boot -init -scan -sanitize -v 0 ocp-build
. ocp-build: Entering directory
`/auto/homes/hh360/.opam/system/build/ocp-build.0.1'
* Cache: 0 digests loaded
* [1.1]   END ocamldep.opt -modules -I ./_obuild/ocplib-lang -I
./lib/stdlib/lang lib/stdlib/lang/ocpPervasives.ml
* Command stderr:
* Cache: 0 digests loaded
* Error while executing subprocess
*   exception Unix_error(No such file or directory, execvp, ocamldep.opt)
* [1.1] ERROR in project ocplib-lang
* Warning: 392 rules waiting in queue !
* 1 errors. 1 commands executed, 1 files generated.
* Error:
* [1.1] ocamldep.opt -modules -I ./_obuild/ocplib-lang -I
./lib/stdlib/lang lib/stdlib/lang/ocpPervasives.ml
* Cache: 0 digests loaded
* Error while executing subprocess
*   exception Unix_error(No such file or directory, execvp, ocamldep.opt)
*
* make: *** [compile] Error 2
  './opam64 install opam' failed


Any help or pointers in the right direction would be greatly appreciated


-- 
Regards
Heidi



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.