genome / gms

The Genome Modeling System installer
https://github.com/genome/gms/wiki
GNU Lesser General Public License v3.0
78 stars 22 forks source link

When installing sGMS via `make vminit` the installer only support certain host systems - make this clear #148

Closed malachig closed 10 years ago

malachig commented 10 years ago

Currently if you want to install sGMS inside a VM automatically using vagrant you can do so and it will walk you through the process of installing Vagrant and VirtualBox, then adding an Ubuntu12.04 box VM, logging into that machine and running the rest of the make process. This works by installing as follows: make vminit; vagrant ssh; make.

This only works when the host system is: Mac OSX (darwin), Ubuntu10.04, or Ubuntu12.04. The reason is this. The following make targets are executed: vminit -> vmup -> vmcreate -> done-host/addbox -> done-host/vminstall -> done-host/vminstall-*.

Where * is resolved automatically in the makefile to the OS vendor/version. Only three options are supported: vminstall-Darwin, vminstall-Ubuntu10.04, vminstall-Ubuntu12.04. If your host is not one of these you get an error like:

make: *** No rule to make target `done-host/vminstall-Debiantesting'. Stop.
make: *** [done-host/vminstall] Error 2

We should make this more clear by adding a check to done-host/vminstall so that the user is clearly warned and the make is aborted if their system is not supported.

If their system is not supported they have several options available to them:

malachig commented 10 years ago

@gatoravi did you have a chance to look at this?

gatoravi commented 10 years ago

Sorry forgot to update here,

This is dealt with here, the installer exits with an error if the host OS is unrecognized.

malachig commented 10 years ago

Ok thanks. Closing this now then.