Date: 12/20/07 (PHP Community) Keywords: php, mysql, sql, apache Hey guys, not sure if this is entirely the right place, but I'm having issues compiling PHP. I downloaded the 5.2.5 source tarball to my CentOS box this morning, compiled with gcc using: ./configure \ --with-apxs=/usr/local/apache/bin/apxs \ --with-libdir=lib64 \ --prefix=/usr/local/custom \ --enable-bcmath \ --enable-calendar \ --enable-ftp \ --with-gd \ --with-jpeg-dir=/usr/local \ --with-png-dir=/usr \ --with-xpm-dir=/usr/X11R6 \ --enable-magic-quotes \ --with-mysqli \ --with-mysql=/usr \ --enable-discard-path \ --with-pear \ --enable-sockets \ --enable-zip \ --with-zlib \ --enable-soap and got this when I ran make test :===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #16069 (ICONV transliteration failure) [ext/iconv/tests/bug16069.phpt] iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] Bug #41567 (json_encode() double conversion is inconsistent with PHP) [ext/json/tests/bug41567.phpt] ===================================================================== Since the errors listed are not functions used in my php applications, I installed anyway and everything worked fine. I then realized that I had omitted ' --with-openssl ', which is needed for my SOAP client, so I recompiled with the additional argument and am now getting the following output from make test :===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #16069 (ICONV transliteration failure) [ext/iconv/tests/bug16069.phpt] iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] Bug #41567 (json_encode() double conversion is inconsistent with PHP) [ext/json/tests/bug41567.phpt] Bug #31422 (No Error-Logging on SoapServer-Side) [ext/soap/tests/bugs/bug31422.phpt] IPv6 Loopback test [ext/sockets/tests/ipv6loop.phpt] Test array_reverse() function : usage variations - assoc. array with diff. value for 'array' argument [ext/standard/tests/array/array_reverse_variation5.phpt] Test array_unshift() function : usage variations - assoc. array with diff values for 'array' argument [ext/standard/tests/array/array_unshift_variation5.phpt] Test vsprintf() function : usage variations - string formats with non-string values [ext/standard/tests/strings/vsprintf_variation8.phpt] ===================================================================== Since I use array_reverse() and vsprintf() , I didn't install.Oddly enough though, I'm getting the same failed test results now whether or not I include the ' --with-openssl ' argument. I run make clean in between attemtps and have even re-downloaded the 5.2.5 source tarball. Same 8 errors. Has anyone run into this? I have not yet downloaded an older source, and I'd rather not if I don't have to Edit: By changing the --prefix=[PREFIX] to a directory that was empty, I was able to get the errors to go back to the original 3, which is good enough to get my SOAP client working over SSL. I'd still like to get this to compile without any failures, but for now I can at least start work on the project that requires SOAP/SSL.
|