Re: make test failures php5.2.17
| From: | Johannes Schlüter | Date: | Wed, 02 Mar 2011 21:42:19 +0000 |
| Subject: | Re: make test failures php5.2.17 | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65750@lists.php.net to get a copy of this message | ||
On Wed, 2011-03-02 at 14:39 -0500, Josh Thackray wrote:
> Hello,
>
> I just compiled PHP version 5.2.17 on a CentOS 5.5 box with the
> following configure command:
PHP 5.2 isn't supported anymore.
> ../configure --prefix=/webstack/php-5.2.10 --enable-mbstring
The prefix looks wrong.
> --enable-fpm
5.2 has no FPM support.
> --enable-fastcgi --with-pear --with-sqlite --without-pdo-sqlite
> --with-mysql=shared --with-mysqli=shared --with-pdo-mysql=shared
> --with-gd=shared --with-mhash --build=x86_64-redhat-linux-gnu
> --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu
> --bindir=/usr/bin --sbindir=/usr/sbin --datadir=/usr/share
> --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec
> --sharedstatedir=/usr/com --mandir=/usr/share/man --with-libdir=lib64
> --with-bz2 --with-curl --with-freetype-dir=/usr --with-png-dir=/usr
> --enable-gd-native-ttf --with-gettext --with-iconv --with-jpeg-dir=/usr
> --with-openssl=/usr --with-png --without-pspell --with-pcre-regex=/usr
> --with-zlib --enable-exif --with-layout=GNU --enable-ftp
> --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg
> --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx
> --with-kerberos --enable-ucd-snmp-hack --with-unixODBC=shared,/usr
> --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx
> --enable-dio --with-mime-magic=/usr/share/file/magic.mime
> --with-libxml-dir=/usr --with-xml --with-system-tzdata --enable-dom
--with-system-tzdata is not available in official PHP sources. some
distributions add such a patch. If you have patched sources this might
explain some date failures below.
> --without-unixODBC
>
> After doing make && make install (everything went smoothly) I ran make
> test. Some tests failed during make test (results below). I am unsure as
> to what this means for my compiled copy. Many of these tests appear to
> be for only specific test cases for specific functions. Is my compiled
> binary ok to run?
If you depend on one of the features mention in the test names you
should check the behavior in detail. Some failing tests are "normal" ...
your PHP should work though.
johannes