ERROR] The compilation of base-bigarray.base failed.
[ERROR] The compilation of base-threads.base failed.
[ERROR] The compilation of base-unix.base failed.
===== ERROR while installing base-bigarray.base =====
Internal error:
Sys_error("rm -rf /home/vagrant/.opam/system/lib/base-bigarray: Cannot allocate memory")
===== ERROR while installing base-threads.base =====
Internal error:
Sys_error("rm -rf /home/vagrant/.opam/system/lib/base-threads: Cannot allocate memory")
===== ERROR while installing base-unix.base =====
Internal error:
Sys_error("rm -rf /home/vagrant/.opam/system/lib/base-unix: Cannot allocate memory")
I then went back to the 12.04 install. This time I got everything up and running and tried to compile the console example. It took a very long time, but it built. Unfortunately it also uninstalled mirage. Here's the log:
vagrant@precise64:/vagrant/mirage-skeleton/console$ cat log
Falling back to the internal heuristic.
The following actions will be performed:
- remove mirage.1.1.2
- remove base-bigarray.base
- remove cmdliner.0.9.4 [required by mirage]
- remove ipaddr.2.4.0 [required by mirage]
- remove re.1.2.1 [required by mirage]
- downgrade mirage-types.1.1.2 to 0.3.0 [required by mirage-console-unix]
- downgrade ocplib-endian.0.4 to 0.3 [required by mirage-console-unix]
- install mirage-clock-unix.1.0.0 [required by mirage-console-unix]
- recompile cstruct.1.1.0 [use ocplib-endian]
- downgrade io-page.1.1.1 to 1.1.0 [required by mirage-console-unix]
- install shared-memory-ring.1.0.0 [required by mirage-console-unix]
- install mirage-unix.1.1.0 [required by mirage-console-unix]
- install mirage-console-unix.0.9.9
4 to install | 1 to reinstall | 0 to upgrade | 3 to downgrade | 5 to remove
=-=-= Removing Packages =-=-=
Removing mirage.1.1.2.
rm -f /home/vagrant/.opam/system/bin/mirage
ocamlfind remove mirage
Removing base-bigarray.base.
Removing cmdliner.0.9.4.
Removing ipaddr.2.4.0.
ocamlfind remove ipaddr
Removing re.1.2.1.
ocamlfind remove re
Removing io-page.1.1.1.
ocamlfind remove io-page
Removing mirage-types.1.1.2.
Removing cstruct.1.1.0.
ocamlfind remove cstruct
Removing ocplib-endian.0.4.
ocamlfind remove ocplib-endian
=-=-= Installing mirage-types.0.3.0 =-=-=
Building mirage-types.0.3.0:
make all
make install
Installing mirage-types.0.3.0.
=-=-= Installing ocplib-endian.0.3 =-=-=
Building ocplib-endian.0.3:
ocaml
setup.ml -configure --disable-debug --prefix /home/vagrant/.opam/system
Installing ocplib-endian.0.3.
=-=-= Installing cstruct.1.1.0 =-=-=
Building cstruct.1.1.0:
make
make install
Installing cstruct.1.1.0.
=-=-= Installing mirage-clock-unix.1.0.0 =-=-=
Building mirage-clock-unix.1.0.0:
make unix-build
make unix-install
Installing mirage-clock-unix.1.0.0.
=-=-= Installing io-page.1.1.0 =-=-=
Building io-page.1.1.0:
make
make install
Installing io-page.1.1.0.
=-=-= Installing shared-memory-ring.1.0.0 =-=-=
Building shared-memory-ring.1.0.0:
make all
make install
Installing shared-memory-ring.1.0.0.
=-=-= Installing mirage-unix.1.1.0 =-=-=
Building mirage-unix.1.1.0:
make unix-build
make unix-install PREFIX=/home/vagrant/.opam/system
Installing mirage-unix.1.1.0.
=-=-= Installing mirage-console-unix.0.9.9 =-=-=
Building mirage-console-unix.0.9.9:
make unix-build
make unix-install
Installing mirage-console-unix.0.9.9.