[postgis-devel] Address_standardizer extension fully integerated into configure and set to auto-build
Paragon Corporation
lr at pcorp.us
Tue Oct 7 20:37:31 PDT 2014
More a note for Steve and PostGIS devs to check my work make sure I didn't
do any damage.
I integrated the PCRE check into the configure.ac script and if it detects
its installed it will automatically build the Address Standardizer extension
The new configure output will look like below (note the PCRE support and
Address Standardizer support sections)
PostGIS is now configured for x86_64-unknown-linux-gnu
-------------- Compiler Info -------------
C compiler: gcc -g -O2
C++ compiler: g++ -g -O2
SQL preprocessor: /usr/bin/cpp -traditional-cpp -w -P
-------------- Dependencies --------------
GEOS config:
/var/lib/jenkins/workspace/geos/rel-3.4.3devw64/bin/geos-config
GEOS version: 3.4.3dev
GDAL config:
/var/lib/jenkins/workspace/gdal/rel-2.0w64/bin/gdal-config
GDAL version: 2.0.0
PostgreSQL config:
/var/lib/jenkins/workspace/pg/rel/pg9.4w64/bin/pg_config
PostgreSQL version: PostgreSQL 9.4beta2
PROJ4 version: 47
Libxml2 config: /usr/bin/xml2-config
Libxml2 version: 2.7.8
JSON-C support: yes
PCRE support: yes
PostGIS debug level: 0
Perl: /usr/bin/perl
--------------- Extensions ---------------
PostGIS Raster: enabled
PostGIS Topology: enabled
SFCGAL support: disabled
Address Standardizer support: enabled
-------- Documentation Generation --------
xsltproc: /usr/bin/xsltproc
xsl style sheets: /usr/share/xml/docbook/stylesheet/nwalsh
dblatex: /usr/bin/dblatex
convert: /usr/bin/convert
mathml2.dtd: /usr/share/xml/schema/w3c/mathml/dtd/mathml2.dtd
I added an additional switch called:
--with-pcredir which allows you to specify an alternative path for pcre or
if pcre is not in your ldconfig stuff (as its not on windows since every lib
I use I explicitly specify)
I think I have a --without-address_standardizer if for whatever reason
people run into problems and need to turn it off. I didn't test that though
so haven't documented it yet. Not sure if its even needed.
One problem I ran into which I could only really trigger on Debbie since she
doesn't have cPAN Regex:Assemble installed, was how to get rid of that
dependency.
I ended up remarking out some lines as noted in ticket --
http://trac.osgeo.org/postgis/ticket/2877
Ideally I'd like to keep those lines, but couldn't get the script to skip
over them if the generated files already existed even after remvoving them
from dist-clean and EXTRA_CLEAN sections of
extensions/address_standardizer/Makefile.in
What I would like to do next is package up the data extension next and have
that build as an additional extension but build if Address standardizer
support is enabled.
Thanks,
Regina
More information about the postgis-devel
mailing list