php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17975 iconv fails configure on PHP 4.2.1/OS X 10.1.5/iconv 1.7
Submitted: 2002-06-25 12:28 UTC Modified: 2002-08-10 10:34 UTC
From: halim_chtourou at iu13 dot org Assigned:
Status: Closed Package: ICONV related
PHP Version: 4.3.0-dev OS: Mac OS X
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: halim_chtourou at iu13 dot org
New email:
PHP Version: OS:

 

 [2002-06-25 12:28 UTC] halim_chtourou at iu13 dot org
checking for iconv support... yes
configure: error: Please reinstall the iconv library.

config.log doesn't appear like it even runs a test program.

iconv libraries exist in:
/sw/lib/libiconv.2.0.4.dylib
/sw/lib/libiconv.2.dylib
/sw/lib/libiconv.dylib
/sw/lib/libiconv.la

I used the configure option --with-iconv=/sw
and also tried --with-iconv=shared,/sw
same results for both.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-25 13:42 UTC] sniper@php.net
Please try this snapshot:

http://snaps.php.net/php4-latest.tar.gz

 [2002-06-25 14:37 UTC] halim_chtourou at iu13 dot org
checking for iconv support... yes
configure: error: Please reinstall the iconv library.

Doesn't help.

php4-200206250900 snapshot
 [2002-06-29 23:39 UTC] sniper@php.net
what was the full configure line?

 [2002-06-29 23:54 UTC] halim_chtourou at iu13 dot org
It also fails with only the --with-iconv option used, but 
this is my standard config...

"./configure" \
"--with-apxs=/usr/sbin/apxs" \
"--disable-debug" \
"--enable-inline-optimization" \
"--with-iconv=/sw" \
"--with-bz2=/sw" \
"--with-curl=/sw" \
"--with-freetype-dir=/sw" \
"--with-png-dir=/sw" \
"--with-gd=/sw" \
"--enable-gd-native-ttf" \
"--with-ttf=/sw" \
"--with-gdbm=/sw" \
"--with-gettext=/sw" \
"--with-ncurses=/sw" \
"--with-gmp=/sw" \
"--with-jpeg-dir=/sw" \
"--with-openssl=/sw" \
"--with-png=/sw" \
"--with-xml=/sw" \
"--with-expat-dir=/sw" \
"--with-zlib=/sw" \
"--enable-exif" \
"--enable-ftp" \
"--enable-sockets" \
"--enable-track-vars" \
"--enable-trans-sid" \
"--without-oci8" \
"--with-ldap=/sw" \
"--with-mysql=/usr/local" \
"--enable-calendar" \
"--enable-dbx" \
"--enable-mcal=/sw" \
"--enable-mbstring" \
"--enable-mbstr-enc-trans" \
 [2002-06-30 00:04 UTC] sniper@php.net
Do you have giconv.h or iconv.h in /sw/include/ ?
And what does config.log have about this when
you configure only with --with-iconv=/sw ?

 [2002-08-10 10:34 UTC] kalowsky@php.net
This works with a non-Fink version of iconv on OSX.  Why are you using the Fink version anyways?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC