Dependency problem while install p5-gd

Woody Lin woodydon777 at gmail.com
Sun Dec 6 20:46:37 PST 2009


After rename local to local-off, "clean p5-locale-gettext" works.

However, when installing p5-locale-gettext, I came upon error messages as
the attached file.

2009/12/7 Ryan Schmidt <ryandesign at macports.org>

>
> 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.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20091207/6779bbc2/attachment.html>
-------------- next part --------------
--->  Computing dependencies for p5-locale-gettext
--->  Building p5-locale-gettext
Error: Target org.macports.build returned: shell 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 " returned error 2
Command output: gettext.c:219: warning: assignment makes pointer from integer without a cast
gettext.c: In function 'XS_Locale__gettext_dngettext':
gettext.c:245: warning: assignment makes pointer from integer without a cast
gettext.c: In function 'XS_Locale__gettext_textdomain':
gettext.c:268: warning: assignment makes pointer from integer without a cast
gettext.c: In function 'XS_Locale__gettext_bindtextdomain':
gettext.c:298: warning: assignment makes pointer from integer without a cast
gettext.c: In function 'XS_Locale__gettext_bind_textdomain_codeset':
gettext.c:328: warning: assignment makes pointer from integer without a cast
gettext.xs:5:21: error: libintl.h: No such file or directory
gettext.c: In function 'XS_Locale__gettext_gettext':
gettext.c:118: warning: incompatible implicit declaration of built-in function 'gettext'
gettext.c: In function 'XS_Locale__gettext_dcgettext':
gettext.c:143: warning: incompatible implicit declaration of built-in function 'dcgettext'
gettext.c: In function 'XS_Locale__gettext_dgettext':
gettext.c:167: warning: incompatible implicit declaration of built-in function 'dgettext'
gettext.c: In function 'XS_Locale__gettext_ngettext':
gettext.c:192: warning: assignment makes pointer from integer without a cast
gettext.c: In function 'XS_Locale__gettext_dcngettext':
gettext.c:219: warning: assignment makes pointer from integer without a cast
gettext.c: In function 'XS_Locale__gettext_dngettext':
gettext.c:245: warning: assignment makes pointer from integer without a cast
gettext.c: In function 'XS_Locale__gettext_textdomain':
gettext.c:268: warning: assignment makes pointer from integer without a cast
gettext.c: In function 'XS_Locale__gettext_bindtextdomain':
gettext.c:298: warning: assignment makes pointer from integer without a cast
gettext.c: In function 'XS_Locale__gettext_bind_textdomain_codeset':
gettext.c:328: warning: assignment makes pointer from integer without a cast
lipo: can't open input file: /var/tmp//ccMPPyVt.out (No such file or directory)
make: *** [gettext.o] Error 1

Error: Status 1 encountered during processing.


More information about the macports-users mailing list