php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57772 cannot install
Submitted: 2007-08-06 06:39 UTC Modified: 2009-01-20 15:25 UTC
Votes:3
Avg. Score:3.3 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: fvl at mail dot ru Assigned:
Status: No Feedback Package: idn (PECL)
PHP Version: Irrelevant OS: FreeBSD 6.2-STABLE
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2007-08-06 06:39 UTC] fvl at mail dot ru
Description:
------------
Cannot install pecl-idn

Reproduce code:
---------------
pecl install idn channel://pecl.php.net/idn-0.1

Actual result:
--------------
Failed to download pecl/idn within preferred state "stable", latest release is version 0.1, stability "beta", use "channel://pecl.php.net/idn-0.1" to install
Cannot initialize 'channel://pecl.php.net/idn', invalid or missing package file
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading idn-0.1.tar ...
Starting to download idn-0.1.tar (Unknown size)
........done: 20,992 bytes
Package "channel://pecl.php.net/idn" is not valid
3 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
 1. GNU libidn installation dir? : autodetect

1-1, 'all', 'abort', or Enter to continue:
building in /var/tmp/pear-build-fvl/idn-0.1
running: /tmp/download/idn-0.1/configure --with-idn
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... yes
checking build system type... amd64-unknown-freebsd6.2
checking host system type... amd64-unknown-freebsd6.2
checking target system type... amd64-unknown-freebsd6.2
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/20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking for re2c... re2c
checking for re2c version... 0.12.1 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for idn support... yes, shared
checking for idn files in default path... test: PHP_IDN: unexpected operator
checking for stringprep_check_version in -lidn... no
configure: error: wrong idn lib version or lib not found
ERROR: `/tmp/download/idn-0.1/configure --with-idn' failed


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-06 18:12 UTC] johannes at schlueters dot de
Could you test the CVS version? I think it's fixed there. (CVS module pecl/idn, general CVS instructions are on http://php.net/anoncvs.php)
 [2007-08-06 21:38 UTC] fvl at mail dot ru
www# ls -al
total 22
drwxr-xr-x  2 root  wheel   512 Aug  7 08:33 .
drwxr-xr-x  3 root  wheel   512 Aug  7 08:33 ..
-rw-r--r--  1 root  wheel  1373 Aug  7 08:26 config.m4
-rw-r--r--  1 root  wheel  7550 Aug  7 08:25 idn.c
-rw-r--r--  1 root  wheel   447 Aug  7 08:25 idn.php
-rw-r--r--  1 root  wheel  1216 Aug  7 08:25 package.xml
-rw-r--r--  1 root  wheel  2634 Aug  7 08:24 php_idn.h

www# phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519

www# ./configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... yes
checking build system type... amd64-unknown-freebsd6.2
checking host system type... amd64-unknown-freebsd6.2
checking target system type... amd64-unknown-freebsd6.2
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/20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking for re2c... re2c
checking for re2c version... 0.12.1 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for GNU Libidn support... yes, shared
checking for idn files in default path... found in /usr/local
checking for optional tld files... yes
checking for stringprep_check_version in -lidn... no
configure: error: wrong idn lib version or lib not found
 [2007-12-06 02:46 UTC] lenny at akron dot cc
If CVS Version installed on Unbuntu Gusty:

configure: error: Please reinstall the GNU Libidn distribution

libidn11 is already installed...
 [2008-09-11 16:59 UTC] kenny dot gm at seznam dot cz
Try install libidn11-dev
It help for me.
 [2009-01-20 15:25 UTC] jan at horde dot org
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 "Open". Thank you.


 [2009-04-30 07:02 UTC] fer dot ust at gmail dot com
# pecl install memcached
Failed to download pecl/memcached within preferred state "stable", latest release is version 0.1.5, stability "beta", use "channel://pecl.php.net/memcached-0.1.5" to install
Cannot initialize 'channel://pecl.php.net/memcached', invalid or missing package file
Package "channel://pecl.php.net/memcached" is not valid
install failed

How can i change my channel when i am using pecl install?
 [2011-04-28 10:26 UTC] alessandro dot dellavedova at gmail dot com
On FreeBSD 8.2-RELEASE:

root@: pkg_info | grep libidn
libidn-1.19 Internationalized Domain Names command line tool

root@: pecl install channel://pecl.php.net/idn-0.2.0
downloading idn-0.2.0.tar ...
Starting to download idn-0.2.0.tar (Unknown size)
.........done: 26,624 bytes
3 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
GNU libidn installation dir? [autodetect] : 
building in /go-pear/pear-build-root8e2FVQ/idn-0.2.0
running: /go-pear/idn/configure --with-idn
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.2
checking host system type... amd64-unknown-freebsd8.2
checking target system type... amd64-unknown-freebsd8.2
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 for GNU Libidn support... yes, shared
checking for idn files in default path... found in /usr/local
checking for optional tld files... yes
checking for stringprep_check_version in -lidn... no
configure: error: wrong idn lib version or lib not found
ERROR: `/go-pear/idn/configure --with-idn' failed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 05:01:29 2024 UTC