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

Re: Building mirage-www

Hi Richard,

It looks like root doesn't know about 'mirari'?

'make unix-socket-build' does not require 'sudo' and completed successfully.
'make unix-socket-run' requires 'sudo' and failed.



$ opam install mirari
$ make unix-socket-build

/home/phiho/.opam/4.00.1+xen/bin/ocamlfind ocamlopt -linkpkg -linkpkg -package xmlm -package uri -package ulex -package cow -package cow.syntax -package re -package cohttp.mirage -package fd-send-recv -package lwt.syntax -syntax camlp4o backend.cmx config.cmx people.cmx blog.cmx paper.cmx perf.cmx util.cmx template.cmx wiki.cmx pages.cmx style.cmx dispatch.cmx filesystem_static.cmx filesystem_templates.cmx main.cmx -o main.native
make[2]: Leaving directory `/home/phiho/mirage-www/src'
[mirari] + Executing: ln -nfs _build/main.native mir-www
make[1]: Leaving directory `/home/phiho/mirage-www'

$ make unix-socket-run
make FLAGS="--unix --socket" run
make[1]: Entering directory `/home/phiho/mirage-www'
cd src && sudo mirari run www.conf --unix --socket
[sudo] password for phiho:
sudo: mirari: command not found
make[1]: *** [run] Error 1
make[1]: Leaving directory `/home/phiho/mirage-www'
make: *** [unix-socket-run] Error 2

On Mon, Aug 5, 2013 at 7:43 AM, Richard Mortier <Richard.Mortier@xxxxxxxxxxxxxxxx> wrote:
hi phiho;

On 5 Aug 2013, at 12:34, Phiho Hoang wrote:

> Hi Richard,
> I encountered '/bin/sh: 1: mirari: not found' error.
> Please find appended below the console output.

looks like mirari package was only installed as a dependency for mirage-xen; when mirage-xen was removed, opam also removed mirari.

$ opam install mirari

...before "make unix-socket-build" should fix that.



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.



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