On Sun, Nov 24, 2002 at 02:00:44PM -0500, Benjamin Reed wrote:
> On Sunday, November 24, 2002, at 01:38 PM, Frank Joerdens wrote:
> 
> > 7.3rc1 is reported (on the Postgres list) to work out of the box, no?
> 
> I haven't tried the 7.3 rc's yet; my experience is based on 7.2.  7.2 
> mostly works out of the box, but it doesn't really build proper shared 
> libraries, I was assuming their build hasn't changed much since then.

I managed to install fink properly now (the problem was our firewall
which was configured to block cvs), and installed both the fink
postgresql package, and compiled 7.3rc1. Neither allows me to build PHP
with pgsql support. If I configure PHP with the path to fink, it'll say
that it can't find libpq-fe.h, and if provide the path to the 7.3rc1
libs (which I installed under the default location), I get:

./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      |
| [EMAIL PROTECTED] 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 --------------------

Running the PHP configure script without pgsql support doesn't give a
problem.  Does this mean the shared libs aren't built properly? Why is
libpq-fe.h not there if I install the postgresql-shlibs package (I
searched the entire fink tree for the file)?

Regards, Frank

BTW: Fink rocks! (I am even beginning to like OS X a little . . . )


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to