make test failures (was Re: [PHP] Compiling PHP 5.2.3)



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

.



Relevant Pages

  • Re: Ada on Mac
    ... Currently GNU Ada is just staging area for a MacPosts version. ... And really one would need to deinstall the package ... gnat43 which does require (and install) the MacAda compiler, ... Note that MacPorts - unlike other package systems installs all GCC core ...
    (comp.lang.ada)
  • Re: Alpine or Pine and slrn for 10.5
    ... This makes these packages completely different from the linux and bsd ... MacPorts because it is not suitable. ... I didn't run 47 "port install" commands but ...
    (comp.sys.mac.system)
  • Re: how slow is macports?
    ... I've used MacPorts to install ImageMagick a couple of times on my 1.5 ... the direct dependencies are: ... libpng pkgconfig shared-mime-info tiff xorg-libXcomposite ... I'm currently using MacPorts to get GNUcash on the same machine, ...
    (comp.sys.mac.system)
  • RE: [PHP] GD, and GD JPEG
    ... That might install GD and then restart the web server. ... I installed a script but it requires GD and GD JPEG ... PHP General Mailing List ... To unsubscribe, visit: http://www.php.net/unsub.php ...
    (php.general)
  • Re: opt directory
    ... "Macports" is a filename that appears a lot. ... I chose instead to install gmp via fink. ... /sw was chosen for fink installations for precisely ...
    (comp.sys.mac.system)