Vagrant
Vagrant is a tool that works together with VirtualBox to create a reproducible development environment. GDAL now includes a Vagrant configuration file that sets up a Ubuntu Precise 64bit virtual machine, installs all needed dependencies (quite comprehensively, except proprietary ones), and builds GDAL.
- Download and install VirtualBox (might not be needed if Vagrant installer comes with VirtualBox).
- Download and install Vagrant.
- Download GDAL sources :
svn co https://svn.osgeo.org/gdal/trunk gdal
- Execute the vagrant configuration:
cd gdal/gdal vagrant up
- Wait for the base virtual machine to be downloaded the first time, complementary packages to be downloaded, GDAL dependencies to be built and finally GDAL to be built and installed...
- Log in to the gdal-vagrant virtual machine:
vagrant ssh
- Run any GDAL command :
gdalinfo --version
- Hack GDAL...
cd /vagrant [ modify files ] make sudo make install
Visual Studio 2008 Express compilation
- Do the previous steps
- Log in to the gdal-vagrant virtual machine:
vagrant ssh
- Download and install Visual Studio 2008 express :
cd ~/gdal/gdal/scripts/vce2008_wine ./prepare-gdal-vce2008.sh
- Compile GDAL :
cd ~/gdal_vce2008/gdal ./build_vce2008.sh
- TBD run GDAL binaries through wine
Last modified
9 years ago
Last modified on Oct 9, 2015, 8:48:01 AM
Note:
See TracWiki
for help on using the wiki.