php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59340 Perl compile fails on 5.3.3 - PHP_PERL_VERSION
Submitted: 2010-08-06 13:05 UTC Modified: 2017-10-24 09:10 UTC
From: bbell at kaango dot com Assigned:
Status: Suspended Package: perl (PECL)
PHP Version: 5.3.2 OS: Centos 5.4
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-08-06 13:05 UTC] bbell at kaango dot com
Description:
------------
/usr/local/src/php/perl-1.0.0/php_perl.c: In function 'php_perl_sv_to_zval_noref':
/usr/local/src/php/perl-1.0.0/php_perl.c:540: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type
/usr/local/src/php/perl-1.0.0/php_perl.c: In function 'php_perl_call_method':
/usr/local/src/php/perl-1.0.0/php_perl.c:680: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type
/usr/local/src/php/perl-1.0.0/php_perl.c: In function 'php_perl_call':
/usr/local/src/php/perl-1.0.0/php_perl.c:743: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type
/usr/local/src/php/perl-1.0.0/php_perl.c: In function 'zm_info_perl':
/usr/local/src/php/perl-1.0.0/php_perl.c:1841: error: 'PHP_PERL_VERSION' undeclared (first use in this function)
/usr/local/src/php/perl-1.0.0/php_perl.c:1841: error: (Each undeclared identifier is reported only once
/usr/local/src/php/perl-1.0.0/php_perl.c:1841: error: for each function it appears in.)



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-21 04:17 UTC] mr at rootlander dot de
I found a workaround which makes build possible.
Simply put 
#define PHP_PERL_VERSION 0
before the last #endif in php_perl.h
 [2011-01-10 11:59 UTC] anhhong83 at hotmail dot com
thank you very much
 [2017-10-24 09:10 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 09:10 UTC] kalle@php.net
The perl package has had no activity for at least 4 years, so I'm gonna consider it dead. If a new maintainer decides to pick this back up, he/she can re-open the report
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jan 26 21:01:25 2020 UTC