Giter Site home page Giter Site logo

ivanljf / asf_mapready Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asfadmin/asf_mapready

1.0 0.0 0.0 251.41 MB

License: GNU General Public License v3.0

Python 0.43% Shell 0.22% C 83.55% Makefile 12.93% Perl 0.50% C++ 0.59% Objective-C 0.11% HTML 0.01% DIGITAL Command Language 0.01% Lex 0.03% Yacc 0.51% M4 0.09% Roff 1.02% sed 0.01% Dockerfile 0.01%

asf_mapready's Introduction

To compile and install the tools, make sure you are in the "asf_tools" directory (the same directory this file is in), then:

./configure --prefix=<<installation location>>
make
make install

You need permissions to put files into <>! The default is /usr/local.


EXAMPLE 1: Install ASF tools into /usr/local/bin (and shared files in /usr/local/share/asf_tools) :

./configure
make
make install

EXAMPLE 2: Install ASF tools to a folder "local" in your home directory:

./configure --prefix=~/local
make
make install

######################################################################### Prerequisites:

The ASF Tools depend on a number of libraries that you'll need to have installed on your system. In the list below, some of the listed packages will have additional dependencies that your package management system should automatically pull in.

On Debian 9/Ubuntu 16.04, the following packages are necessary:

  • gcc
  • g++
  • bison
  • flex
  • libcunit1-dev
  • libexif-dev
  • libfftw3-dev
  • libgdal-dev
  • libgeotiff-dev
  • libglade2-dev
  • libglib2.0-dev
  • libgsl-dev
  • libgtk2.0-dev
  • libjpeg-dev
  • libpng-dev
  • libproj-dev
  • libshp-dev
  • libtiff5-dev
  • libxml2-dev

On Fedora/CentOS, the following packages are necessary:

  • gcc
  • gcc-c++
  • bison
  • flex
  • CUnit-devel
  • fftw-devel
  • gdal-devel
  • gsl-devel
  • gtk2-devel
  • libcurl-devel
  • libgeotiff-devel
  • libglade2-devel
  • libjpeg-turbo-devel
  • libtiff-devel
  • netcdf-devel
  • proj-devel
  • shapelib-devel

On other systems, the package names may vary.

#########################################################################
The following commands on the most recent Ubuntu should get you up and running:

  • sudo apt-get install git bison flex g++ gcc libgdal-dev libgtk2.0-dev libglade2-dev libgsl-dev libproj-dev libtiff-dev libgeotiff-dev shapelib libshp-dev libcunit1-dev
  • git clone [email protected]/asfadmin/ASF_MapReady.git ASF_MapReady
  • cd ASF_MapReady
  • ./configure
  • make

Optional:

  • sudo make install

As noted above, if you skip the last step, add "/path/to/ASF_MapReady/bin" to your PATH in ~/.bashrc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.