[postgis-devel] No CUnit when building PostGIS from source
Jeff Hamann
jeff.hamann at forestinformatics.com
Thu Sep 24 10:45:51 PDT 2009
PostgreSQL 8.3.8 + PostGIS 1.4.0
I'm working on installing CUnit right now. I'm guessing none of the
other contrib packages need it?
When installing PostGIS, I see that unless I've installed CUnit, I
cannot complete: $ make check or make installcheck
Do 'make install', then 'make installcheck' instead.
make[1]: Nothing to be done for `check'.
make[1]: *** No rule to make target `check'. Stop.
make -C liblwgeom
make[2]: Nothing to be done for `all'.
make -C postgis
make[2]: Nothing to be done for `all'.
make -C liblwgeom/cunit check
WARNING:
configure was unable to find CUnit which is required for unit testing.
In order to enable unit testing, you must install CUnit and then re-
run configure.
make -C regress check
make -C ../postgis
make[3]: Nothing to be done for `all'.
cp ../postgis/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/folders/mm/mmtlaVljEDS1BLcc4B-S0E+++TI/-
Tmp-//regress_log
make[2]: *** [check] Error 1
make[1]: *** [check] Error 2
make: *** [check] Error 2
Jeff-Hamanns-MacBook-Pro:contrib hamannj$
Jeff-Hamanns-MacBook-Pro:contrib hamannj$ uname -a
Darwin Jeff-Hamanns-MacBook-Pro.local 10.0.0 Darwin Kernel Version
10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/
RELEASE_I386 i386
Jeff-Hamanns-MacBook-Pro:contrib hamannj$
and the results of pg_config are:
Jeff-Hamanns-MacBook-Pro:contrib hamannj$ pg_config
BINDIR = /usr/local/pgsql/bin
DOCDIR = /usr/local/pgsql/doc
INCLUDEDIR = /usr/local/pgsql/include
PKGINCLUDEDIR = /usr/local/pgsql/include
INCLUDEDIR-SERVER = /usr/local/pgsql/include/server
LIBDIR = /usr/local/pgsql/lib
PKGLIBDIR = /usr/local/pgsql/lib
LOCALEDIR =
MANDIR = /usr/local/pgsql/man
SHAREDIR = /usr/local/pgsql/share
SYSCONFDIR = /usr/local/pgsql/etc
PGXS = /usr/local/pgsql/lib/pgxs/src/makefiles/pgxs.mk
CONFIGURE =
CC = gcc -no-cpp-precomp
CPPFLAGS =
CFLAGS = -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -
Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
CFLAGS_SL =
LDFLAGS =
LDFLAGS_SL =
LIBS = -lpgport -lz -lreadline -lm
VERSION = PostgreSQL 8.3.8
Jeff-Hamanns-MacBook-Pro:contrib hamannj$
More information about the postgis-devel
mailing list