[gdal-dev] Vagrant developement environment

Even Rouault even.rouault at mines-paris.org
Mon Apr 7 03:57:49 PDT 2014


Selon Ivan Lucena <lucena_ivan at hotmail.com>:

> I've got it to work. But I could not follow your instructions.
>
> $ vagrant ssh
> Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
>
>  * Documentation:  https://help.ubuntu.com/
> Welcome to your Vagrant-built virtual machine.
> Last login: Mon Apr  7 04:24:23 2014 from 10.0.2.2
> vagrant at gdal-vagrant:~$ ls
> postinstall.sh
> vagrant at gdal-vagrant:~$ ls -a
> .   .bash_history  .bashrc  .gem            .profile
> .sudo_as_admin_successful  .veewee_version
> ..  .bash_logout   .cache   postinstall.sh  .ssh      .vbox_version
> vagrant at gdal-vagrant:~$ gdalinfo --version
> The program 'gdalinfo' is currently not installed.  You can install it by
> typing:
> sudo apt-get install gdal-bin
>
> There is no gdal/gdal folder. I ran that "sudo sh posinstall.sh" wish install
> a development environment but that was supposed to run automatically. Right?
> Maybe something got timed out.

Yes, I think something must have gone wrong. Everything should be in place when
you can "vagrant ssh".

You can try commenting with # lines 78 ("if
Dir.glob("#{File.dirname(__FILE__)}/.vagrant/machines/default/*/id").empty?")
and 98 ("end") of Vagrantfile and run :

vagrant provision



>
> > Date: Mon, 7 Apr 2014 10:07:58 +0200
> > From: even.rouault at mines-paris.org
> > To: lucena_ivan at hotmail.com
> > CC: even.rouault at mines-paris.org; gdal-dev at lists.osgeo.org;
> hobu.inc at gmail.com
> > Subject: RE: [gdal-dev] Vagrant developement environment
> >
> > Selon Ivan Lucena <lucena_ivan at hotmail.com>:
> >
> > > > > What version of VirtualBox did you use to create the gdal-vagrant?
> > > >
> > > > I don't think my own version of VirtualBox (4.2.12) has much impact.
> > > There's
> > > > nothing from it in the text files that define the gdal-vagrant
> > > configuration
> > >
> > > I have had the experience that by exporting a VM as appliance on a newer
> > > version of that software I could not successfully import and start the VM
> on
> > > an older version.
> > >
> > > That is OK.
> >
> > Hum, the base VM used by the Vagrantfile is
> > http://files.vagrantup.com/precise64.box . I've used the same one as
> MapServer
> > and PDAL. And apparently Howard is using a Mac as a host...
> >
> > Even
>




More information about the gdal-dev mailing list