php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57155 fileinfo 1.0.3 does not compile against PHP 5.2RC1
Submitted: 2006-07-25 06:54 UTC Modified: 2006-10-11 19:48 UTC
From: soenke at city-map dot de Assigned:
Status: Closed Package: Fileinfo (PECL)
PHP Version: 5_1 CVS-2006-07-25 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: soenke at city-map dot de
New email:
PHP Version: OS:

 

 [2006-07-25 06:54 UTC] soenke at city-map dot de
Description:
------------
/bin/sh /var/tmp/pear-build-root/Fileinfo-1.0.3/libtool --mode=compile gcc  -I. -I/tmp/tmpRwQ1Au/Fileinfo-1.0.3 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/Fileinfo-1.0.3/include -I/var/tmp/pear-build-root/Fileinfo-1.0.3/main -I/tmp/tmpRwQ1Au/Fileinfo-1.0.3 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext  -DHAVE_CONFIG_H  -g -O2   -c /tmp/tmpRwQ1Au/Fileinfo-1.0.3/fileinfo.c -o fileinfo.lo
mkdir .libs
 gcc -I. -I/tmp/tmpRwQ1Au/Fileinfo-1.0.3 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/Fileinfo-1.0.3/include -I/var/tmp/pear-build-root/Fileinfo-1.0.3/main -I/tmp/tmpRwQ1Au/Fileinfo-1.0.3 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /tmp/tmpRwQ1Au/Fileinfo-1.0.3/fileinfo.c  -fPIC -DPIC -o .libs/fileinfo.o
/tmp/tmpRwQ1Au/Fileinfo-1.0.3/fileinfo.c:124:42: error: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
/tmp/tmpRwQ1Au/Fileinfo-1.0.3/fileinfo.c:125:49: error: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
/tmp/tmpRwQ1Au/Fileinfo-1.0.3/fileinfo.c:125: error: 'ZEND_ME_MAPPING' undeclared here (not in a function)
/tmp/tmpRwQ1Au/Fileinfo-1.0.3/fileinfo.c:125: error: syntax error before 'ZEND_ME_MAPPING'
/tmp/tmpRwQ1Au/Fileinfo-1.0.3/fileinfo.c:126:41: error: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
/tmp/tmpRwQ1Au/Fileinfo-1.0.3/fileinfo.c:127:45: error: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
/tmp/tmpRwQ1Au/Fileinfo-1.0.3/fileinfo.c:129: error: syntax error before '}' token
make: *** [fileinfo.lo] Error 1
ERROR: `make' failed


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-24 21:15 UTC] pecl at adamharvey dot name
The patch at http://www.adamharvey.name/patches/fileinfo-5.2.patch fixes this, although I'm not totally sure the ZEND_MODULE_API_NO comparison is against the right version. Nevertheless, fileinfo compiles with this patch against both PHP 5.1.5 and 5.2.0-rc2.
 [2006-10-11 19:48 UTC] ilia at prohost dot org
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 11 06:01:28 2024 UTC