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

Mirage Installation



Hi everyone,
I am new at the board, so excuse me if I ask trivial questions.

I installed Mirage using opam following the instructions found at
http://www.openmirage.org/wiki/install

My system's details are:
  Ubuntu 12.04.1 LTS
  3.2.0-32-generic 64bit
  The Objective Caml toplevel, version 3.12.1
  opam version 0.7.7
  (haven't installed Xen yet)

I do not want to install bins/libs under the default Linux path ( usr/{lib/bin} ) because I do not want to grant root privileges to the installers.

As a point of start I aim to run the mirage wiki website locally via the www-mirage package, through Unix binaries ( compiler 3.12.1+mirage-unix-direct ).

However, when I run "opam --verbose install mirage-www" without sudo, the installation fails while trying to install mir-run at "/usr/local/bin/mir-run".
I've seen that the default PREFIX in most mirage-related Makefiles is /usr/local (requiring root privileges).

In order to fix that issue, I export a custom prefix path before I proceed with the installation (e.g. export PREFIX=/data/bin).

Have I mis-configured Mirage during installation or the path /usr/local is the default hard-coded installation path for certain packages?

Regards,
Dimos


 


Rackspace

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