Skip to content

Instantly share code, notes, and snippets.

@ponkore
Created November 5, 2012 05:57
Show Gist options
  • Save ponkore/4015581 to your computer and use it in GitHub Desktop.
Save ponkore/4015581 to your computer and use it in GitHub Desktop.
postgis-2.0 on FreeBSD-9.1RC2 (configure でちょっとハマった)
## --with-libiconv と --with-projdir を省略するとだめだった。特に iconv の方はハマりどころ。
##
$ ./configure --with-libiconv=/usr/local --with-projdir=/usr/local
checking build system type... x86_64-unknown-freebsd9.1
checking host system type... x86_64-unknown-freebsd9.1
: (中略)
enabling PostgreSQL extension support...
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating extensions/Makefile
config.status: creating extensions/postgis/Makefile
config.status: creating extensions/postgis/postgis.control
config.status: creating extensions/postgis_topology/Makefile
config.status: creating extensions/postgis_topology/postgis_topology.control
config.status: creating liblwgeom/Makefile
config.status: creating liblwgeom/cunit/Makefile
config.status: creating liblwgeom/liblwgeom.h
config.status: creating libpgcommon/Makefile
config.status: creating libpgcommon/cunit/Makefile
config.status: creating postgis/Makefile
config.status: creating postgis/sqldefines.h
config.status: creating loader/Makefile
config.status: creating loader/cunit/Makefile
config.status: creating topology/Makefile
config.status: creating regress/Makefile
config.status: creating doc/Makefile
config.status: creating doc/Makefile.comments
config.status: creating doc/html/image_src/Makefile
config.status: creating utils/Makefile
config.status: creating java/jdbc/Makefile
config.status: creating raster/Makefile
config.status: creating raster/rt_core/Makefile
config.status: creating raster/rt_pg/Makefile
config.status: creating raster/loader/Makefile
config.status: creating raster/test/Makefile
config.status: creating raster/test/core/Makefile
config.status: creating raster/test/regress/Makefile
config.status: creating raster/scripts/Makefile
config.status: creating raster/scripts/python/Makefile
config.status: creating postgis_config.h
config.status: creating raster/raster_config.h
config.status: executing libtool commands
config.status: executing po-directories commands
PostGIS is now configured for x86_64-unknown-freebsd9.1
-------------- Compiler Info -------------
C compiler: gcc -g -O2
C++ compiler: g++ -g -O2
SQL preprocessor: /usr/bin/cpp -traditional-cpp -P
-------------- Dependencies --------------
GEOS config: /usr/local/bin/geos-config
GEOS version: 3.3.3
GDAL config: /usr/local/bin/gdal-config
GDAL version: 1.9.1
PostgreSQL config: /usr/local/bin/pg_config
PostgreSQL version: PostgreSQL 9.2.1
PROJ4 version: 48
Libxml2 config: /usr/local/bin/xml2-config
Libxml2 version: 2.7.8
JSON-C support: no
PostGIS debug level: 0
Perl: /usr/bin/perl
--------------- Extensions ---------------
PostGIS Raster: enabled
PostGIS Topology: enabled
-------- Documentation Generation --------
xsltproc:
xsl style sheets:
dblatex:
convert: /usr/local/bin/convert
mathml2.dtd: http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
$
$ sudo make install
Using GNU make found at /usr/local/bin/gmake
/usr/bin/perl utils/svn_repo_revision.pl
Can't fetch local revision (neither .svn nor .git found)
Not updating existing rev file at 9979
for s in liblwgeom libpgcommon postgis regress raster topology loader utils extensions; do \
echo "---- Making all in ${s}"; \
/usr/local/bin/gmake -C ${s} all || exit 1; \
done;
---- Making all in liblwgeom
: (中略)
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment