php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31799 Bug
Submitted: 2005-02-02 01:08 UTC Modified: 2005-02-21 19:58 UTC
Votes:2
Avg. Score:3.5 ± 0.5
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: ilya-- at mail dot ru Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.0.3 OS: Mandrake 10.0 i686
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: ilya-- at mail dot ru
New email:
PHP Version: OS:

 

 [2005-02-02 01:08 UTC] ilya-- at mail dot ru
Description:
------------
Bug

Reproduce code:
---------------
  first:
./configure --with-apxs2=/usr/local/apache2/bin/apxs
  second(bug):
make
 

Expected result:
----------------
/home/inst/php-5.0.3/Zend/zend_list.h:68: warning: parameter names (without types) in function declaration
/home/inst/php-5.0.3/Zend/zend_list.h:69: error: parse error before "TSRMLS_DC"
/home/inst/php-5.0.3/Zend/zend_list.h:74: error: parse error before "TSRMLS_DC"

/home/inst/php-5.0.3/Zend/zend_list.h:83: error: parse error before "TSRMLS_DC"
/home/inst/php-5.0.3/Zend/zend_list.h:85: error: parse error before "TSRMLS_DC"
In file included from /home/inst/php-5.0.3/Zend/zend_API.h:29,
                 from /home/inst/php-5.0.3/main/php.h:38,
                 from /home/inst/php-5.0.3/ext/libxml/libxml.c:28:
/home/inst/php-5.0.3/Zend/zend_operators.h:42: error: parse error before "TSRMLS_DC" 
         AND
/home/inst/php-5.0.3/ext/libxml/libxml.c:81: error: parse error before "TSRMLS_DC"
/home/inst/php-5.0.3/ext/libxml/libxml.c:82: error: parse error before "TSRMLS_DC"
/home/inst/php-5.0.3/ext/libxml/libxml.c:126: error: parse error before "TSRMLS_DC"
/home/inst/php-5.0.3/ext/libxml/libxml.c: In function `php_libxml_clear_object':
/home/inst/php-5.0.3/ext/libxml/libxml.c:128: error: `object' undeclared (first use in this function)
/home/inst/php-5.0.3/ext/libxml/libxml.c:131: error: parse error before "TSRMLS_CC"
/home/inst/php-5.0.3/ext/libxml/libxml.c:132: error: parse error before "TSRMLS_CC"
/home/inst/php-5.0.3/ext/libxml/libxml.c: At top level:
/home/inst/php-5.0.3/ext/libxml/libxml.c:135: error: parse error before "TSRMLS_DC"


Actual result:
--------------
problems

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-02 13:05 UTC] tony2001@php.net
Can't reproduce.
Please provide more info and make sure that your PHP installation is not broken.
 [2005-02-21 19:58 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2007-07-17 20:19 UTC] larizzsj at ector-county dot k12 dot tx dot us
I was able to reproduce this bug. My versions are:

PHP: 5.2.3
libxml2: 2.2.29

I was following this guide: http://hostlibrary.com/installing_apache_mysql_php_on_linux

I extracted the libxml2 file into / and did:

./configure
make
make install

libxml2 installs fine. 

I downloaded php and extracted it to /
I did:

./configure --prefix=usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql

After that script finishes, I am let with the same error message as the original bug. However, it is repeated longer than my terminal will show.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 24 14:01:30 2024 UTC