Thanks for your quick response. I indeed have aspcud installed.
After fiddling around and making a mess and not getting anything to work I decided to start from scratch. Since I use vagrant that's easy. So I went through the installation instructions step by step:
1. Installed all the build essentials. Ran into an error here. Ran
apt-get update and the problem resolved itself.
2. The add-apt-repository is not in the standard Ubuntu, but when
trying to invoke it you are told to install
python-software-properties, so:
3. apt-get install python-software-properties
add-apt-repository ppa:avsm/ppa
sudo apt-get update
apt-get install ocaml opam
(At this step I noticed that aspcud was installed)
4. opam --version reports 1.1.1
5. opam init, answering yes to modify config files
6. eval `opam config env`
7. opam install mirage
The following actions will be performed:
- install ocamlfind.1.4.0 [required by mirage]
- install cmdliner.0.9.4 [required by mirage]
- install ipaddr.2.4.0 [required by mirage]
- install optcomp.1.5 [required by mirage]
- install ounit.2.0.0 [required by mirage]
- install re.1.2.1 [required by mirage]
- install ocplib-endian.0.4 [required by mirage]
- install cstruct.1.1.0 [required by mirage]
- install io-page.1.1.1 [required by mirage]
- install mirage-types.1.1.2 [required by mirage]
- install mirage.1.1.2
- install lwt.2.4.5 [required by mirage]
12 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
Do you want to continue ? [Y/n]
[ERROR] Aborting, as the following packages have a cyclic dependency:
(No packages are listed, so this looks like a bug to me)
Oddly enough this worked fine yesterday, so I have no idea what has changed.
I have a Mac, but I figured I might get better results using a linux VM especially due to the tuntap and Xen requirements, and the fact that homebrew failed with a clink error when trying to install ocaml.
Perhaps a different Linux would be preferable? Since I'm just using it as a compilation station I don't really care what distro it is. What is the mirage team using, Debian?