Re: iconv on Mac

Christian Stocker <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Organization Bitflux GmbH
Message-ID <[email protected]>
Hi


On 6.1.2006 1:07 Uhr, Alain Petignat wrote:
> Hi
> 
> i have a hard time getting iconv work on my mac.

Me too, but it works now...

I don't know, what exactly I changed back then, but I have

'--with-iconv=/sw/'

in my configure line. Maybe that was it :)

and phpinfo() tells me:

iconv
iconv support => enabled
iconv implementation => libiconv
iconv library version => 1.10

This is with php 5.1.2-dev (I had the problems months ago, so I doubt
that there's a difference between 5.1.1 and 5.1.2-dev)

chregu

> 
> it's installed via fink:
> 
> # fink list libiconv
> Information about 5240 packages read in 2 seconds.
>  i   libiconv                     1.10-6                ...
>  i   libiconv-bin                 1.10-6                ...
>  i   libiconv-dev                 1.10-6                ...
> 
> I have various *iconv*-Files in /sw but still it does not seem to catch.
> 
> Here is my PHP 5.1.1-Configuration:
> 
> './configure' '--with-apxs' '--with-config-file-path=/etc'
> '--enable-cli' '--with-zlib=/usr' '--with-xml' '--enable-exif'
> '--enable-mbstring' '--enable-mbregex' '--enable-dbx' '--with-curl=/usr'
> '--with-xsl' '--with-mysqli=/sw/bin/mysql_config' '--with-mysql=/sw'
> '--with-iconv-dir=/sw' '--with-imagemagick=/sw' '--with-jpeg'
> '--with-png' '--with-ttf'
> 
> 
> phpinfo() gives me at "Registered Stream Filters" a "convert.iconv.*"
> and in the section "iconv" it sais "enabled".
> 
> But:
> iconv implementation 	unknown
> iconv library version 	unknown
> 
> And, i get always a:
> Fatal error: Call to undefined function iconv()
> 
> Now before i start recompiling PHP again, does someone recognize my mistake?
> 
> Thanks a lot
> Alain

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] |  GPG 0x5CE1DECB
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.