Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
terralib
/
terralib
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Wiki
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 24194030
authored
2018-10-16 14:44:09 -0300
by
Rodrigo Avancini
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Updating some libs to release-5.4, the same as windows.
1 parent
3557232a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
install/install-3rdparty-macosx-el-capitan.sh
install/install-3rdparty-macosx-el-capitan.sh
View file @
2419403
...
...
@@ -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.6
0
# Boost version 1.6
5
# 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_6
0
_0.tar.gz > /dev/null 2> /dev/null
valid
$?
"Error: could not uncompress boost_1_6
0
_0.tar.gz!"
tar xzvf boost_1_6
5
_0.tar.gz > /dev/null 2> /dev/null
valid
$?
"Error: could not uncompress boost_1_6
5
_0.tar.gz!"
cd
boost_1_6
0
_0 > /dev/null
valid
$?
"Error: could not enter boost_1_6
0
_0!"
cd
boost_1_6
5
_0 > /dev/null
valid
$?
"Error: could not enter boost_1_6
5
_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!"
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment