[postgis-users] PostGIS on Mac OS X (was Help urgently needed - geomfromEWKT() / PostGIS on Mac OS X)

Benoit Ogier benoit.ogier at cbconseil.com
Thu Feb 9 10:04:38 PST 2006


Le 9 févr. 06 à 15:23, Christian Heine a écrit :

>> Yesterday, I loose hours to understand why ./configure returns  
>> some errors (Postgres not found). Any idea about these ./configure  
>> problems ?
> As I said, ./configure on postgresql did not produce errors when I  
> ran it, some warnings yes, but no proper errors. May be it didn't  
> like some of the compiler flags you specified, but I am not a  
> specialist... unfortunately ;-))
My configure errors were in PostGIS, not in Postgres. As you can see  
below, with a simple ./configure, pgis configure script did not find  
Postgres location (pg_config)... Could somebody explain whats wrong  
(or not) here ?

iBookG4:/geo/PG8.1.2/postgresql-8.1.2/contrib/postgis-1.1.1_2 benoit 
$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether ln -s works... yes
checking for iconv_open in -liconv... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking build system type... powerpc-apple-darwin8.4.0
checking host system type... powerpc-apple-darwin8.4.0
checking for pg_config... no
configure: error: PostgreSQL is required by PostGIS


> Thanks so far for all the responses. May be the Mac users on this  
> list could team up and write a short manual on installing  
> procedures that could go into the postgis wiki.
Would be great !!! For specific stuff around unix ports (mainly  
postgres in our case) and Mac OS X, you can have a look at http:// 
www.entropy.ch. Very great site for Mac users (sorry if it's a little  
of topic).

BO
-- 
Benoît Ogier{
Carte Blanche Conseil
47, rue de Lancry
75010 Paris
Tel : +33 1 42 41 21 21
Fax : +33 1 42 41 70 40
email : benoit.ogier at cbconseil.com
};
-- 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20060209/2f2f3d85/attachment.html>


More information about the postgis-users mailing list