go to bug id or search bugs for
There are two errors in config.m4 for idn. One is that it's looking for idn.h instead of idna.h. The other is a typo in the test of the $PHP_IDN variable.
Here is a patch that fixes the problem:
--- config.m4.orig Wed Jun 8 10:37:21 2005
+++ config.m4 Wed Jun 8 10:37:58 2005
@@ -6,7 +6,7 @@ PHP_ARG_WITH(idn, for idn support,
if test "$PHP_IDN" != "no"; then
if test -r $PHP_IDN/$SEARCH_FOR; then # path given as parameter
@@ -19,7 +19,7 @@ if test "$PHP_IDN" != "no"; then
- if test "PHP_IDN" == "no"; then
+ if test "$PHP_IDN" = "no"; then
AC_MSG_ERROR([Please reinstall the GNU libidn distribution])
checking for re2c... exit 0;
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
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
`/home/tmp/tmpy49O4t/idn-0.1/configure --with-idn' failed
Add a Patch
Add a Pull Request
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.
Thanks for reminding me. I was quite sure it was fixed in
the release since it was fixed in CVS for a long time. :-)
I'll role a release soon.