[postgis-devel] make check question

Bryce L Nordgren bnordgren at gmail.com
Wed Jul 27 08:52:12 PDT 2011


On Wed, Jul 27, 2011 at 5:17 AM, Paragon Corporation <lr at pcorp.us> wrote:

> ** ** **
> To do the non C-Unit checks, you need a running PostgreSQL server period.
>
> export PGPORT=5434
>
> export PG_VER=84****
>
> export PGUSER=postgres****
>
>
>
I have a different error now, having to do with the fact that the plpgsql
language comes pre-installed on Postgresql 9.0 databases. So: spatial
functions never get added and the very first test fails...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20110727/a688a320/attachment.html>
-------------- next part --------------
---- Making check in regress
make[1]: Entering directory `/home/bnordgren/src/postgis-geos-build/regress'
sed 's,$libdir,/home/bnordgren/src/postgis-geos-build/regress/00-regress-install/lib,g' ../postgis/postgis.sql > postgis.sql
make -C ../postgis REGRESS=1 DESTDIR=/home/bnordgren/src/postgis-geos-build/regress/00-regress-install install
make[2]: Entering directory `/home/bnordgren/src/postgis-geos-build/postgis'
/bin/mkdir -p '/home/bnordgren/src/postgis-geos-build/regress/00-regress-install/lib'
/bin/mkdir -p '/home/bnordgren/src/postgis-geos-build/regress/00-regress-install/share/contrib/postgis-2.0'
/bin/sh /usr/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c -m 755  postgis-2.0.so '/home/bnordgren/src/postgis-geos-build/regress/00-regress-install/lib/postgis-2.0.so'
/bin/sh /usr/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c -m 644 ./../spatial_ref_sys.sql '/home/bnordgren/src/postgis-geos-build/regress/00-regress-install/share/contrib/postgis-2.0'
/bin/sh /usr/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c -m 644 postgis.sql '/home/bnordgren/src/postgis-geos-build/regress/00-regress-install/share/contrib/postgis-2.0'
/bin/sh /usr/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c -m 644 uninstall_postgis.sql '/home/bnordgren/src/postgis-geos-build/regress/00-regress-install/share/contrib/postgis-2.0'
/bin/sh /usr/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c -m 644 postgis_upgrade_20_minor.sql '/home/bnordgren/src/postgis-geos-build/regress/00-regress-install/share/contrib/postgis-2.0'
/bin/sh /usr/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c -m 644 legacy.sql '/home/bnordgren/src/postgis-geos-build/regress/00-regress-install/share/contrib/postgis-2.0'
/bin/sh /usr/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c -m 644 uninstall_legacy.sql '/home/bnordgren/src/postgis-geos-build/regress/00-regress-install/share/contrib/postgis-2.0'
make[2]: Leaving directory `/home/bnordgren/src/postgis-geos-build/postgis'
make -C ../loader REGRESS=1 DESTDIR=/home/bnordgren/src/postgis-geos-build/regress/00-regress-install install
make[2]: Entering directory `/home/bnordgren/src/postgis-geos-build/loader'
Makefile:133: warning: overriding commands for target `clean'
/usr/lib/postgresql/pgxs/src/makefiles/pgxs.mk:218: warning: ignoring old commands for target `clean'
/bin/sh /usr/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c pgsql2shp /home/bnordgren/src/postgis-geos-build/regress/00-regress-install/bin
/bin/sh /usr/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c shp2pgsql /home/bnordgren/src/postgis-geos-build/regress/00-regress-install/bin
make[2]: Leaving directory `/home/bnordgren/src/postgis-geos-build/loader'
Creating spatial db postgis_reg 
createlang: language "plpgsql" is already installed in database "postgis_reg"
ERROR:  function postgis_lib_version() does not exist
LINE 1: select postgis_lib_version()
               ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

 Something went wrong (no postgis installed in postgis_reg).
 For details, check /tmp/pgis_reg_8247/regress_log

make[1]: *** [check] Error 1
make[1]: Leaving directory `/home/bnordgren/src/postgis-geos-build/regress'
make: *** [check] Error 1
[bnordgren at ghosty-mosty postgis-geos-build]$ 


More information about the postgis-devel mailing list