[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] Struggling a bit with the Hello World applications
I just made two new attempts. I first tried on Ubuntu 14.04 and then on 12.04. Both failed, but for different reasons. I have to admit that I'm getting a bit frustrated now. It seems that changes are pulled down immediately making the environment very unstable. Is there some kind of mechanism for ensuring that I get a stable repeatable environment where I control when I want to try to upgrade the various packages (provided I can get it to work)?
Below is what happened: On 14.04 I got this while running opam init: 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 =-=-= default  ÂDownloading https://opam.ocaml.org/archives/mirage-types.0.3.0+opam.tar.gz
Building mirage-types.0.3.0: Â make all
 make install Installing mirage-types.0.3.0. =-=-= Installing ocplib-endian.0.3 =-=-= default  ÂDownloading https://opam.ocaml.org/archives/ocplib-endian.0.3+opam.tar.gz
Building ocplib-endian.0.3: Â ocaml setup.ml -configure --disable-debug --prefix /home/vagrant/.opam/system
 ocaml setup.ml -build  ocaml setup.ml -install 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 =-=-= default  ÂDownloading https://opam.ocaml.org/archives/mirage-clock-unix.1.0.0+opam.tar.gz
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 =-=-= default  ÂDownloading https://opam.ocaml.org/archives/io-page.1.1.0+opam.tar.gz
Building io-page.1.1.0:  make  make install
Installing io-page.1.1.0. =-=-= Installing shared-memory-ring.1.0.0 =-=-= default  ÂDownloading https://opam.ocaml.org/archives/shared-memory-ring.1.0.0+opam.tar.gz
Building shared-memory-ring.1.0.0:
 make all  make install Installing shared-memory-ring.1.0.0. =-=-= Installing mirage-unix.1.1.0 =-=-= default  ÂDownloading https://opam.ocaml.org/archives/mirage-unix.1.1.0+opam.tar.gz
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 =-=-= default  ÂDownloading https://opam.ocaml.org/archives/mirage-console-unix.0.9.9+opam.tar.gz
Building mirage-console-unix.0.9.9:
 make unix-build  make unix-install Installing mirage-console-unix.0.9.9. On Mon, May 5, 2014 at 2:14 PM, Anil Madhavapeddy <anil@xxxxxxxxxx> wrote:
_______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |