php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62832 Install Trader Fail err 1 on Media Temple Server
Submitted: 2012-08-15 18:06 UTC Modified: 2012-08-20 17:15 UTC
From: mike at saymikeo dot com Assigned:
Status: Closed Package: Trader (PECL)
PHP Version: 5.3.15 OS: linux
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
37 - 27 = ?
Subscribe to this entry?

 
 [2012-08-15 18:06 UTC] mike at saymikeo dot com
Description:
------------
Trying to install this package on our Media Temple dedicated VPS and I get this 
error when trying to make the file. Is this something with the package or my host?

thanks!

Test script:
---------------
/root/tmp/pear/download/trader-0.3.0/trader.c:1225: error: 'PHP_FE_END' undeclared here (not in a function)
make: *** [trader.lo] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-16 01:27 UTC] aharvey@php.net
-Package: *General Issues +Package: Trader
 [2012-08-17 20:42 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2012-08-17 20:42 UTC] ab@php.net
That's strange as that macros is defined in at least PHP 5.3.10 in 
Zend/zend_API.h . Looks like pecl command is pulling an older header file. Please 
inspect if you have some other/older php instances on the system and also check 
the pecl configuration.

If nothing helps, just get the extension tarball, unpack it and replace 
PHP_FE_END with { NULL, NULL, NULL, 0, 0 } at that line in trader.c . Then use 
phpize way to build the extension.
 [2012-08-20 15:35 UTC] mike at saymikeo dot com
-Status: Feedback +Status: Open -PHP Version: 5.3.15 +PHP Version: 5.3.5
 [2012-08-20 15:35 UTC] mike at saymikeo dot com
That is probably my problem as I only have 5.3.5
 [2012-08-20 17:15 UTC] mike at saymikeo dot com
-Status: Open +Status: Closed -PHP Version: 5.3.5 +PHP Version: 5.3.15
 [2012-08-20 17:15 UTC] mike at saymikeo dot com
Properly compiled once I installed the latest php version
 [2012-08-23 12:21 UTC] ab@php.net
Automatic comment from SVN on behalf of ab
Revision: http://svn.php.net/viewvc/?view=revision&revision=327245
Log: Fixed bug #62832 - PHP_FE_END undefined on PHP < 5.3.10
 [2021-04-06 10:41 UTC] git@php.net
Automatic comment on behalf of weltling
Revision: https://github.com/php/pecl-math-trader/commit/cfbbfce50ab2f3d3773d2b7a4eba738d4ca31885
Log: Fixed bug #62832 - PHP_FE_END undefined on PHP < 5.3.10
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 14 21:01:28 2024 UTC