Dependency problem while install p5-gd

Woody Lin woodydon777 at gmail.com
Thu Dec 3 18:14:59 PST 2009


Dear Predecessors,

I just bought a Macbook pro 13" (Mac OS 10.6), and trying to install GD
module for Perl.

However, while using Macports to install p5-gd, I came upon the following
error messages:


*dhcp-23006:~ woodydon$ sudo port install p5-gd*
*--->  Computing dependencies for p5-gd*
*--->  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//cceO6XAK.out (No such file or
directory)*
*make: *** [gettext.o] Error 1*
*
*
*Error: The following dependencies failed to build: gd2 autoconf help2man
p5-locale-gettext m4 automake fontconfig freetype zlib jpeg libpng libtool
xpm pkgconfig xorg-libX11 groff xorg-bigreqsproto xorg-inputproto
xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-util-macros
xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans*
*Error: Status 1 encountered during processing.*

---
Perl Version:
This is perl, v5.10.0 built for darwin-thread-multi-2level (with 2
registered patches, see perl -V for more detail)

Macports Version:
MacPorts 1.8.1

Macports Installed:
The following ports are currently installed: expat @2.0.1_0 (active) gettext
@0.17_4 (active) gperf @3.0.4_0 (active) libiconv @1.13_0 (active) ncurses
@5.7_0+darwin_10 (active) ncursesw @5.7_0+darwin_10 (active)
---

I have tried to install the missing dependencies...but it just gave me more
missing modules..

Could anyone help me with this problem?

Thank you very much.


WOody
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20091204/10799fff/attachment.html>


More information about the macports-users mailing list