MacPorts Fail to Install GD2

Gundala Viswanath gundalav at gmail.com
Sun Dec 28 12:33:53 PST 2008


Dear all,

In the process of installing gnuplot, it needs gd2.
However when I tried to install gd2 it gives the following error:

gundalas-macbook-pro:~ gundalas$ sudo port -v install gd2
--->  Building gd2
make  all-recursive
Making all in config
make[2]: Nothing to be done for `all'.
Making all in test
make[2]: Nothing to be done for `all'.
/bin/sh ./libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0
-DHAVE_CONFIG_H -I.   -I/opt/local/include/freetype2
-I/opt/local/include -I/opt/local/include -I/usr/X11/include  -O2 -MT
gd.lo -MD -MP -MF .deps/gd.Tpo -c -o gd.lo gd.c
./libtool: line 838: X--tag=CC: command not found
./libtool: line 871: libtool: ignoring unknown tag : command not found
./libtool: line 838: X--mode=compile: command not found
./libtool: line 1004: *** Warning: inferring the mode of operation is
deprecated.: command not found
./libtool: line 1005: *** Future versions of Libtool will require
--mode=MODE be specified.: command not found
./libtool: line 1035: libtool: warning: cannot infer operation mode
from `/usr/bin/gcc-4.0': No such file or directory
./libtool: line 7122: libtool: you must specify a MODE: command not found
./libtool: line 7123: Try `libtool --help' for more information.:
command not found
make[2]: *** [gd.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/work/gd-2.0.35"
&& make all " returned error 2
Command output: make  all-recursive
Making all in config
make[2]: Nothing to be done for `all'.
Making all in test
make[2]: Nothing to be done for `all'.
/bin/sh ./libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0
-DHAVE_CONFIG_H -I.   -I/opt/local/include/freetype2
-I/opt/local/include -I/opt/local/include -I/usr/X11/include  -O2 -MT
gd.lo -MD -MP -MF .deps/gd.Tpo -c -o gd.lo gd.c
./libtool: line 838: X--tag=CC: command not found
./libtool: line 871: libtool: ignoring unknown tag : command not found
./libtool: line 838: X--mode=compile: command not found
./libtool: line 1004: *** Warning: inferring the mode of operation is
deprecated.: command not found
./libtool: line 1005: *** Future versions of Libtool will require
--mode=MODE be specified.: command not found
./libtool: line 1035: libtool: warning: cannot infer operation mode
from `/usr/bin/gcc-4.0': No such file or directory
./libtool: line 7122: libtool: you must specify a MODE: command not found
./libtool: line 7123: Try `libtool --help' for more information.:
command not found
make[2]: *** [gd.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for gd2):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install

Is there a way I can fix this?
Error: Status 1 encountered during processing.


- Gundala Viswanath
Jakarta - Indonesia


More information about the macports-users mailing list