I was able to get past the configure problem. It was apparently
associated with the --with-imap option and I don't need imap support.
In any case, I got to the make test and got the following failures:
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #30638 (localeconv returns wrong LC_NUMERIC settings) (ok to fail
on MacOS X) [tests/lang/bug30638.phpt]
imagecreatefromwbmp with invalid wbmp [ext/gd/tests/
createfromwbmp2.phpt]
Sort with SORT_LOCALE_STRING [ext/standard/tests/array/locale_sort.phpt]
Test gettype() & settype() functions : usage variations [ext/standard/
tests/general_functions/gettype_settype_variation2.phpt]
htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15) [ext/standard/
tests/strings/htmlentities02.phpt] (warn: possibly braindead libc)
htmlentities() test 4 (setlocale / ja_JP.EUC-JP) [ext/standard/tests/
strings/htmlentities04.phpt]
htmlentities() test 15 (setlocale / KOI8-R) [ext/standard/tests/
strings/htmlentities15.phpt]
Generic pack()/unpack() tests [ext/standard/tests/strings/pack.phpt]
=====================================================================
Are these failures expected?
On Aug 30, 2007, at 2:43 PM, Eric Gorr wrote:
I am attempting to compile PHP 5.2.3 and am having trouble with the
configuration step:
configure: error: utf8_mime2text() has new signature, but
U8T_CANONICAL is missing. This should not happen. Check config.log
for additional information.
I cannot figure this one out. Any help would be appreciated.
I am using MacPorts (http://www.macports.org/ - same idea as Fink)
to obtain various packages I need and am running MacOSX 10.4.10.
To what configuration option does this belong? If it belongs to
something I don't really need, I'll just turn the option off.
What MacPort would I need to install? I could even install
something via Fink, if wha tI need is not available via MacPorts.
My configure line currently is:
./configure --prefix=/mine/local/php5 --with-apxs2=/opt/local/
apache2/bin/apxs --with-config-file-scan-dir=/mine/local/php5/php.d
--with-iconv-dir=/opt/local --with-iconv --with-openssl=/opt/local
--with-zlib=/opt/local --with-gd=/opt/local --with-zlib-dir=/opt/
local --with-ldap --with-xmlrpc --with-snmp=/opt/local --enable-
sqlite-utf8 --enable-exif --enable-wddx --enable-soap --with-
sqlite=/opt/local --enable-ftp --enable-sockets --enable-dbx --
enable-dbase --enable-mbstring --enable-calendar --enable-bcmath --
with-bz2=/opt/local --enable-memory-limit --with-curl=shared,/mine/
local/php5 --with-mysql=shared,/mine/local/php5 --with-
mysqli=shared,/mine/local/php5/bin/mysql_config --with-pdo-
mysql=shared,/mine/local/php5 --with-libxml-dir=shared,/mine/local/
php5 --with-xsl=shared,/mine/local/php5 --with-pdflib=shared,/mine/
local/php5 --with-imap=../imap-2004g --with-kerberos=/opt/local --
with-imap-ssl=/opt/local --with-jpeg-dir=/mine/local/php5 --with-
png-dir=/mine/local/php5 --enable-gd-native-ttf --with-freetype-
dir=/opt/local --with-iodbc=shared,/opt/local --with-pgsql=shared,/
mine/local/php5 --with-pdo-pgsql=shared,/mine/local/php5 --with-
t1lib=/opt/local --with-gettext=shared,/mine/local/php5 --with-
ming=shared,/mine/local/php5 --with-mcrypt=shared,/mine/local/php5
--with-mhash=shared,/mine/local/php5 --with-mssql=shared,/mine/
local/php5 --with-json=shared --enable-memcache --with-xpm-dir=/opt
--with-readline=/opt --enable-openbase_module
I'm sure there are still problems with it that I am slowly working
through...I basically copied the one from http://www.entropy.ch/
software/macosx/php/ since I know that installation of PHP has
worked for me in the past.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php