[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] Hello Mirage World
Thanks Richard and Narayana, I'll give it a try this morning. Kind regards Carlos Oviedo -------- Original message -------- Subject: Re: [MirageOS-devel] Hello Mirage World From: Mortier Richard <pszrmm@xxxxxxxxxxxxxxxxxxxxxxx> To: Oviedo GarcÃa Luis <psxlco@xxxxxxxxxxxxxxxxxxxxxxx> CC: "mirageos-devel@xxxxxxxxxxxxxxxxxxxx" <mirageos-devel@xxxxxxxxxxxxxxxxxxxx> hmm-- there might be some confusion here.
the "--unix" and "--xen" flags are to do with the target being built, not the platform being built on. on a vanilla ubuntu platform i think you should be able to use either (though you might need to apt-get install a few extra packages for --xen, i can't recall; the install/hello-world pages on openmirage.org should say). given the permission denied error below for the lock file and the other permission errors you were having, i'd strongly suspect it's ownership and permission issues on files due to using sudo on some commands but not others. (though i have to admit i've never come across the ibus stuff before!) *assuming you've nothing special installed and you know this won't break anything* and that your user and group are both called "carlos" i'd try something like "sudo chown -R carlos:carlos /home/carlos". if things ever get too confused, you can always "rm -rf ~/.opam" to completely nuke opam state and start again. all i can suggest at this point about the ibus thing is to use google... :) (and possibly replace ubuntu with debian wheezy...) On 6 Mar 2014, at 13:07, Luis Oviedo GarcÃa <psxlco@xxxxxxxxxxxxxxxx> wrote: > Thanks Narayana, > > I have tried as suggested, first removing the mirage-xen and mirage-console-xen, however, when I run "mirage configure --unix" I got the following error: > > carlos@:~/mirage/mirage-skeleton/console$ mirage configure --unix > MIRAGE Using the scanned config file: config.ml > MIRAGE Compiling and dynlinking /home/carlos/mirage/mirage-skeleton/console/config.ml > MIRAGE + Executing: rm -rf /home/carlos/mirage/mirage-skeleton/console/_build/config.* > MIRAGE + Executing: cd /home/carlos/mirage/mirage-skeleton/console && ocamlbuild -use-ocamlfind -tags annot,bin_annot -pkg mirage config.cmxs > console CONFIGURE: /home/carlos/mirage/mirage-skeleton/console/config.ml > console 1 job [Unikernel.Main] > console Installing OPAM packages. > console + Executing: opam install --yes mirage-console-unix mirage-unix > console 'opam install --yes mirage-console-unix mirage-unix' failed. > console Fatal error: > console Sys_error("/home/carlos/.opam/lock: Permission denied") > [ERROR] The command "opam install --yes mirage-console-unix mirage-unix" exited with code 1. > > > Then I tried "sudo mirage configure --unix" and it only opens an empty graphic console and the main and Makefile files are not generated. > > Alternatively, I manually installed the OPAM packages (mirage-console-unix and mirage-unix), but still I am stuck. > > I would appreciate your help, thanks in advance. > > Kind regards > > Carlos Oviedo > ________________________________________ > From: Narayana Reddy Y [narayana1208@xxxxxxxxxxx] > Sent: Wednesday, March 05, 2014 6:08 PM > To: Oviedo GarcÃa Luis > Subject: Re: [MirageOS-devel] Hello Mirage World > > HI carlos, > You have to specify unix as your installed mirage on linux to work properly as far as i know > > sudo mirage configure --unix i mean other than xen option .i think there are two options one is unix other is xen .so use --unix to work for your system. > > > On Wed, Mar 5, 2014 at 11:23 PM, Luis Oviedo GarcÃa <psxlco@xxxxxxxxxxxxxxxx<mailto:psxlco@xxxxxxxxxxxxxxxx>> wrote: > Hi, > > I would appreciate your help on the following issue. > > I recently installed Mirage using OPAM following the instructions as provided in the documentation available at www.openmirage.com<http://www.openmirage.com> (I am on a 64-bit Linux-Ubuntu machine). However, I cannot complete the Hello World example given there. I think the problem starts with the command "mirage configure --xen", the error encountered is as follows: > > -carlos@:~/mirage/mirage-skeleton/console$ sudo mirage configure --xen > > -(mirage:4984): IBUS-WARNING **: The owner of /home/carlos/.config/ibus/bus is not root! > > An empty graphic console is shown and the files main.ml<http://main.ml> and Makefile are not generated. > > What I saw is that the "mirage configure --xen" command executes the installation of "mirage-console-xen" and "mirage-xen" which I have installed manually through the "opam install" command (current versions are 1.0.2 and 1.1.1, respectively), however, the problem persists. > > I changed the permissions to root of the file /home/carlos/.config/ibus/bus and try again "sudo mirage configure --xen", although this time there is no error messages I still get an empty graphic console and files main.ml<http://main.ml> and Makefile are not generated. > > Thanks in advance. > > > Kind regards > > Carlos OviedoThis 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. > > > > > > _______________________________________________ > MirageOS-devel mailing list > MirageOS-devel@xxxxxxxxxxxxxxxxxxxx<mailto:MirageOS-devel@xxxxxxxxxxxxxxxxxxxx> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel > > > > -- > Thanks and Regards, > Y.Narayana Reddy, > http://member.acm.org/~narayanareddy3 > IIIT-DelhiThis 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. > > > > > > _______________________________________________ > MirageOS-devel mailing list > MirageOS-devel@xxxxxxxxxxxxxxxxxxxx > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel -- Cheers, R. _______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |