[postgis-users] Compiling PostGis from source on RHEL_5 64-bit?

sablok sablok at amazon.com
Wed Jul 6 16:59:53 PDT 2016


Hi I am trying to compile PostGIS from source and I am using a tarball to
extract the source for postgis 2.2.2 and using the following set of commands
to compile postgis and all its extensions on my RHEL_5 64-bit machine -:
/
# Install postgis-2.2.2
export POSTGIS_BUILD_VERSION=2.2.2
export CFLAGS='-std=gnu99'
cd ${path}/configuration/postgis/postgis-$POSTGIS_BUILD_VERSION &&
./configure --with-pgconfig=${build_root}/bin/pg_config
--with-jsondir=${build_root} --with-projdir=${build_root}
--with-geosconfig=${build_root}/bin/geos-config
--with-gdalconfig=${build_root}/bin/gdal-config --with-raster
--with-topology --with-gui
cd ${path}/configuration/postgis/postgis-$POSTGIS_BUILD_VERSION && make -j 4
cd ${path}/configuration/postgis/postgis-$POSTGIS_BUILD_VERSION && make
clean
cd ${path}/configuration/postgis/postgis-$POSTGIS_BUILD_VERSION && make
install
cd ${path}/configuration/postgis/postgis-$POSTGIS_BUILD_VERSION/extensions
&& make
cd ${path}/configuration/postgis/postgis-$POSTGIS_BUILD_VERSION/extensions
&& make install/

and while doing the above process I keep on getting the following error -:

---- Making all in postgis_tiger_geocoder
make[2]: Entering directory
`PostGIS/configuration/postgis/postgis-2.2.2/extensions/postgis_tiger_geocoder'
cp sql_bits/add_search_path.sql.in sql_bits/add_search_path.sql
cp ../../doc/tiger_geocoder_comments.sql
sql_bits/tiger_geocoder_comments.sql
mkdir -p sql
cp sql_bits/tiger_geocoder--unpackaged.sql.in
sql/postgis_tiger_geocoder--unpackaged--2.2.2.sql
cat ../../extras/tiger_geocoder/utility/set_search_path.sql
../../extras/tiger_geocoder/geocode_settings.sql
../../extras/tiger_geocoder/tiger_loader_2015.sql
../../extras/tiger_geocoder/utility/utmzone.sql
../../extras/tiger_geocoder/utility/cull_null.sql
../../extras/tiger_geocoder/utility/nullable_levenshtein.sql
../../extras/tiger_geocoder/utility/levenshtein_ignore_case.sql
../../extras/tiger_geocoder/normalize/end_soundex.sql
../../extras/tiger_geocoder/normalize/count_words.sql
../../extras/tiger_geocoder/normalize/state_extract.sql
../../extras/tiger_geocoder/normalize/get_last_words.sql
../../extras/tiger_geocoder/normalize/location_extract_countysub_exact.sql
../../extras/tiger_geocoder/normalize/location_extract_countysub_fuzzy.sql
../../extras/tiger_geocoder/normalize/location_extract_place_exact.sql
../../extras/tiger_geocoder/normalize/location_extract_place_fuzzy.sql
../../extras/tiger_geocoder/normalize/location_extract.sql
../../extras/tiger_geocoder/normalize/normalize_address.sql
../../extras/tiger_geocoder/normalize/pprint_addy.sql
../../extras/tiger_geocoder/pagc_normalize/pagc_tables.sql
../../extras/tiger_geocoder/pagc_normalize/pagc_normalize_address.sql
../../extras/tiger_geocoder/geocode/other_helper_functions.sql
../../extras/tiger_geocoder/geocode/rate_attributes.sql
../../extras/tiger_geocoder/geocode/includes_address.sql
../../extras/tiger_geocoder/geocode/interpolate_from_address.sql
../../extras/tiger_geocoder/geocode/geocode_address.sql
../../extras/tiger_geocoder/geocode/geocode_location.sql
../../extras/tiger_geocoder/geocode/geocode_intersection.sql
../../extras/tiger_geocoder/geocode/geocode.sql
../../extras/tiger_geocoder/geocode/reverse_geocode.sql
../../extras/tiger_geocoder/geocode/census_tracts_functions.sql >
sql_bits/tiger_geocoder_minor.sql.in
mkdir -p sql
cat sql_bits/test_tuples_only_unaligned.sql.in
../../extras/tiger_geocoder/regress/normalize_address_regress.sql >
sql/test-normalize_address.sql
mkdir -p sql
cat sql_bits/test_tuples_only_unaligned.sql.in
../../extras/tiger_geocoder/regress/pagc_normalize_address_regress.sql >
sql/test-pagc_normalize_address.sql
cat sql_bits/test_tuples_only_unaligned.sql.in
../../extras/tiger_geocoder/regress/normalize_address_regress >
expected/test-normalize_address.out
*/bin/sh: expected/test-normalize_address.out: No such file or directory*
make[2]: *** [expected/test-normalize_address.out] Error 1
make[2]: Leaving directory
`/PostGIS/configuration/postgis/postgis-2.2.2/extensions/postgis_tiger_geocoder'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/PostGIS/configuration/postgis/postgis-2.2.2/extensions/'
make: *** [all] Error 1

I would appreciate if someone can help me out what am I doing wrong in the
procedure that I am getting this error always.




--
View this message in context: http://postgis.17.x6.nabble.com/Compiling-PostGis-from-source-on-RHEL-5-64-bit-tp5010219.html
Sent from the PostGIS - User mailing list archive at Nabble.com.


More information about the postgis-users mailing list