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

Re: Mirage Hello World (Re: Building mirage-www)



Hi Richard,

I finished the rest of installation steps from http://openmirage.org/wiki/install :

"To go a step further, and develop unikernels that will run as POSIX processes but using the Mirage network stack, switch to a new compiler instance and install the mirage-net-direct package instead:"

Then, the final steps of "First Steps" at http://openmirage.org/wiki/hello-world were followed:

<quote>
Cleanup with:
$ make clean-basic

To rebuild this as a Xen VM, simply opam switch and rebuild:

$ opam switch 4.00.1+mirage-xen
$ eval `opam config env`
$ make build-basic
</quote>

I encountered this error:

<quote>
$ make build-basic

### basic: configure
cd basic && mirari configure --unix
/bin/sh: 1: mirari: not found
make: *** [configure-basic] Error 127
</quote>

A look at ~/.opam/mirage-xen/bin:

$ ls -l ~/.opam/mirage-xen/bin | wc -l
6
$ ls -l ~/.opam/mirage-xen/bin/mi*
-rwxrwxr-x 1 phiho phiho 1112728 Sep  5 23:19 .opam/mirage-xen/bin/mirari

and then  ~/.opam/4.00.1+mirage-xen/bin

$ ls -l ~/.opam/4.00.1+mirage-xen/bin | wc -l
42
$ ls -l ~/.opam/4.00.1+mirage-xen/bin/mi*
ls: cannot access .opam/4.00.1+mirage-xen/bin/mi*: No such file or directory

I know I have missed something here.

Thank you for your help.

Cheers,

PhiHo



On Fri, Sep 6, 2013 at 9:33 AM, Richard Mortier <Richard.Mortier@xxxxxxxxxxxxxxxx> wrote:
hi phiho;

On 6 Sep 2013, at 13:31, Phiho Hoang wrote:

> I followed the First Steps from "Hello Mirage World":
> http://openmirage.org/wiki/hello-world
>
> $ make build-basic
>
> completed successfully but NO greetings were received from:
>
> $ make run-basic.
>
> Please find attached the screen shots.

ah-- sorry. there appears to be a bug in the mirage-unix OS.Console where the console never gets flushed. i have a (probably rather simplistic) patch for this that i forgot to submit a PR for after returning from USENIX SEC. i'll do that now.

> IIRC, Mirage somehow depends on RWO?

no-- mirage has several package dependencies but these are captured by opam, and will be installed when you "opam install mirage-{xen,unix}" etc. i don't believe there's an "RWO" package or similar to install.

--
Cheers,

R.




This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.






 


Rackspace

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