php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59567 None of the possible methods of installation work
Submitted: 2011-01-09 05:08 UTC Modified: 2015-08-23 04:22 UTC
From: kohai dot raul at gmail dot com Assigned:
Status: No Feedback Package: perl (PECL)
PHP Version: 5.3.2 OS: Ubuntu lucid
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: kohai dot raul at gmail dot com
New email:
PHP Version: OS:

 

 [2011-01-09 05:08 UTC] kohai dot raul at gmail dot com
Description:
------------
I could not install this module with none of the installation 
methods I have applied

Actual result:
--------------
1) $ pecl install perl 
Package "perl" Version "1.0.0" does not have REST xml 
available
install failed

2) $ pear install perl
No releases available for package "pear.php.net/perl"
install failed

3) By downloading "perl-1.0.0.tgz" -> 

$ pecl install perl-1.0.0.tgz

No release notes found
Parsing of package.xml from file "/build/buildd/php5-
5.3.2/pear-build-download/package.xml" failed
install failed

4) Extracting tgz and compiling in accordance with README 
file

    $ 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  make  

Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626

    $ sudo make install
make* *** No rule make target `install`. Stop"


5) Without following README "as is"

  $ phpize

Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626


  $ ./ configure


-----------------------------------------------
checking for grep that handles long lines and -e... 
/bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -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
checking for PHP extension directory... 
/usr/lib/php5/20090626+lfs
checking for PHP installed headers prefix... 
/usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if 
you want to regenerate PHP parsers.
checking for gawk... gawk
checking for perl support... yes, shared
checking for a sed that does not truncate output... (cached) 
/bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... 
/usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD 
nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 
1572864
checking whether the shell understands some XSI 
constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc 
object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... 
immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
-----------------------------------------------

$ make 

-----------------------------------------------
/bin/bash /home/rcruz/perl-1.0.0/perl-1.0.0/libtool --
mode=compile cc  -I. -I/home/rcruz/perl-1.0.0/perl-1.0.0 -
DPHP_ATOM_INC -I/home/rcruz/perl-1.0.0/perl-1.0.0/include -
I/home/rcruz/perl-1.0.0/perl-1.0.0/main -I/home/rcruz/perl-
1.0.0/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/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c -o php_perl.lo 
libtool: compile:  cc -I. -I/home/rcruz/perl-1.0.0/perl-
1.0.0 -DPHP_ATOM_INC -I/home/rcruz/perl-1.0.0/perl-
1.0.0/include -I/home/rcruz/perl-1.0.0/perl-1.0.0/main -
I/home/rcruz/perl-1.0.0/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/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c  -fPIC -DPIC -o 
.libs/php_perl.o
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:172: warning: 
initialization from incompatible pointer type
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:173: warning: 
initialization from incompatible pointer type
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:199: warning: 
initialization from incompatible pointer type
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:200: warning: 
initialization from incompatible pointer type
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c: In function 
?php_perl_zval_to_sv_ref?:
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:343: error: 
?zval? has no member named ?is_ref?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:350: error: 
?zval? has no member named ?is_ref?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c: In function 
?php_perl_zval_to_sv_noref?:
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:393: error: 
?zval? has no member named ?is_ref?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:423: error: 
?zval? has no member named ?is_ref?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c: In function 
?php_perl_sv_to_zval_ref?:
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:483: error: 
?zval? has no member named ?is_ref?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:485: error: 
?zval? has no member named ?refcount?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c: In function 
?php_perl_sv_to_zval_noref?:
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:558: warning: 
format ?%ld? expects type ?long int?, but argument 3 has 
type ?unsigned int?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c: In function 
?php_perl_get?:
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:753: error: 
?zval? has no member named ?refcount?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c: In function 
?php_perl_read_dimension?:
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:827: error: 
?zval? has no member named ?refcount?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:828: error: 
?zval? has no member named ?is_ref?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:836: error: 
?zval? has no member named ?refcount?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c: In function 
?php_perl_read_property?:
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:976: error: 
?zval? has no member named ?refcount?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:993: error: 
?zval? has no member named ?refcount?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:1010: error: 
?zval? has no member named ?refcount?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:1088: error: 
?zval? has no member named ?refcount?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:1089: error: 
?zval? has no member named ?is_ref?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:1096: error: 
?zval? has no member named ?refcount?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c: In function 
?php_perl_clone?:
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:1637: warning: 
format ?%ld? expects type ?long int?, but argument 3 has 
type ?unsigned int?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c: In function 
?php_perl_get_iterator?:
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:1758: error: 
?zval? has no member named ?refcount?
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c: In function 
?zm_startup_perl?:
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c:1779: warning: 
assignment from incompatible pointer type
/home/rcruz/perl-1.0.0/perl-1.0.0/php_perl.c: In function 
?zm_info_perl?:
/home/rcruz/perl-1.0.0/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-03-22 12:31 UTC] na at gmail dot com
+1
 [2011-04-26 09:50 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:59 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:23 UTC] cmb@php.net
-Status: Open +Status: Feedback
 [2015-08-11 18:23 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-2021 The PHP Group
All rights reserved.
Last updated: Sun Sep 26 04:03:36 2021 UTC