You can set DHCP=1 on the environment when configuring it.
e.g.
$ env DHCP=1 mirage configure --xen # or --unix
See mirage-www/src/config.ml for the various Unix environment variables that you can set (or .travis-www.ml for the version used by the live site).
-anil
Thanks. How I can configure web server to obtain ip from dhcp server?
On Friday, October 24, 2014 3:05 PM, Anil Madhavapeddy <anil@xxxxxxxxxx> wrote: Yes -- you need OCaml 4.01.0 at the moment. I've been meaning to take a look at OCaml 4.02 support but haven't gotten around to it yet (merging Conduit patches first). It shouldn't take long, but isn't committed yet.
-anil
Thanks.
I still receive error:
[ERROR] The command "opam install --yes conduit cow cowabloga crunch cstruct io-page lwt mirage-clock-xen mirage-console mirage-http mirage-net-xen mirage-types mirage-xen tcpip vchan xen-evtchn xen-gnt xenstore" exited with code 1.
when I run this command on terminal, I will have:
[ERROR] mirage-xen is not available because it requires OCaml >= 4.00.0 & < 4.02.0.
Do I have to downgrade my ocaml, which is 4.02.0?
On Friday, October 24, 2014 1:42 PM, Anil Madhavapeddy <anil@xxxxxxxxxx> wrote: On 24 Oct 2014, at 14:39, Hannes Mehnert < hannes@xxxxxxxxxxx> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA384 > > On 10/24/2014 15:35, Anil Madhavapeddy wrote: >> Do you have the mirage-dev opam remote activated, with the latest >> libraries? Just run: >> >> $ opam remote >> >> And if you don't see it in the list, add it via >> >> $ opam remote add mirage git://github.com/mirage/mirage-www> > it should have been git://github.com/mirage/mirage-dev ;) I need to take myself away from my keyboard today :-) -anil
_______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxxhttp://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|