FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Failure to install pecl package (warning, long)
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Failure to install pecl package (warning, long) [message #179332] Sun, 07 October 2012 05:26 Go to next message
Peter Chant is currently offline  Peter Chant
Messages: 2
Registered: October 2012
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Any thoughts, I type the following:

bash-4.2# pecl install bbcode


And get the below. I wonder if it is anything to do with the strickter gcc
in Slackware 14.0 (gcc 4.7.1). Is there anything I can do about this?

Thanks,
Pete

downloading bbcode-1.0.2.tar ...
Starting to download bbcode-1.0.2.tar (Unknown size)
...................done: 264,704 bytes
7 source files, building
running: phpize
Configuring for:
PHP Api Version: 20100412
Zend Module Api No: 20100525
Zend Extension Api No: 220100525
building in /tmp/pear/temp/pear-build-root5jpBLD/bbcode-1.0.2
running: /tmp/pear/temp/bbcode/configure
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -
I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -
I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php/extensions
checking for PHP installed headers prefix... /usr/include/php
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 whether to enable C based BBCode support... yes, shared
checking for ld used by cc... /usr/x86_64-slackware-linux/bin/ld
checking if the linker (/usr/x86_64-slackware-linux/bin/ld) is GNU ld... yes
checking for /usr/x86_64-slackware-linux/bin/ld option to reload object
files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/x86_64-slackware-linux/bin/ld -m
elf_x86_64) 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

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /tmp/pear/temp/pear-build-root5jpBLD/bbcode-1.0.2/libtool --
mode=compile cc -I/tmp/pear/temp/bbcode/lib -I. -I/tmp/pear/temp/bbcode -
DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root5jpBLD/bbcode-1.0.2/include -
I/tmp/pear/temp/pear-build-root5jpBLD/bbcode-1.0.2/main -
I/tmp/pear/temp/bbcode -I/usr/include/php -I/usr/include/php/main -
I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -
I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
/tmp/pear/temp/bbcode/php_bbcode.c -o php_bbcode.lo
mkdir .libs
cc -I/tmp/pear/temp/bbcode/lib -I. -I/tmp/pear/temp/bbcode -DPHP_ATOM_INC -
I/tmp/pear/temp/pear-build-root5jpBLD/bbcode-1.0.2/include -
I/tmp/pear/temp/pear-build-root5jpBLD/bbcode-1.0.2/main -
I/tmp/pear/temp/bbcode -I/usr/include/php -I/usr/include/php/main -
I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -
I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
/tmp/pear/temp/bbcode/php_bbcode.c -fPIC -DPIC -o .libs/php_bbcode.o
/tmp/pear/temp/bbcode/php_bbcode.c:38:1: error: unknown type name
?function_entry?
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: warning: braces around scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: warning: (near initialization for
?bbcode_functions[0]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: warning: initialization makes
integer from pointer without a cast [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: warning: (near initialization for
?bbcode_functions[0]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: error: initializer element is not
computable at load time
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: error: (near initialization for
?bbcode_functions[0]?)
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: warning: (near initialization for
?bbcode_functions[0]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: warning: (near initialization for
?bbcode_functions[0]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: warning: (near initialization for
?bbcode_functions[0]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: warning: (near initialization for
?bbcode_functions[0]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: warning: braces around scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: warning: (near initialization for
?bbcode_functions[1]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: warning: initialization makes
integer from pointer without a cast [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: warning: (near initialization for
?bbcode_functions[1]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: error: initializer element is not
computable at load time
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: error: (near initialization for
?bbcode_functions[1]?)
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: warning: (near initialization for
?bbcode_functions[1]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: warning: (near initialization for
?bbcode_functions[1]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: warning: (near initialization for
?bbcode_functions[1]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: warning: (near initialization for
?bbcode_functions[1]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: warning: braces around scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: warning: (near initialization for
?bbcode_functions[2]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: warning: initialization makes
integer from pointer without a cast [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: warning: (near initialization for
?bbcode_functions[2]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: error: initializer element is not
computable at load time
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: error: (near initialization for
?bbcode_functions[2]?)
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: warning: (near initialization for
?bbcode_functions[2]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: warning: (near initialization for
?bbcode_functions[2]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: warning: (near initialization for
?bbcode_functions[2]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: warning: (near initialization for
?bbcode_functions[2]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: warning: braces around scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: warning: (near initialization for
?bbcode_functions[3]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: warning: initialization makes
integer from pointer without a cast [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: warning: (near initialization for
?bbcode_functions[3]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: error: initializer element is not
computable at load time
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: error: (near initialization for
?bbcode_functions[3]?)
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: warning: (near initialization for
?bbcode_functions[3]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: warning: (near initialization for
?bbcode_functions[3]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: warning: (near initialization for
?bbcode_functions[3]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: warning: (near initialization for
?bbcode_functions[3]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: warning: braces around scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: warning: (near initialization for
?bbcode_functions[4]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: warning: initialization makes
integer from pointer without a cast [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: warning: (near initialization for
?bbcode_functions[4]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: error: initializer element is not
computable at load time
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: error: (near initialization for
?bbcode_functions[4]?)
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: warning: (near initialization for
?bbcode_functions[4]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: warning: (near initialization for
?bbcode_functions[4]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: warning: (near initialization for
?bbcode_functions[4]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: warning: (near initialization for
?bbcode_functions[4]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: warning: braces around scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: warning: (near initialization for
?bbcode_functions[5]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: warning: initialization makes
integer from pointer without a cast [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: warning: (near initialization for
?bbcode_functions[5]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: error: initializer element is not
computable at load time
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: error: (near initialization for
?bbcode_functions[5]?)
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: warning: (near initialization for
?bbcode_functions[5]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: warning: (near initialization for
?bbcode_functions[5]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: warning: (near initialization for
?bbcode_functions[5]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: warning: (near initialization for
?bbcode_functions[5]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: warning: braces around scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: warning: (near initialization for
?bbcode_functions[6]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: warning: initialization makes
integer from pointer without a cast [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: warning: (near initialization for
?bbcode_functions[6]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: error: initializer element is not
computable at load time
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: error: (near initialization for
?bbcode_functions[6]?)
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: warning: (near initialization for
?bbcode_functions[6]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: warning: (near initialization for
?bbcode_functions[6]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: warning: (near initialization for
?bbcode_functions[6]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: warning: (near initialization for
?bbcode_functions[6]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:46:2: warning: braces around scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:46:2: warning: (near initialization for
?bbcode_functions[7]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:46:2: warning: initialization makes
integer from pointer without a cast [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:46:2: warning: (near initialization for
?bbcode_functions[7]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:46:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:46:2: warning: (near initialization for
?bbcode_functions[7]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:46:2: warning: excess elements in scalar
initializer [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:46:2: warning: (near initialization for
?bbcode_functions[7]?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:65:2: warning: initialization from
incompatible pointer type [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c:65:2: warning: (near initialization for
?bbcode_module_entry.functions?) [enabled by default]
/tmp/pear/temp/bbcode/php_bbcode.c: In function
?_php_bbcode_handling_content?:
/tmp/pear/temp/bbcode/php_bbcode.c:92:2: error: too few arguments to
function ?zend_is_callable?
In file included from /usr/include/php/main/php.h:38:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/Zend/zend_API.h:299:20: note: declared here
/tmp/pear/temp/bbcode/php_bbcode.c: In function
?_php_bbcode_handling_param?:
/tmp/pear/temp/bbcode/php_bbcode.c:144:2: error: too few arguments to
function ?zend_is_callable?
In file included from /usr/include/php/main/php.h:38:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/Zend/zend_API.h:299:20: note: declared here
/tmp/pear/temp/bbcode/php_bbcode.c: In function ?_php_bbcode_add_element?:
/tmp/pear/temp/bbcode/php_bbcode.c:249:3: error: too few arguments to
function ?zend_is_callable?
In file included from /usr/include/php/main/php.h:38:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/Zend/zend_API.h:299:20: note: declared here
/tmp/pear/temp/bbcode/php_bbcode.c:271:3: error: too few arguments to
function ?zend_is_callable?
In file included from /usr/include/php/main/php.h:38:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/Zend/zend_API.h:299:20: note: declared here
make: *** [php_bbcode.lo] Error 1
ERROR: `make' failed
bash-4.2#







--
http://www.petezilla.co.uk
Re: Failure to install pecl package (warning, long) [message #179333 is a reply to message #179332] Sun, 07 October 2012 09:15 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
On 10/7/2012 5:26 AM, Peter Chant wrote:
> Any thoughts, I type the following:
>
> bash-4.2# pecl install bbcode
>
<snip long post>

Did you check the PHP bugs database?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Failure to install pecl package (warning, long) [message #179334 is a reply to message #179333] Sun, 07 October 2012 11:18 Go to previous message
Peter Chant is currently offline  Peter Chant
Messages: 2
Registered: October 2012
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Jerry Stuckle wrote:


> <snip long post>
>
> Did you check the PHP bugs database?
>

Didn't know it existed. Checked it:

https://bugs.php.net/bug.php?id=58839

Looks like it might be the below. However, that does not mean much to me.
So I'm still a bit stuck on what to do.

[2009-08-30 15:47 UTC] xdecock at gmail dot com

OK, found the problem, i was using a double define to permit the php 5.3
compilation.

However, it seems the double define was not working properly, everythings
compile finely with TSRMLS_CC under php 5.2

So, i commit with simply tsrmls_cc and not my complex define test.

So, it's commited with simply TSRMLS_CC and not the PHP_BBCODE_CALLABLE
define i added month agos to prepare php 5.3

Sorry for now i don't have a test box in 5.3



--
http://www.petezilla.co.uk
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: How to run a batch file using PHP?
Next Topic: PHP Git
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Oct 22 09:54:23 EDT 2017

Total time taken to generate the page: 0.00688 seconds