Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 69AC7476564 for ; Wed, 27 Nov 2002 12:29:50 -0500 (EST) Received: from mailhub1.sghms.ac.uk (firewall.sghms.ac.uk [194.82.50.2]) by postgresql.org (Postfix) with ESMTP id 75382476238 for ; Wed, 27 Nov 2002 12:28:37 -0500 (EST) Received: from [194.82.51.24] (helo=imail) by mailhub1.sghms.ac.uk with esmtp (Exim 4.05) id 18H5yx-0001J0-00; Wed, 27 Nov 2002 17:28:15 +0000 Received: from [172.16.20.3] (mrc1-003.sghms.ac.uk [172.16.20.3]) by imail.sghms.ac.uk (iPlanet Messaging Server 5.1 HotFix 0.7 (built May 7 2002)) with ESMTPA id <0H68003H1WJN44@imail.sghms.ac.uk>; Wed, 27 Nov 2002 17:28:35 +0000 (GMT) Date: Wed, 27 Nov 2002 17:28:49 +0000 From: Adam Witney In-reply-to: <20021127181735.A27034@superfly.archi-me-des.de> To: Frank Joerdens , pgsql-php Message-id: MIME-version: 1.0 User-Agent: Microsoft-Entourage/10.1.1.2418 Subject: Re: building PHP on OS X with pgsql support Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT X-Spam-Status: No, hits=-101.6 required=5.7 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_ENTOURAGE,USER_IN_WHITELIST version=2.43 X-Spam-Level: X-MailScanner: Found to be clean X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/89 X-Sequence-Number: 1671 Don't know what your specific problem is but I got it working using the module from Mark Liyanage's page http://www.entropy.ch/software/macosx/php/ HTH adam > I tried both the fink package (installed the package postgresql-shlibs > as well), which is based on 7.2.3, and compiled 7.3rc1 myself. With the > fink package, it won't find libpq-fe.h (it ain't there, as far as I can > make out, i.e. I ran a find on the entire fink tree). With 7.3rc1, I get > an error upon running > > ./configure --with-pgsql=/usr/local/pgsql: > > +--------------------------------------------------------------------+ > | *** ATTENTION *** | > | | > | Something is likely to be messed up here, because the configure | > | script was not able to detect a simple feature on your platform. | > | This is often caused by incorrect configuration parameters. Please | > | see the file debug.log for error messages. | > | | > | If you are unable to fix this, send the file debug.log to the | > | php-install@lists.php.net mailing list and include appropiate | > | information about your setup. | > +--------------------------------------------------------------------+ > > The debug.log file looks like this: > > -------------------- begin debug.log -------------------- > bash-2.05a# cat debug.log > CONFIGURE: './configure' '--with-pgsql=/usr/local/pgsql' > CC: gcc > CFLAGS: -g -O2 > CPPFLAGS: -traditional-cpp > CXX: > CXXFLAGS: > INCLUDES: -I$(top_builddir)/Zend -I/usr/src/php-4.2.3/ext/mysql/libmysql > -I/usr/local/pgsql/include > LDFLAGS: -L/usr/local/pgsql/lib -L/usr/local/pgsql/lib > LIBS: -lpq -lm > DLIBS: > SAPI: cgi > PHP_RPATHS: /usr/local/pgsql/lib > uname -a: Darwin titan.archi-me-des.de 6.2 Darwin Kernel Version 6.2: Tue > Nov 5 22:00:03 PST 2002; root:xnu/xnu-344.12.2.obj~1/RELEASE_PPC Power > Macintosh powerpc > > gcc -o conftest -g -O2 -traditional-cpp -L/usr/local/pgsql/lib > -L/usr/local/pgsql/lib conftest.c -lpq -lm 1>&5 > -------------------- end debug.log -------------------- > > Any ideas? > > Regards, Frank > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.