php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59625 Make install problem : Compilation Error
Submitted: 2011-02-15 10:01 UTC Modified: 2015-08-23 04:22 UTC
From: amarinth at gmail dot com Assigned:
Status: No Feedback Package: perl (PECL)
PHP Version: 5.3.3 OS: Ubuntu 10.10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: amarinth at gmail dot com
New email:
PHP Version: OS:

 

 [2011-02-15 10:01 UTC] amarinth at gmail dot com
Description:
------------
I tried to install the package in my machine.


export PHP_PREFIX="/usr"
export PERL_PREFIX="/usr"
$PHP_PREFIX/bin/phpize
./configure --with-perl=$PERL_PREFIX --with-php-
config=$PHP_PREFIX/bin/php-config

Everything seems fine. But when I did make/ make install.
It had the problem.

Please guide me to solve this problem.


make install
/bin/bash /home/amarin/Downloads/perl-1.0.0/libtool --
mode=compile cc  -I. -I/home/amarin/Downloads/perl-1.0.0 -
DPHP_ATOM_INC -I/home/amarin/Downloads/perl-1.0.0/include -
I/home/amarin/Downloads/perl-1.0.0/main -
I/home/amarin/Downloads/perl-1.0.0 -I/usr/include/php5 -
I/usr/include/php5/main -I/usr/include/php5/TSRM -
I/usr/include/php5/Zend -I/usr/include/php5/ext -
I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64  -DHAVE_CONFIG_H  -g -O2 -D_REENTRANT 
-D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-
protector -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE  -c 
/home/amarin/Downloads/perl-1.0.0/php_perl.c -o php_perl.lo 
libtool: compile:  cc -I. -I/home/amarin/Downloads/perl-
1.0.0 -DPHP_ATOM_INC -I/home/amarin/Downloads/perl-
1.0.0/include -I/home/amarin/Downloads/perl-1.0.0/main -
I/home/amarin/Downloads/perl-1.0.0 -I/usr/include/php5 -
I/usr/include/php5/main -I/usr/include/php5/TSRM -
I/usr/include/php5/Zend -I/usr/include/php5/ext -
I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -D_REENTRANT -
D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-
protector -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -c 
/home/amarin/Downloads/perl-1.0.0/php_perl.c  -fPIC -DPIC -o 
.libs/php_perl.o
/home/amarin/Downloads/perl-1.0.0/php_perl.c:172: warning: 
initialization from incompatible pointer type
/home/amarin/Downloads/perl-1.0.0/php_perl.c:173: warning: 
initialization from incompatible pointer type
/home/amarin/Downloads/perl-1.0.0/php_perl.c:199: warning: 
initialization from incompatible pointer type
/home/amarin/Downloads/perl-1.0.0/php_perl.c:200: warning: 
initialization from incompatible pointer type
/home/amarin/Downloads/perl-1.0.0/php_perl.c: In function 
?php_perl_zval_to_sv_ref?:
/home/amarin/Downloads/perl-1.0.0/php_perl.c:343: error: 
?zval? has no member named ?is_ref?
/home/amarin/Downloads/perl-1.0.0/php_perl.c:350: error: 
?zval? has no member named ?is_ref?
/home/amarin/Downloads/perl-1.0.0/php_perl.c: In function 
?php_perl_zval_to_sv_noref?:
/home/amarin/Downloads/perl-1.0.0/php_perl.c:393: error: 
?zval? has no member named ?is_ref?
/home/amarin/Downloads/perl-1.0.0/php_perl.c:423: error: 
?zval? has no member named ?is_ref?
/home/amarin/Downloads/perl-1.0.0/php_perl.c: In function 
?php_perl_sv_to_zval_ref?:
/home/amarin/Downloads/perl-1.0.0/php_perl.c:483: error: 
?zval? has no member named ?is_ref?
/home/amarin/Downloads/perl-1.0.0/php_perl.c:485: error: 
?zval? has no member named ?refcount?
/home/amarin/Downloads/perl-1.0.0/php_perl.c: In function 
?php_perl_sv_to_zval_noref?:
/home/amarin/Downloads/perl-1.0.0/php_perl.c:558: warning: 
format ?%ld? expects type ?long int?, but argument 3 has 
type ?unsigned int?
/home/amarin/Downloads/perl-1.0.0/php_perl.c: In function 
?php_perl_get?:
/home/amarin/Downloads/perl-1.0.0/php_perl.c:753: error: 
?zval? has no member named ?refcount?
/home/amarin/Downloads/perl-1.0.0/php_perl.c: In function 
?php_perl_read_dimension?:
/home/amarin/Downloads/perl-1.0.0/php_perl.c:827: error: 
?zval? has no member named ?refcount?
/home/amarin/Downloads/perl-1.0.0/php_perl.c:828: error: 
?zval? has no member named ?is_ref?
/home/amarin/Downloads/perl-1.0.0/php_perl.c:836: error: 
?zval? has no member named ?refcount?
/home/amarin/Downloads/perl-1.0.0/php_perl.c: In function 
?php_perl_read_property?:
/home/amarin/Downloads/perl-1.0.0/php_perl.c:976: error: 
?zval? has no member named ?refcount?
/home/amarin/Downloads/perl-1.0.0/php_perl.c:993: error: 
?zval? has no member named ?refcount?
/home/amarin/Downloads/perl-1.0.0/php_perl.c:1010: error: 
?zval? has no member named ?refcount?
/home/amarin/Downloads/perl-1.0.0/php_perl.c:1088: error: 
?zval? has no member named ?refcount?
/home/amarin/Downloads/perl-1.0.0/php_perl.c:1089: error: 
?zval? has no member named ?is_ref?
/home/amarin/Downloads/perl-1.0.0/php_perl.c:1096: error: 
?zval? has no member named ?refcount?
/home/amarin/Downloads/perl-1.0.0/php_perl.c: In function 
?php_perl_clone?:
/home/amarin/Downloads/perl-1.0.0/php_perl.c:1637: warning: 
format ?%ld? expects type ?long int?, but argument 3 has 
type ?unsigned int?
/home/amarin/Downloads/perl-1.0.0/php_perl.c: In function 
?php_perl_get_iterator?:
/home/amarin/Downloads/perl-1.0.0/php_perl.c:1758: error: 
?zval? has no member named ?refcount?
/home/amarin/Downloads/perl-1.0.0/php_perl.c: In function 
?zm_startup_perl?:
/home/amarin/Downloads/perl-1.0.0/php_perl.c:1779: warning: 
assignment from incompatible pointer type
/home/amarin/Downloads/perl-1.0.0/php_perl.c: In function 
?zm_info_perl?:
/home/amarin/Downloads/perl-1.0.0/php_perl.c:1805: warning: 
unknown conversion type character ?v? in format
make: *** [php_perl.lo] Error 1



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-26 09:47 UTC] troelsh at gmail dot com
Have you used the php_perl.c from the latest trunk?

wget http://svn.php.net/viewvc/pecl/perl/trunk/php_perl.c?revision=289243&view=co

You will get php_perl.c\?revision\=289243 just mv/rename it to php_perl.c effectively replacing the old.

Or are you compiling on a 64BIT OS?

Looks like you are and as far as i have found it won't compile on an 64bit. Maybe when somebody really needs this module on a modern 64bit server it will be rewritten to support it?
 [2011-04-26 09:58 UTC] troelsh at gmail dot com
Disregard the rubbish in my last reply about 64 bit.

Using the php_perl.c from trunk and doing as in Bug #17976 will fix the problem i thought to be 64bit related.
 [2015-08-11 18:26 UTC] cmb@php.net
-Status: Open +Status: Feedback
 [2015-08-11 18:26 UTC] cmb@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.
 [2015-08-23 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 16:01:29 2024 UTC