php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56749 Failure to build
Submitted: 2005-12-27 20:49 UTC Modified: 2006-01-03 16:03 UTC
From: fishgills at fishgills dot net Assigned:
Status: Closed Package: Fileinfo (PECL)
PHP Version: 5.1.1 OS: Fedora 4
Private report: No CVE-ID: None
 [2005-12-27 20:49 UTC] fishgills at fishgills dot net
Description:
------------
While doing:

pecl install fileinfo

I got the following error:

 gcc -I. -I/tmp/tmptOcOvn/Fileinfo-1.0.2 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/Fileinfo-1.0.2/include -I/var/tmp/pear-build-root/Fileinfo-1.0.2/main -I/tmp/tmptOcOvn/Fileinfo-1.0.2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /tmp/tmptOcOvn/Fileinfo-1.0.2/fileinfo.c  -fPIC -DPIC -o .libs/fileinfo.o
/tmp/tmptOcOvn/Fileinfo-1.0.2/fileinfo.c: In function 'finfo_objects_new':
/tmp/tmptOcOvn/Fileinfo-1.0.2/fileinfo.c:109: error: 'zend_object' has no member named 'in_get'
/tmp/tmptOcOvn/Fileinfo-1.0.2/fileinfo.c:110: error: 'zend_object' has no member named 'in_set'
make: *** [fileinfo.lo] Error 1

This is running on a x86_64 system.


Expected result:
----------------
I expected it to build! :)

Actual result:
--------------
It failed. :( Error above.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-03 15:02 UTC] mjs15451 at hotmail dot com
I'm running gentoo and I'm getting basically the same error when attempting to compile with php 5.1.1:


/bin/sh /usr/src/php-5.1.1/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/fileinfo/ -I/usr/src/php-5.1.1/ext/fileinfo/ -DPHP_ATOM_INC -I/usr/src/php-5.1.1/include -I/usr/src/php-5.1.1/main -I/usr/src/php-5.1.1 -I/usr/include/libxml2 -I/usr/src/php-5.1.1/ext/date/lib -I/usr/include/freetype2 -I/usr/include/ -I/usr/src/php-5.1.1/ext/mbstring/oniguruma -I/usr/src/php-5.1.1/ext/mbstring/libmbfl -I/usr/src/php-5.1.1/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/lib/odbtp/include -I/usr/include/pspell -I/usr/src/php-5.1.1/TSRM -I/usr/src/php-5.1.1/Zend    -g -O2  -prefer-non-pic -c /usr/src/php-5.1.1/ext/fileinfo/fileinfo.c -o ext/fileinfo/fileinfo.lo
/usr/src/php-5.1.1/ext/fileinfo/fileinfo.c: In function `finfo_objects_new':
/usr/src/php-5.1.1/ext/fileinfo/fileinfo.c:109: error: structure has no member named `in_get'
/usr/src/php-5.1.1/ext/fileinfo/fileinfo.c:110: error: structure has no member named `in_set'
make: *** [ext/fileinfo/fileinfo.lo] Error 1
 [2006-01-03 16:03 UTC] ilia at prohost dot org
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/Fileinfo


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Nov 12 18:01:32 2019 UTC