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
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: mike at saymikeo dot com
New email:
PHP Version: OS:

 

 [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 Dec 30 14:01:28 2024 UTC