php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47293 Running Configure getting an error
Submitted: 2009-02-03 18:57 UTC Modified: 2009-02-12 14:04 UTC
From: martinf at ca dot ibm dot com Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 5.2.8 OS: Linux Redhat 4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: martinf at ca dot ibm dot com
New email:
PHP Version: OS:

 

 [2009-02-03 18:57 UTC] 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
================================================


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-03 21:37 UTC] 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 22:11 UTC] jani@php.net
This might help:

# ./configure --help |grep xml 

It's --enable-xml like it has always been..
 [2009-02-04 13:41 UTC] martinf at ca dot ibm dot com
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.
 [2009-02-12 14:04 UTC] martinf at ca dot ibm dot com
Since I havent seen any reply I fooled around with the error and went ahead to 'make install'.  It looks like the failed test was a part of the testing process and to send email to qa-reports@lists.php.net was optional.

I wish when making test, would mention about it as I am new to PHP.

Whoever is tracking it, please close it.

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 19:01:34 2024 UTC