php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59785 can't install hash 1.5 on FBSD
Submitted: 2011-05-25 21:23 UTC Modified: 2011-05-26 01:03 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: joaonavarini at gmail dot com Assigned:
Status: Wont fix Package: hash (PECL)
PHP Version: 5.3.3 OS: FreeBSD 8.0-RELEASE-p4
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: joaonavarini at gmail dot com
New email:
PHP Version: OS:

 

 [2011-05-25 21:23 UTC] joaonavarini at gmail dot com
Description:
------------
unable to install hash with pecl install on FBSD

Reproduce code:
---------------
pecl install hash

Expected result:
----------------
install the package

Actual result:
--------------
 pecl install hash
downloading hash-1.5.tar ...
Starting to download hash-1.5.tar (Unknown size)
.............................done: 432,640 bytes
30 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
building in /var/tmp/pear-build-root/hash-1.5
running: /tmp/go-pear/hash/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... yes
checking build system type... amd64-unknown-freebsd8.0
checking host system type... amd64-unknown-freebsd8.0
checking target system type... amd64-unknown-freebsd8.0
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -
I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
I/usr/local/include/php/Zend -I/usr/local/include/php/ext -
I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... 
/usr/local/lib/php/20090626
checking for PHP installed headers prefix... 
/usr/local/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... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable hash support... yes, shared
checking whether byte ordering is bigendian... no
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 size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 
196608
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/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd8.0 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 /var/tmp/pear-build-root/hash-1.5/libtool --
mode=compile cc  -I. -I/tmp/go-pear/hash -DPHP_ATOM_INC -
I/var/tmp/pear-build-root/hash-1.5/include -I/var/tmp/pear-
build-root/hash-1.5/main -I/tmp/go-pear/hash -
I/usr/local/include/php -I/usr/local/include/php/main -
I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -
I/usr/local/include/php/ext -
I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -
O2   -c /tmp/go-pear/hash/hash.c -o hash.lo
mkdir .libs
 cc -I. -I/tmp/go-pear/hash -DPHP_ATOM_INC -I/var/tmp/pear-
build-root/hash-1.5/include -I/var/tmp/pear-build-root/hash-
1.5/main -I/tmp/go-pear/hash -I/usr/local/include/php -
I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
I/usr/local/include/php/Zend -I/usr/local/include/php/ext -
I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 
-c /tmp/go-pear/hash/hash.c  -fPIC -DPIC -o .libs/hash.o
/tmp/go-pear/hash/hash.c:785: error: duplicate 'static'
/tmp/go-pear/hash/hash.c:792: error: duplicate 'static'
/tmp/go-pear/hash/hash.c:799: error: duplicate 'static'
/tmp/go-pear/hash/hash.c:807: error: duplicate 'static'
/tmp/go-pear/hash/hash.c:815: error: duplicate 'static'
/tmp/go-pear/hash/hash.c:822: error: duplicate 'static'
/tmp/go-pear/hash/hash.c:828: error: duplicate 'static'
/tmp/go-pear/hash/hash.c:835: error: duplicate 'static'
/tmp/go-pear/hash/hash.c:842: error: duplicate 'static'
/tmp/go-pear/hash/hash.c:848: error: duplicate 'static'
*** Error code 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-25 21:24 UTC] joaonavarini at gmail dot com
fixed typo on the summary
 [2011-05-26 01:03 UTC] mike@php.net
The hash extension is already bundled with the main distro, 
don't try to install it from pecl.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Mar 03 19:01:25 2021 UTC