ID: 47507
Updated by: jani@php.net
Reported By: aboh24 at gmx dot de
-Status: Open
+Status: Bogus
Bug Type: ICONV related
Operating System: Solaris 10 / 64-bit
PHP Version: 5.2.9
Assigned To: fb-req-jani
New Comment:
As it was basically just user error -> bogus.
Previous Comments:
------------------------------------------------------------------------
[2009-05-11 06:57:28] aboh24 at gmx dot de
Changing --with-iconv-dir=$PX to --with-iconv=$PX fixes the problem.
Case can be closed. Thank your very much for your help. Greetings
Andreas
------------------------------------------------------------------------
[2009-05-07 16:08:01] jani@php.net
You should actually read the help not grep for iconv in it and you'd
know what the difference is. Now, did you try it or not?
------------------------------------------------------------------------
[2009-05-07 06:56:45] aboh24 at gmx dot de
Sure that I need to use --with-iconv-dir=$PX instead --with-iconv=$PX?
Sorry if I ask because the help message of the configure file display
vice versa.
src/php5.2-200904280430 $ ./configure --help | grep iconv
--without-iconv[=DIR] Exclude iconv support
--with-iconv-dir=DIR XMLRPC-EPI: iconv dir for XMLRPC-EPI
However I will test your suggestion soon.
---
Is there any more infoamtion I can provide to support you?
---
BTW: What does reason: ICONV_IMPL != "libiconv" mean.
------------------------------------------------------------------------
[2009-05-06 20:46:43] jani@php.net
I missed this earlier, you're using wrong configure options.
Just change the --with-iconv-dir=$PX to --with-iconv=$PX and try again.
Note: Do this with clean build dir.
Also, do not paste more test result outputs here, they're no value for
us. Just telling which tests fail is more useful.
------------------------------------------------------------------------
[2009-02-26 10:29:13] aboh24 at gmx dot de
This could maybe useful:
user# /usr/lib/iconv/UTF-8%ISO8859-1*
/usr/lib/iconv/UTF-8%ISO8859-11.so
it is mentioned in the truss output of the test php program:
access("/usr/lib/iconv/geniconvtbl/binarytables/UTF-8%ISO-8859-1//TRANSLIT.bt",
R_OK) Err#2 ENOENT
access("/usr/lib/iconv/UTF-8%ISO-8859-1//TRANSLIT.so", R_OK) Err#2
ENOENT
open("/usr/lib/iconv/alias", O_RDONLY) = 3
fstat64(3, 0xFFBFEE60) = 0
mmap(0x00000000, 6311, PROT_READ, MAP_SHARED, 3, 0) = 0xFF3A0000
close(3) = 0
munmap(0xFF3A0000, 6311) = 0
access("/usr/lib/iconv/geniconvtbl/binarytables/UTF-8%ISO-8859-1//TRANSLIT.bt",
R_OK) Err#2 ENOENT
access("/usr/lib/iconv/UTF-8%ISO-8859-1//TRANSLIT.so", R_OK) Err#2
ENOENT
PHP Notice: iconv(): Wrong charset, conversion from `UTF-8' to
`ISO-8859-1//TRANSLIT' is not allowed in /test.php on line 13write(2, "
P H P N o t i c e : ".., 151) = 151
write(2, "\n", 1)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/47507
--
Edit this bug report at http://bugs.php.net/?id=47507&edit=1