php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30252 make fails
Submitted: 2004-09-27 12:07 UTC Modified: 2004-10-23 16:27 UTC
From: vmunene at yahoo dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5CVS-2004-09-27 (dev) OS: Fedora Core 2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vmunene at yahoo dot com
New email:
PHP Version: OS:

 

 [2004-09-27 12:07 UTC] vmunene at yahoo dot com
Description:
------------
I have a problem with 'make' and 'make install'.  I have seen similar problems on the php bug list and some of them have been classified as bogus.

I have reinstalled my Fedora Core 3 times and on one particular machine, AMD Duron 1.3 the PHP completely refuses to make and make install.

I have used the configure as follows (./configure) and (./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysqli=/usr/bin/mysql_config) and it configures well.  But on running make I get the following error (at least the last sections of it)

/tmp/php5-STABLE-200409101430/ext/standard/file.h:26: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:27: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:29: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:30: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:31: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:32: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:33: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:34: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:35: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:36: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:37: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:38: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:39: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:40: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:41: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:42: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:43: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:44: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:45: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:46: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:47: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:48: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:49: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:50: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:51: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:52: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:53: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:54: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:55: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:56: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:57: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:58: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:59: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:60: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:61: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:63: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:64: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:66: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:67: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:69: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:72: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:73: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/standard/file.h:74: error: syntax error before "TSRMLS_DC"
In file included from /tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:47:
/tmp/php5-STABLE-200409101430/ext/libxml/php_libxml.h:67: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/php_libxml.h:69: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/php_libxml.h:70: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/php_libxml.h:71: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/php_libxml.h:72: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/php_libxml.h:73: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/php_libxml.h:74: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/php_libxml.h:77: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/php_libxml.h:79: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:78: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:79: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:80: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:81: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:82: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:126: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_clear_object':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:128: error: `object' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:131: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:132: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: At top level:
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:135: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_unregister_node':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:139: error: `nodep' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:144: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: At top level:
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:192: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_node_free_list':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:196: error: `node' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:205: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:213: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:216: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:217: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:222: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: At top level:
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:228: error: syntax error before '}' token
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_streams_IO_match_wrapper':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:248: error: `TSRMLS_C' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:249: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_streams_IO_open_wrapper':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:275: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:277: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: At top level:
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:283: error: syntax error before "if"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:285: error: `path_to_open' undeclared here (not in a function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:285: error: `mode' undeclared here (not in a function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:285: error: `context' undeclared here (not in a function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:285: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:286: warning: parameter names (without types) in function declaration
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:286: error: `xmlFree' redeclared as different kind of symbol
/usr/include/libxml2/libxml/globals.h:190: error: previous declaration of `xmlFree'
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:286: warning: data definition has no type or storage class
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:287: error: syntax error before "return"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:289: error: redefinition of `ret_val'
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:285: error: `ret_val' previously defined here
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:289: error: `path_to_open' undeclared here (not in a function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:289: error: `mode' undeclared here (not in a function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:289: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:290: warning: parameter names (without types) in function declaration
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:290: warning: data definition has no type or storage class
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:291: error: syntax error before "return"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_streams_IO_read':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:307: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_streams_IO_write':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:313: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_streams_IO_close':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:319: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: At top level:
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:322: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_ctx_error_level':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:326: error: `ctx' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:330: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:332: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_internal_error_handler':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:360: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:363: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: At top level:
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:435: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:450: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:459: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:467: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:477: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:490: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `zif_libxml_set_streams_context':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:494: error: `ht' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:494: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: At top level:
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:499: error: syntax error before '.' token
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:502: error: syntax error before '.' token
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:545: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_import_node':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:551: error: `object' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:552: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:557: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: At top level:
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:565: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_increment_node_ptr':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:569: error: `object' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:569: error: `node' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:574: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:582: error: `private_data' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: At top level:
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:597: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_decrement_node_ptr':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:601: error: `object' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: At top level:
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:616: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_increment_doc_ref':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:619: error: `object' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:622: error: `docp' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: At top level:
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:633: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_decrement_doc_ref':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:636: error: `object' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: At top level:
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:653: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_node_free_resource':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:655: error: `node' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:665: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:676: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:678: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:682: error: syntax error before "else"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: At top level:
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:688: error: syntax error before "TSRMLS_DC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c: In function `php_libxml_node_decrement_resource':
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:694: error: `object' undeclared (first use in this function)
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:697: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:699: error: syntax error before "TSRMLS_CC"
/tmp/php5-STABLE-200409101430/ext/libxml/libxml.c:702: error: syntax error before "TSRMLS_CC"
make: *** [ext/libxml/libxml.lo] Error 1

Interestingly I have the same FC2 installation, ie identical options installed, on 4 other Intel Pentium IV machines that compile fine.  Could it be an architectural problem?

Regards


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-27 13:14 UTC] derick@php.net
This means that the macro isn't define... which is impossible. Please get a new snapshot and try again - it works fine here.
 [2004-09-27 13:34 UTC] vmunene at yahoo dot com
I am installing the stable PHP 5.0.2 now on the Pentium Machine and they are installing OK, I will try on the problem machine later tonight and let you know tomorrow.

Thanks for the quick reponse.
 [2004-09-30 13:11 UTC] vmunene at yahoo dot com
The make failed on php 5.0.2 I will try to use some  precompiled versions of PHP, XAMPP to be particular and see if it works.  Any idea where I can get an RPM of php 5.0.2?
 [2004-10-23 16:27 UTC] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Apr 05 15:00:02 2026 UTC