php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56733 compile error
Submitted: 2005-12-19 03:39 UTC Modified: 2006-11-07 16:19 UTC
From: m dot islam at accessel dot net Assigned:
Status: Closed Package: Fileinfo (PECL)
PHP Version: 4.3.11 OS: Redhat Enterprise Linux ES3
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: m dot islam at accessel dot net
New email:
PHP Version: OS:

 

 [2005-12-19 03:39 UTC] m dot islam at accessel dot net
Description:
------------
when i am trying to install fileinfo its giving me the following error
i have tried this way pear install fileinfo and also manually but result same

running: make
/bin/sh /var/tmp/pear-build-root/Fileinfo-1.0.2/libtool --mode=compile gcc  -I. -I/tmp/tmp20l7cD/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/tmp20l7cD/Fileinfo-1.0.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend  -DHAVE_CONFIG_H  -g -O2   -c /tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c -o fileinfo.lo
gcc -I. -I/tmp/tmp20l7cD/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/tmp20l7cD/Fileinfo-1.0.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -DHAVE_CONFIG_H -g -O2 -c /tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c  -fPIC -DPIC -o fileinfo.lo

/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c: In function `zm_startup_finfo':
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c:196: `MAGIC_PRESERVE_ATIME' undeclared (first use in this function)
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c:196: (Each undeclared identifier is reported only once
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c:196: for each function it appears in.)
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c:197: `MAGIC_RAW' undeclared (first use in this function)
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c: In function `zif_finfo_set_flags':
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c:328: void value not ignored as it ought to be
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c: In function `_php_finfo_get_type':
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c:358: void value not ignored as it ought to be
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c:402: void value not ignored as it ought to be
make: *** [fileinfo.lo] Error 1
`make' failed



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-23 08:47 UTC] julio dot bh at gmail dot com
I have a same problem...how solve this?
 [2006-11-07 16:19 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: Sat Dec 21 15:01:29 2024 UTC