#47293 [Bgs]: Running Configure getting an error
ID: 47293
User updated by: martinf at ca dot ibm dot com
Reported By: martinf at ca dot ibm dot com
Status: Bogus
Bug Type: PHP options/info functions
Operating System: Linux Redhat 4
PHP Version: 5.2.8
New Comment:
Hi,
Thanks for the response, I have used the following syntax:
./configure --prefix=/usr/local/php-5.2.8
--with-mysqli=/usr/bin/mysql_config
--with-apxs2=/usr/local/apache-2.2.11/bin/apxs --with-ldap
--enable-mbstring --enable-shmop --enable-xml --with-zlib
The configure and 'make' went well this time.
During the 'make test', it came back with these:
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 52
Exts tested : 27
---------------------------------------------------------------------
Number of tests : 6673 4958
Tests borked : 1 ( 0.0%) --------
Tests skipped : 1714 ( 25.7%) --------
Tests warned : 3 ( 0.0%) ( 0.1%)
Tests failed : 10 ( 0.1%) ( 0.2%)
Expected fail : 4 ( 0.1%) ( 0.1%)
Tests passed : 4941 ( 74.0%) ( 99.7%)
---------------------------------------------------------------------
Time taken : 178 seconds
=====================================================================
Do I really need to send it to qa-reports@lists.php.net as it said at
the end for the txt file?
Can I run 'make install' and proceed even with errors? or the test are
supposed to fail?
Please advice.
Previous Comments:
------------------------------------------------------------------------
[2009-02-03 22:11:19] jani@php.net
This might help:
# ./configure --help |grep xml
It's --enable-xml like it has always been..
------------------------------------------------------------------------
[2009-02-03 21:37:48] martinf at ca dot ibm dot com
I was playing even with the error message about no such option of
--with-xml and did a compile which went ok, but the make test came back
with failures and asking me to mail the txt file to
qa-reports@lists.php.net.
Here is the summary of the make test:
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 52
Exts tested : 27
---------------------------------------------------------------------
Number of tests : 6673 4958
Tests borked : 1 ( 0.0%) --------
Tests skipped : 1714 ( 25.7%) --------
Tests warned : 3 ( 0.0%) ( 0.1%)
Tests failed : 10 ( 0.1%) ( 0.2%)
Expected fail : 4 ( 0.1%) ( 0.1%)
Tests passed : 4941 ( 74.0%) ( 99.7%)
---------------------------------------------------------------------
Time taken : 178 seconds
=====================================================================
My question is, should i skip the --with-xml and proceed with the make
test? even there are failures and asking me to submit the txt report,
can I just 'make install' and install just like that? Would it work or
am I missing something? Sorry I am new with PHP and would like some
advice to proceed. Thanks in advance.
------------------------------------------------------------------------
[2009-02-03 18:57:24] martinf at ca dot ibm dot com
Description:
------------
I am trying to install PHP 5.2.8 but getting an error after executing
the ./configure command.
Is --with-xml no longer an option? I used the ./configure --help and
couldnt locate for it. I am trying to install IBM Rational BuildForge
and one section asked me to install PHP 5.2.1 but I thought 5.2.8 is the
newest version so used it. I did google PHP configure issue --with-xml
and zero result of the issue I am having.
I did see someone posted a different issue and used the --with-xml
option.
Or --with-xml only available with 5.2.1?
Please advice.
Reproduce code:
---------------
./configure --prefix=/usr/local/php-5.2.8
--with-mysqli=/usr/bin/mysql_config
--with-apxs2=/usr/local/apache-2.2.11/bin/apxs --with-ldap
--enable-mbstring --enable-shmop --with-xml --with-zlib
Actual result:
--------------
It ran all the way without complain til the end:
================================================
Thank you for using PHP.
Notice: Following unknown configure options were used:
--with-xml
Check './configure --help' for available options
================================================
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47293&edit=1
Thread (5 messages)