gunnarx / franca_install_automation

Private repo NOT CURRENTLY SUPPORTED - I recommend to refer to (http://github.com/genivi/eclipse_install_automation). Scripted installation of Eclipse+Franca Tools on a machine, or creation of a new Virtual Machine image. Please read README.md for instructions on which branch to use and known bugs.
Mozilla Public License 2.0
5 stars 4 forks source link

Add support for MS Windows 7 #22

Closed gmacario closed 9 years ago

gmacario commented 9 years ago

Hello,

I tried gunnarx/franca_install_automation with Vagrant running under MS Windows 7 and Cygwin.

As suggested I chose the supposedly stable "trusty64-lxde" branch. Here is the result I got:

gmacario@ITM-GMACARIO-W7 /cygdrive/e/data/GENIVI/franca_install_automation
$ vagrant up --provider=virtualbox
Vagrant has no proxy plugin => skipped proxy configuration.
Vagrant has no proxy plugin => skipped proxy configuration.
E:/data/GENIVI/franca_install_automation/Vagrantfile:42:in ``': No such file or directory - date +%Y%m%d%H%M (Errno::ENOENT)
        from E:/data/GENIVI/franca_install_automation/Vagrantfile:42:in `block in <top (required)>'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/v2/loader.rb:37:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/v2/loader.rb:37:in `load'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:103:in `block (2 levels) in load'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:97:in `each'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:97:in `block in load'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:94:in `each'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:94:in `load'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/vagrantfile.rb:28:in `initialize'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:691:in `new'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:691:in `vagrantfile'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:441:in `host'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:207:in `block in action_runner'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:33:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:33:in `run'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:428:in `hook'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:673:in `unload'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/bin/vagrant:177:in `ensure in <main>'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/bin/vagrant:177:in `<main>'

gmacario@ITM-GMACARIO-W7 /cygdrive/e/data/GENIVI/franca_install_automation
$
gmacario commented 9 years ago

FYI: You may get a detailed debugging log with all the steps I performed at https://genivi-oss.atlassian.net/wiki/x/xwBJ (a login to GENIVI public wiki is required)

gmacario commented 9 years ago

Temporary workaround: https://github.com/gmacario/franca_install_automation/commit/c76962702daee8f1014a3d03fdd7ab912638609f

gunnarx commented 9 years ago

Keeping support for Windows as host as "enhancement" for now. :-)

gmacario commented 9 years ago

Submitted new PR https://github.com/gunnarx/franca_install_automation/pull/27 which is reported to work on:

gunnarx commented 9 years ago

@gmacario Ruby Time.strftime now merged. Is everything OK now Gianpaolo?

  1. Can we confirm Windows support and close?
  2. Does it still need cygwin or not? If it does - do you think there is a way to avoid it?
gmacario commented 9 years ago

@gunnarx

  1. Can we confirm Windows support and close?

Yes - just verified with master branch of https://github.com/gunnarx/franca_install_automation

I have some additional cleanup in my fork that will submit as subsequent PR. Anyway your master branch now works on Windows, so I am closing https://github.com/gunnarx/franca_install_automation/issues/22

  1. Does it still need cygwin or not? If it does - do you think there is a way to avoid it?

As reported earlier I tested PR #27 with

therefore Cygwin may be used but is not mandatory.

Hope that helps, Gianpaolo