Issue with iconv on 10.4

Joshua Root jmr at macports.org
Tue Feb 9 16:31:44 PST 2010


On 2010-2-10 11:21 , Allan Rowe wrote:
> I cannot seem to get iconv working on my mac.
> 
> Tiger 10.4.11
> Apache 2
> php5.3
> 
> both installed via macports with no issues on installation.
> 
> I am using Zend Framework and this requires iconv.
> 
> So I installed p5-text-iconv via macports
> 
> sudo port install p5-text-iconv
> 
> Installed fine, no errors reported.
> However PHP5 doesn't seem to be accessing it.

As per its description, p5-text-iconv is a "Perl interface to iconv()
codeset conversion function". You appear to actually want php5-iconv.

> If I run the following commands I get these results.
> 
> man p5-text-iconv
> No manual entry for p5-text-iconv
> 
> apropos p5-text-iconv
> p5-text-iconv: nothing appropriate
> 
> which p5-text-iconv
> no p5-text-iconv in /opt/subversion/bin/
> /Library/Frameworks/Python.framework/Versions/2.6/bin /bin /sbin
> /usr/bin /usr/sbin /opt/local/bin
> 
> locate p5-text-iconv
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-text-iconv
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-text-iconv/Portfile

You can always see what a port installed and where with the 'contents'
action, e.g. `port contents p5-text-iconv`.

- Josh


More information about the macports-users mailing list