On Tuesday, Oct 7, 2003, at 22:57 US/Eastern, Barry C. Hawkins wrote:
I am attempting to configure PHP 4.3.3 on Mac OS X 10.2.8, using the
following directives:
./configure --with-apxs --with-zlib-dir=/usr/local --with-jpeg-dir=/sw
--with-png-dir=/sw --with-tiff-dir=/sw --with-gd
--with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --with-xml
--with-dom=/sw
The following message is encountered:
...
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
| *** 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 contents of debug.log are as follows:
CONFIGURE: './configure' '--with-apxs' '--with-zlib-dir=/usr/local'
'--with-jpeg-dir=/sw' '--with-png-dir=/sw' '--with-tiff-dir=/sw'
'--with-gd' '--with-mysql=/usr/local/mysql'
'--with-pgsql=/usr/local/pgsql' '--with-xml' '--with-dom=/sw'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -no-cpp-precomp
CXX:
CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend -I/usr/local/include
-I/sw/include/libxml2 -
I/sw/include -I/usr/local/mysql/include/mysql
-I/usr/local/pgsql/include
LDFLAGS: -L/usr/local/lib -L/usr/local/lib -L/sw/lib -L/sw/lib
-L/usr/local/
mysql/lib/mysql -L/usr/local/mysql/lib/mysql -L/usr/local/pgsql/lib
-L/usr/local
/pgsql/lib
LIBS: -lpq -lmysqlclient -lpng -lz -ljpeg -lz -lz -lm -ldl
-lxml2 -lz -li
conv -lm
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/lib /sw/lib /usr/local/mysql/lib/mysql
/usr/local/pgsql/
lib
uname -a: Darwin pbg417.lothlorien.bitelf.com 6.8 Darwin Kernel
Version 6.8: W
ed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC
Power Macint
osh powerpc
gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/local/lib
-L/usr/local/lib -L/sw
/lib -L/sw/lib -L/usr/local/mysql/lib/mysql
-L/usr/local/mysql/lib/mysql -L/usr/
local/pgsql/lib -L/usr/local/pgsql/lib conftest.c -lpq -lmysqlclient
-lpng -lz -
ljpeg -lz -lz -lm -ldl -lxml2 -lz -liconv -lm 1>&5
I have zlib-1.1.14 installed in /usr/local, and the /sw directory
references are to fink packages that I have installed. Does anyone
have insight regarding this issue? THanks in advance.
Please disregard this post for now. By process of elimination, I have
determined the PostgreSQL support directive to be the culprit. I will
install without it until I can determine the issue with PostgreSQL.
Regards,
--
Barry C. Hawkins
All Things Computed
site: www.allthingscomputed.com/
weblog: www.allthingscomputed.com/blog/