pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Witney <awitney@sghms.ac.uk>
To: Frank Joerdens <frank@joerdens.de>
To: pgsql-php <pgsql-php@postgresql.org>
Subject: Re: building PHP on OS X with pgsql support
Date: Wed, 27 Nov 2002 17:28:49 +0000
Message-ID: <BA0AB151.C6B9%a.witney@sghms.ac.uk> (raw)
In-Reply-To: <20021127181735.A27034@superfly.archi-me-des.de>


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.




view thread (2+ messages)

Message-ID: <BA0AB151.C6B9%a.witney@sghms.ac.uk>
Permalink:  ../BA0AB151.C6B9%25a.witney@sghms.ac.uk/
Also on:    postgresql.org/message-id/BA0AB151.C6B9%a.witney@sghms.ac.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: awitney@sghms.ac.uk, frank@joerdens.de
  Subject: Re: building PHP on OS X with pgsql support
  In-Reply-To: <BA0AB151.C6B9%a.witney@sghms.ac.uk>
  References: <20021127181735.A27034@superfly.archi-me-des.de> <BA0AB151.C6B9%a.witney@sghms.ac.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox