php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56698 Cannot install bcompiler package
Submitted: 2005-12-05 03:48 UTC Modified: 2006-02-12 11:23 UTC
From: mitsuhashi dot da at gmail dot com Assigned: val (profile)
Status: Closed Package: bcompiler (PECL)
PHP Version: 5.0.4 OS: Mandriva Linux 2006
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: mitsuhashi dot da at gmail dot com
New email:
PHP Version: OS:

 

 [2005-12-05 03:48 UTC] mitsuhashi dot da at gmail dot com
Description:
------------
I've tryed to install bcompiler on my system but I cannot do that.
When I try to install using the normal "pear install" method I'll get an error when the script start compiling the source code.
I've also tryed to untar the package and perform the requested operation manually but when I arrive to launch the make command I get the same error.



Reproduce code:
---------------
pear install bcompiler-0.7.tgz

Expected result:
----------------
I hope to install and use bcompiler ;-)

Actual result:
--------------
... start with the end of the configure output

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 libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /var/tmp/pear-build-mitsuhashi/bcompiler-0.7/libtool --mode=compile gcc  -I. -I/root/tmp/tmpZtcqiZ/bcompiler-0.7 -DPHP_ATOM_INC -I/var/tmp/pear-build-mitsuhashi/bcompiler-0.7/include -I/var/tmp/pear-build-mitsuhashi/bcompiler-0.7/main -I/root/tmp/tmpZtcqiZ/bcompiler-0.7 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c -o bcompiler.lo
mkdir .libs
 gcc -I. -I/root/tmp/tmpZtcqiZ/bcompiler-0.7 -DPHP_ATOM_INC -I/var/tmp/pear-build-mitsuhashi/bcompiler-0.7/include -I/var/tmp/pear-build-mitsuhashi/bcompiler-0.7/main -I/root/tmp/tmpZtcqiZ/bcompiler-0.7 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -DHAVE_CONFIG_H -g -O2 -c /root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c  -fPIC -DPIC -o .libs/bcompiler.o
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c: In function 'bz2_aware_stream_open':
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c:285: warning: pointer targets in passing argument 2 of '_php_stream_read' differ in signedness
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c: At top level:
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c:580: error: static declaration of 'bcompiler_stdsize_05' follows non-static declaration
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c:410: error: previous declaration of 'bcompiler_stdsize_05' was here
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c: In function 'zif_bcompiler_write_class':
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c:706: warning: pointer targets in passing argument 2 of '_php_stream_write' differ in signedness
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c: In function 'zif_bcompiler_write_included_filename':
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c:734: warning: pointer targets in passing argument 2 of '_php_stream_write' differ in signedness
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c: In function 'zif_bcompiler_write_function':
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c:767: warning: pointer targets in passing argument 2 of '_php_stream_write' differ in signedness
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c: In function 'zif_bcompiler_write_constant':
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c:800: warning: pointer targets in passing argument 2 of '_php_stream_write' differ in signedness
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c: In function '_bcompiler_write_functions_from_file':
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c:822: warning: pointer targets in passing argument 2 of '_php_stream_write' differ in signedness
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c: In function 'zif_bcompiler_write_file':
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c:924: warning: pointer targets in passing argument 2 of '_php_stream_write' differ in signedness
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c:933: warning: pointer targets in passing argument 2 of '_php_stream_write' differ in signedness
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c: In function 'zif_bcompiler_write_footer':
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c:1083: warning: pointer targets in passing argument 2 of '_php_stream_write' differ in signedness
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c: In function 'zif_bcompiler_write_exe_footer':
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c:1106: warning: pointer targets in passing argument 2 of '_php_stream_write' differ in signedness
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c:1261:8: warning: extra tokens at end of #endif directive
/root/tmp/tmpZtcqiZ/bcompiler-0.7/bcompiler.c: In function 'zif_bcompiler_load_exe':

... and there are many other error messages

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-07 01:36 UTC] kim dot hermansson at gmail dot com
I have the same problem, though i think this depends on what gcc version you have.

I have compiled using 3.3.x and it worked, though with 4.0.2 and 4.1.x it wont work anymore.
 [2006-02-12 11:23 UTC] val@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Nov 30 19:03:38 2021 UTC