Dependency problem while install p5-gd
Ryan Schmidt
ryandesign at macports.org
Sun Dec 6 20:38:55 PST 2009
On Dec 6, 2009, at 20:27, Woody Lin wrote:
> I have put the error messages in the attached file.
>
> My commends were as blow:
>
> >sudo port install perl5.10
> >sudo port -d install p5-locale-gettext 2>&1 | tee ~/Desktop/p5-locale-gettext.txt
Ok, it looks like the missing libintl.h was the first problem after all, but the reason I think is shown before it:
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-locale-gettext/work/gettext-1.05" && /usr/bin/make -j2 all'
/usr/bin/gcc-4.2 -c -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\" "-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE" gettext.c
gettext.xs:5:21: error: libintl.h: No such file or directory
The "-I/usr/local/include" in the compile line is a problem. Things in /usr/local can interfere with what you have installed with MacPorts, therefore it's not supported to have things in /usr/local while using MacPorts. Please move /usr/local aside (for example rename /usr/local to /usr/local-off), clean p5-locale-gettext again, and try installing it again.
More information about the macports-users
mailing list