[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/149] New: configure incorrectly assumes presence of gettex
From: |
dk at artimi dot com |
Subject: |
[Bug binutils/149] New: configure incorrectly assumes presence of gettext implies presence of msgfmt |
Date: |
6 May 2004 10:47:47 -0000 |
The subject says it all. Building current (5 May 2004) CVS HEAD binutils
sources fails on cygwin when the make gets to bfd/po, with this error:
creating po/Makefile.in
make[3]: Leaving directory `/usr/build/obj-bug/bfd/po'
make[3]: Entering directory `/usr/build/obj-bug/bfd/po'
file=../../../src/bfd/po/`echo fr | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH msgfmt -o $file ../../../src/bfd/po/fr.po
msgfmt: not found
make[3]: *** [fr.gmo] Error 127
make[3]: Leaving directory `/usr/build/obj-bug/bfd/po'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/build/obj-bug/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/build/obj-bug/bfd'
make: *** [all-bfd] Error 2
The basic problem is that it is common on a cygwin platform to have gettext
but not msgfmt installed. bfd/configure appears to assume from the existence
of gettext that it can use msgfmt as well. This error occurs when configuring
without any command line options at all (well, I did use -v, and haven't
retested without, but that's not likely to have made a difference).
There's an easy workaround: just use --disable-nls when configuring.
configure should be made to test for msgfmt explicitly and disable nls support
if it can't find it (unless there's a gettext-only workaround).
I have kept all the config logs, in case they're of any use, but won't
attach them just yet.
cheers,
DaveK
--
Summary: configure incorrectly assumes presence of gettext
implies presence of msgfmt
Product: binutils
Version: 2.15
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: dk at artimi dot com
CC: bug-binutils at gnu dot org
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://sources.redhat.com/bugzilla/show_bug.cgi?id=149
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug binutils/149] New: configure incorrectly assumes presence of gettext implies presence of msgfmt,
dk at artimi dot com <=