Commit 24194030 by Rodrigo Avancini

Updating some libs to release-5.4, the same as windows.

1 parent 3557232a
......@@ -296,7 +296,7 @@ fi
#
# GEOS version 3.4.2
# GEOS version 3.5.0
# Site: http://geos.osgeo.org
#
if [ ! -f "$TERRALIB_DEPENDENCIES_DIR/lib/libgeos.dylib" ]; then
......@@ -305,11 +305,11 @@ if [ ! -f "$TERRALIB_DEPENDENCIES_DIR/lib/libgeos.dylib" ]; then
sleep 1s
tar xjvf geos-3.4.2.tar.bz2 > /dev/null 2> /dev/null
valid $? "Error: could not uncompress geos-3.4.2.tar.bz2!"
tar xjvf geos-3.5.0.tar.bz2 > /dev/null 2> /dev/null
valid $? "Error: could not uncompress geos-3.5.0.tar.bz2!"
cd geos-3.4.2 > /dev/null
valid $? "Error: could not enter geos-3.4.2 dir!"
cd geos-3.5.0 > /dev/null
valid $? "Error: could not enter geos-3.5.0 dir!"
./configure --prefix=$TERRALIB_DEPENDENCIES_DIR > /dev/null 2>> ../build.log
valid $? "Error: could not configure GEOS!"
......@@ -614,7 +614,7 @@ fi
#
# Boost version 1.60
# Boost version 1.65
# Site: http://www.boost.org
#
if [ ! -f "$TERRALIB_DEPENDENCIES_DIR/lib/libboost_thread.dylib" ]; then
......@@ -623,11 +623,11 @@ if [ ! -f "$TERRALIB_DEPENDENCIES_DIR/lib/libboost_thread.dylib" ]; then
sleep 1s
tar xzvf boost_1_60_0.tar.gz > /dev/null 2> /dev/null
valid $? "Error: could not uncompress boost_1_60_0.tar.gz!"
tar xzvf boost_1_65_0.tar.gz > /dev/null 2> /dev/null
valid $? "Error: could not uncompress boost_1_65_0.tar.gz!"
cd boost_1_60_0 > /dev/null
valid $? "Error: could not enter boost_1_60_0!"
cd boost_1_65_0 > /dev/null
valid $? "Error: could not enter boost_1_65_0!"
./bootstrap.sh --with-toolset=clang --prefix=$TERRALIB_DEPENDENCIES_DIR > /dev/null 2>> ../build.log
valid $? "Error: could not configure Boost!"
......@@ -740,7 +740,7 @@ fi
#
# SpatiaLite version 4.2.0
# SpatiaLite version 4.3.0a
# Site: https://www.gaia-gis.it/fossil/libspatialite
# Obs.: In the future we should turn on libxml2 support.
#
......@@ -750,11 +750,11 @@ if [ ! -f "$TERRALIB_DEPENDENCIES_DIR/lib/libspatialite.dylib" ]; then
sleep 1s
tar xzvf libspatialite-4.2.0.tar.gz > /dev/null 2> /dev/null
valid $? "Error: could not uncompress libspatialite-4.2.0.tar.gz!"
tar xzvf libspatialite-4.3.0a.tar.gz > /dev/null 2> /dev/null
valid $? "Error: could not uncompress libspatialite-4.3.0a.tar.gz!"
cd libspatialite-4.2.0 > /dev/null
valid $? "Error: could not enter libspatialite-4.2.0!"
cd libspatialite-4.3.0a > /dev/null
valid $? "Error: could not enter libspatialite-4.3.0a!"
CPPFLAGS="-I$TERRALIB_DEPENDENCIES_DIR -I$TERRALIB_DEPENDENCIES_DIR/include -I$TERRALIB_DEPENDENCIES_DIR/include/libxml2 -I$TERRALIB_DEPENDENCIES_DIR/include/libxml2/libxml" LDFLAGS="-L$TERRALIB_DEPENDENCIES_DIR/lib" ./configure --prefix=$TERRALIB_DEPENDENCIES_DIR --enable-proj --enable-geos --enable-geosadvanced --enable-iconv --enable-freexl --enable-geocallbacks --enable-epsg --enable-mathsql --enable-libxml2=no --enable-geopackage --with-geosconfig=$TERRALIB_DEPENDENCIES_DIR/bin/geos-config > /dev/null 2>> ../build.log
valid $? "Error: could not configure libspatialite!"
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!