MacPorts Install Error: "The following dependencies failed to build libiconv

Rainer Müller raimue at macports.org
Mon Mar 30 18:29:49 PDT 2009


Jos van Tongeren wrote:
> /usr/bin/gcc-4.0 -c   -I/opt/local/include -fno-common -DPERL_DARWIN
> -no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/opt/local/include -O3   -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\" 
> "-I/opt/local/lib/perl5/5.8.8/darwin-2level/CORE"   gettext.c
> In file included from gettext.xs:2:
> /opt/local/lib/perl5/5.8.8/darwin-2level/CORE/perl.h:2761:18: error:
> utf8.h: No such file or directory
> make: *** [gettext.o] Error 1

Your perl5.8 installation seems to be outdated, the current version is
5.8.9_2.

  sudo port upgrade perl5.8

On my system, utf8.h is by perl5.8 at
/opt/local/lib/perl5/5.8.9/darwin-thread-multi-2level/CORE/utf8.h

Rainer


More information about the macports-users mailing list