[postgis-devel] trunk regress fails

Kevin Neufeld kneufeld at refractions.net
Wed Jul 22 11:10:21 PDT 2009


Does anyone have insight to what is happening here?

Trunk builds and installs just fine.  But when I try to run the regression tests, make fails.

# after make install
cd regress
make
sed 's,$libdir/postgis,/var/home/buildbot/workspace/src/regress/../postgis/libpostgis,g' ../postgis/postgis.sql > 
postgis.sql
./run_test: line 388: psql: command not found
Creating spatial db postgis_reg
./run_test: line 395: createdb: command not found
./run_test: line 396: createlang: command not found
./run_test: line 415: psql: command not found

  Something went wrong (no postgis installed in postgis_reg).
  For details, check /var/home/buildbot/workspace/regress_results/regress_log


But, psql IS on the PATH:
[buildbot at falcon regress]$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/var/home/buildbot/opt/pgsql/8.2/bin

[buildbot at falcon regress]$ which psql
~/opt/pgsql/8.2/bin/psql

[buildbot at falcon regress]$ psql -l
         List of databases
    Name    |  Owner   | Encoding
-----------+----------+----------
  postgres  | buildbot | UTF8
  template0 | buildbot | UTF8
  template1 | buildbot | UTF8
(3 rows)


Cheers,
Kevin





More information about the postgis-devel mailing list