Skip to content

Instantly share code, notes, and snippets.

Regina Obe robe2

Block or report user

Report or block robe2

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@robe2
robe2 / gist:5819062
Last active Dec 18, 2015
GEOS 3.4 CMAKE BUILD_TYPE=Release test results using gcc 4.8.1
View gist:5819062
Running tests...
Test project C:/ming64gcc48/projects/geos/branches/build
Start 1: geos_unit
1/4 Test #1: geos_unit ........................ Passed 0.08 sec
Start 2: xmltester
2/4 Test #2: xmltester ........................ Passed 2.73 sec
Start 3: bug234
3/4 Test #3: bug234 ........................... Passed 0.02 sec
Start 4: TestSweepLineSpeed
4/4 Test #4: TestSweepLineSpeed ............... Passed 0.97 sec
View buildpointcloud.sh
export OS_BUILD=64
export GCC_TYPE=gcc48
PROJECTS=/projects
if [[ "${OS_BUILD}" == "" && "$1" == "" ]] ; then
echo "Usage: makedependencies OS_BUILD"
echo " OS_BUILD = 32|64"
echo " or export OS_BUILD=xx"
exit 1
fi
@robe2
robe2 / makepgRouting.sh
Last active Dec 19, 2015
Building pgRouting under mingw64 using non-standard install locations of dependencies
View makepgRouting.sh
export OS_BUILD=64
export PROJECTS=/projects
export PG_VER=9.4
export GCC_TYPE=gcc48
export PGPATH=${PROJECTS}/postgresql/rel/pg${PG_VER}w${OS_BUILD}${GCC_TYPE}
export PATHOLD=$PATH
echo $PATHOLD >c:/path.txt
@robe2
robe2 / makepgRoutingDependencies.sh
Last active Dec 19, 2015
pgRouting dependencies mingw64 chain (OS_BUILD toggle between 64 (gcc 4.8.3) and 32 (gcc 4.8.1))
View makepgRoutingDependencies.sh
#!/bin/sh
#use 7zip to extract the dev env
# 64-bit builds my chain is http://www.bostongis.com/postgisstuff/ming64gcc48.7z (gcc 4.8.3)
export GCC_TYPE=gcc48
export OS_BUILD=64
export SOURCES=/projects/sources
if [[ "${OS_BUILD}" == "" && "$1" == "" ]] ; then
echo "Usage: makedependencies OS_BUILD"
echo " OS_BUILD = 32|64"
echo " or export OS_BUILD=xx"
@robe2
robe2 / makepostgisdependenciesgcc48.sh
Last active Sep 29, 2017
PostGIS 2.2 - 2.5 dep mingw64 gcc 4.8
View makepostgisdependenciesgcc48.sh
#PostGIS 2.1, 2.2 dep mingw64 gcc 4.8 (4.8.0 or 4.8.1)
# If you are building 32-bit PostgreSQL 9.4 and expect it to work with EDB Win32 builds
# You must use gcc 4.8.1+ and will also need to edit the
# change the postgresql src/templates/win32 to LDFLAGS="-Wl,--allow-multiple-definition"
# this change is not needed for building 64-bit
# (used to build dependeinces included in http://www.bostongis.com/postgisstuff/ming64gcc48.7z, ming32gcc48.7z )
export OS_BUILD=64 #set to 32 if you are using 32-bit chain
export GCC_TYPE=gcc48 #change this to gcc481 if building with 4.8.1
@robe2
robe2 / makepagc.sh
Created Jul 12, 2013
Building pagc address standardizer extension under mingw (to be used with postgis_tiger_geocoder extension for pagc_normalize_address function.
View makepagc.sh
export OS_BUILD=32
export PROJECTS=/projects
export PATHOLD=$PATH
export GCC_TYPE=
export SOURCES=/sources
#echo $PATHOLD
echo $PATHOLD >c:/path.txt
#export PATHOLD=".:/bin:/mingw/bin:/mingw/include:/c/Windows/system32:/c/Windows:/usr/local/bin"
#export PATHOLD=".:/bin:/include:/mingw/bin:/mingw/include:/c/Windows/system32:/c/Windows:/c/Windows/SysWow64"
@robe2
robe2 / buildpdal.sh
Last active Dec 24, 2015
Building PDAL under mingw64: this currently just builds with compress, xml, and postgresql
View buildpdal.sh
export OS_BUILD=64
export GCC_TYPE=gcc48
export SOURCES=/sources
PROJECTS=/projects
export PATHOLD="/mingw/bin:/mingw/include:/c/Windows/system32:/cmake/bin:/bin"
if true; then
export LIBXML_VER=2.7.8
#export LIBLAS_VER=1.7.0
#export PROJ_VER=4.8.0
View makepostgis21.sh
export OS_BUILD=64
export PROJECTS=/projects
export GCC_TYPE=gcc48
export PATHOLD=$PATH
export PROJ_VER=4.8.0
#echo $PATHOLD
echo $PATHOLD >c:/path.txt
#export PATHOLD=".:/bin:/mingw/bin:/mingw/include:/c/Windows/system32:/c/Windows:/usr/local/bin"
export export PATHOLD="/mingw/bin:/mingw/include:/c/Windows/system32:/bin:/include" #export PATHOLD=".:/bin:/include:/mingw/bin:/mingw/include:/c/Windows/system32:/c/Windows:/usr/local/bin"
@robe2
robe2 / buildosm2pgrouting.sh
Last active Aug 29, 2015
This is for building osm2pgrouting under mingw-w64 chain. Requires all the pgrouting dependencies. https://gist.github.com/robe2/5935101
View buildosm2pgrouting.sh
export OS_BUILD=64
export PROJECTS=/projects
export PG_VER=9.4
export GCC_TYPE=gcc48
export PGPATH=${PROJECTS}/postgresql/rel/pg${PG_VER}w${OS_BUILD}${GCC_TYPE}
GMP_VER=5.1.2
MPFR_VER=3.1.2
CGAL_VER=4.2
#BOOST_VER=1.47.0
@robe2
robe2 / ogr_fdw_depends_build.sh
Last active Apr 1, 2017
ogr_fdw building dependencies and fdw under mingw64. For this I used mingw64 x86_64-4.8.3-win32-seh-rt_v3-rev1 (http://sourceforge.net/projects/mingw-w64/)
View ogr_fdw_depends_build.sh
#my windows 64-bit build chain described here is available at http://www.bostongis.com/postgisstuff/ming64gcc48.7z
#(with most of these libraries already built)
#My 32-bit chain is much the same except uses gcc 4.8.1, I'll be posting that as well after I clean it up a bit
#Paul's instructions for setting up mingw on 32-bit are pretty close in concept - https://github.com/pramsey/postgis-build-windows
#Although these are built with mingw64 chain, they are designed to work with the EDB VC++ distributions of PostgreSQL
export OS_BUILD=64
export GCC_TYPE=gcc48
PROJECTS=/projects
SOURCES=/sources
You can’t perform that action at this time.