[postgis-devel] postgis-devel Digest, Vol 74, Issue 26

Jeff Hamann jeff.hamann at forestinformatics.com
Thu Sep 24 14:05:18 PDT 2009


Ugh... I forgot to perform the:

PATH=$PATH:/usr/local/pgsql/bin:

thang... mea culpa...


On Sep 24, 2009, at 12:00 PM, postgis-devel-request at postgis.refractions.net 
  wrote:

> Send postgis-devel mailing list submissions to
> 	postgis-devel at postgis.refractions.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://postgis.refractions.net/mailman/listinfo/postgis-devel
> or, via email, send a message with subject or body 'help' to
> 	postgis-devel-request at postgis.refractions.net
>
> You can reach the person managing the list at
> 	postgis-devel-owner at postgis.refractions.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of postgis-devel digest..."
>
>
> Today's Topics:
>
>   1. No CUnit when building PostGIS from source (Jeff Hamann)
>   2. Re: No CUnit when building PostGIS from source (Paul Ramsey)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 24 Sep 2009 10:45:51 -0700
> From: Jeff Hamann <jeff.hamann at forestinformatics.com>
> Subject: [postgis-devel] No CUnit when building PostGIS from source
> To: postgis-devel at postgis.refractions.net
> Message-ID:
> 	<3A0165C3-6B70-464D-9DE6-6314073CBF63 at forestinformatics.com>
> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
>
> 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$
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 24 Sep 2009 10:48:59 -0700
> From: Paul Ramsey <pramsey at cleverelephant.ca>
> Subject: Re: [postgis-devel] No CUnit when building PostGIS from
> 	source
> To: PostGIS Development Discussion
> 	<postgis-devel at postgis.refractions.net>
> Message-ID:
> 	<30fe546d0909241048n6386693fr29ec727fb5bc9f98 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Jeff, your problem is actually that your PostgreSQL installation is
> not visible to you on your PATH, see the entry below:
>
> ./run_test: line 388: psql: command not found
>
> The unit tests you can take or leave, if you don't have cunit they'll
> be skipped, but having cunit won't make the db regressions run any
> better, it's a separate issue.
>
> P.
>
> On Thu, Sep 24, 2009 at 10:45 AM, Jeff Hamann
> <jeff.hamann at forestinformatics.com> wrote:
>> 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$
>>
>>
>>
>> _______________________________________________
>> postgis-devel mailing list
>> postgis-devel at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>>
>
>
> ------------------------------
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
>
> End of postgis-devel Digest, Vol 74, Issue 26
> *********************************************




More information about the postgis-devel mailing list