installing gettext on Intel Macs

KURAAKU Deibiddo kuraaku.deibiddo at gmail.com
Tue Nov 21 14:05:32 PST 2006


I've tried a couple of times to use DarwinPorts to install a current version
of bash (since Apple's is older) on my MacBook Pro (and this works without a
hitch on my G5).  However, the install of gettext as a dependency fails
every time, with output:

[root at dissonance root]# port install bash
--->  Fetching gettext
--->  Verifying checksum(s) for gettext
--->  Extracting gettext
--->  Applying patches to gettext
--->  Configuring gettext
--->  Building gettext with target all
Error: Target com.apple.build returned: shell command "cd
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_gettext/work/gettext-
0.15" && make all" returned error 2
Command output: /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2
-L/opt/local/lib -o hostname  hostname-hostname.o ../lib/libgettextlib.la
../intl/libintl.la -L/opt/local/lib -liconv -R/opt/local/lib  -Wl,-framework
-Wl,CoreFoundation -L/opt/local/lib
gcc -g -O2 -o .libs/hostname hostname-hostname.o -Wl,-framework
-Wl,CoreFoundation  -L/opt/local/lib ../lib/.libs/libgettextlib.dylib
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_gettext/work/gettext-
0.15/gettext-tools/intl/.libs/libintl.dylib ../intl/.libs/libintl.dylib -lc
/opt/local/lib/libiconv.dylib
creating hostname
gcc -DLOCALEDIR=\"/opt/local/share/locale\" -DBISON_LOCALEDIR=\"\"
-DLOCALE_ALIAS_PATH=\"/opt/local/share/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/opt/local/lib/gettext\"
-DGETTEXTJAR=\"/opt/local/share/gettext/gettext.jar\"
-DLIBDIR=\"/opt/local/lib\" -DGETTEXTDATADIR=\"/opt/local/share/gettext\"
-DPROJECTSDIR=\"/opt/local/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.
-I..  -I. -I. -I.. -I../libgrep -I../libuniname -I../lib -I../lib -I../intl
-I../../gettext-runtime/intl -DINSTALLDIR=\"/opt/local/lib/gettext\"
-I/opt/local/include -no-cpp-precomp  -g -O2 -c -o urlget-urlget.o `test -f
'urlget.c' || echo './'`urlget.c
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2  -L/opt/local/lib -o
urlget  urlget-urlget.o ../lib/libgettextlib.la ../intl/libintl.la
-L/opt/local/lib -liconv -R/opt/local/lib  -Wl,-framework -Wl,CoreFoundation
-L/opt/local/lib
gcc -g -O2 -o .libs/urlget urlget-urlget.o -Wl,-framework
-Wl,CoreFoundation  -L/opt/local/lib ../lib/.libs/libgettextlib.dylib
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_gettext/work/gettext-
0.15/gettext-tools/intl/.libs/libintl.dylib ../intl/.libs/libintl.dylib -lc
/opt/local/lib/libiconv.dylib
creating urlget
/bin/sh ../lib/javacomp.sh -d . ./gnu/gettext/DumpResource.java
/bin/sh ../lib/javacomp.sh -d . ./gnu/gettext/GetURL.java
jar cf gettext.jar gnu/gettext/DumpResource*.class gnu/gettext/GetURL*.class
Making all in po
make[3]: Nothing to be done for `all'.
Making all in projects
make[3]: Nothing to be done for `all'.
Making all in misc
WARNING: Warnings can be ignored. :-)
if test "emacs" != no; then \
  set x; \
  list='start-po.el po-mode.el po-compat.el'; for p in $list; do \
    if test -f "$p"; then d=; else d="./"; fi; \
    set x "$@" "$d$p"; shift; \
  done; \
  shift; \
  EMACS="emacs" /bin/sh ../../build-aux/elisp-comp "$@" || exit 1; \
else : ; fi
emacs: child exited with status 1
make[3]: *** [elc-stamp] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Error: The following dependencies failed to build: gettext
Error: Status 1 encountered during processing.

Hopefully someone can help sort this out, I'd love to get this to work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20061121/421cdcea/attachment.html


More information about the macports-users mailing list