Changeset 23415


Ignore:
Timestamp:
10/11/18 19:28:37 (6 years ago)
Author:
jdquinn
Message:

BUG: Appears to be incomplete copy from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/autotools/install-win.sh

    r23412 r23415  
    22set -eu
    33
    4 #Do a regular install first, and patch after
    5 ./install.sh
     4AUTOCONF_VER="2.69"
     5AUTOMAKE_MIN_VER="1.16"
     6AUTOMAKE_BUILD_VER="${AUTOMAKE_MIN_VER}.1"
     7LIBTOOL_VER="2.4.2"
     8M4_VER="1.4.17"
     9
     10AUTOCONF="autoconf-${AUTOCONF_VER}"
     11AUTOMAKE="automake-${AUTOMAKE_BUILD_VER}"
     12LIBTOOL="libtool-${LIBTOOL_VER}"
     13M4="m4-${M4_VER}"
     14
     15AUTOCONF_TARBALL="${AUTOCONF}.tar.gz"
     16AUTOMAKE_TARBALL="${AUTOMAKE}.tar.gz"
     17LIBTOOL_TARBALL="${LIBTOOL}.tar.gz"
     18M4_TARBALL="${M4}.tar.gz"
     19
     20# Clean up existing assets
     21rm -rf install src
     22
     23# Set up for installation
     24mkdir install
     25export PATH="$ISSM_DIR/externalpackages/autotools/install/bin:$PATH"
     26
     27# Install m4
     28echo " === INSTALLING M4 =="
     29$ISSM_DIR/scripts/DownloadExternalPackage.py "http://issm.jpl.nasa.gov/files/externalpackages/${M4_TARBALL}" $M4_TARBALL
     30tar -zxvf $M4_TARBALL
     31rm -f $M4_TARBALL
     32mv $M4 src
     33cd src
     34./configure --prefix="$ISSM_DIR/externalpackages/autotools/install"
     35make
     36make install
     37cd ..
     38
     39# Install autoconf
     40echo " === INSTALLING AUTOCONF =="
     41rm -rf src
     42$ISSM_DIR/scripts/DownloadExternalPackage.py "http://issm.jpl.nasa.gov/files/externalpackages/${AUTOCONF_TARBALL}" $AUTOCONF_TARBALL
     43tar -zxvf $AUTOCONF_TARBALL
     44rm -f $AUTOCONF_TARBALL
     45mv $AUTOCONF src
     46cd src
     47./configure --prefix="$ISSM_DIR/externalpackages/autotools/install"
     48make
     49make install
     50cd ..
     51
     52# Install automake
     53echo " === INSTALLING AUTOMAKE =="
     54rm -rf src
     55$ISSM_DIR/scripts/DownloadExternalPackage.py "http://issm.jpl.nasa.gov/files/externalpackages/${AUTOMAKE_TARBALL}" $AUTOMAKE_TARBALL
     56tar -zxvf $AUTOMAKE_TARBALL
     57rm -f $AUTOMAKE_TARBALL
     58mv $AUTOMAKE src
     59cd src
     60./configure --prefix="$ISSM_DIR/externalpackages/autotools/install"
     61make
     62make install
     63cd ..
     64
     65# Install libtool
     66echo " === INSTALLING LIBTOOL =="
     67rm -rf src
     68$ISSM_DIR/scripts/DownloadExternalPackage.py "http://issm.jpl.nasa.gov/files/externalpackages/${LIBTOOL_TARBALL}" $LIBTOOL_TARBALL
     69tar -zxvf $LIBTOOL_TARBALL
     70rm -f $LIBTOOL_TARBALL
     71mv $LIBTOOL src
     72cd src
     73./configure --prefix="$ISSM_DIR/externalpackages/autotools/install"
     74make
     75make install
     76cd ..
    677
    778# This patch takes care of removing options passed to the linker that causes
Note: See TracChangeset for help on using the changeset viewer.