public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* cvs HEAD fails building bfd: msgfmt not found
@ 2004-05-04  9:13 Dave Korn
  2004-05-04 10:00 ` Dave Korn
  2004-05-04 15:29 ` Dan Kegel
  0 siblings, 2 replies; 7+ messages in thread
From: Dave Korn @ 2004-05-04  9:13 UTC (permalink / raw)
  To: binutils



Uptodate as of a few minutes ago, I got this error.  Haven't seen it before,
but there's lots of hits at
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=msgfmt+not+found
which suggest that it's something to do with autoconf problem  in
configuring nls support.  I'm about to try reconfiguring with --disable-nls
and see if that solves the problem, but this level of autoconf internals is
way over my head.



make[3]: Leaving directory `/usr/build/obj/bfd/doc'
Making all in po
make[3]: Entering directory `/usr/build/obj/bfd/po'
( if test 'x../../../src/bfd/po' != 'x.'; then \
    posrcprefix='../../../src/bfd/'; \
  else \
    posrcprefix="../"; \
  fi; \
  rm -f SRC-POTFILES-t SRC-POTFILES \
    && (sed -e '/^#/d' \
            -e '/^[     ]*$/d' \
            -e "s@.*@   $posrcprefix& \\\\@" <
../../../src/bfd/po/SRC-POTFILES.
in \
        | sed -e '$s/\\$//') > SRC-POTFILES-t \
    && chmod a-w SRC-POTFILES-t \
    && mv SRC-POTFILES-t SRC-POTFILES )
( rm -f BLD-POTFILES-t BLD-POTFILES \
    && (sed -e '/^#/d' \
            -e '/^[     ]*$/d' \
            -e "s@.*@   ../& \\\\@" < ../../../src/bfd/po/BLD-POTFILES.in \
        | sed -e '$s/\\$//') > BLD-POTFILES-t \
    && chmod a-w BLD-POTFILES-t \
    && mv BLD-POTFILES-t BLD-POTFILES )
cd .. \
  && CONFIG_FILES=po/Makefile.in:po/Make-in \
     CONFIG_HEADERS= /bin/sh ./config.status
creating po/Makefile.in
make[3]: Leaving directory `/usr/build/obj/bfd/po'
make[3]: Entering directory `/usr/build/obj/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/bfd/po'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/build/obj/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/build/obj/bfd'
make: *** [all-bfd] Error 2
dk@mace /usr/build/obj>



    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: cvs HEAD fails building bfd: msgfmt not found
  2004-05-04  9:13 cvs HEAD fails building bfd: msgfmt not found Dave Korn
@ 2004-05-04 10:00 ` Dave Korn
  2004-05-04 15:29 ` Dan Kegel
  1 sibling, 0 replies; 7+ messages in thread
From: Dave Korn @ 2004-05-04 10:00 UTC (permalink / raw)
  To: binutils

> -----Original Message-----
> From: binutils-owner On Behalf Of Dave Korn
> Sent: 04 May 2004 10:12

> configuring nls support.  I'm about to try reconfiguring with 
> --disable-nls and see if that solves the problem, 


It certainly seems to have done; bfd now builds no problem.


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: cvs HEAD fails building bfd: msgfmt not found
  2004-05-04  9:13 cvs HEAD fails building bfd: msgfmt not found Dave Korn
  2004-05-04 10:00 ` Dave Korn
@ 2004-05-04 15:29 ` Dan Kegel
  2004-05-04 16:30   ` Dave Korn
  1 sibling, 1 reply; 7+ messages in thread
From: Dan Kegel @ 2004-05-04 15:29 UTC (permalink / raw)
  To: Dave Korn; +Cc: binutils

Dave Korn wrote:
> Uptodate as of a few minutes ago, I got this error.  Haven't seen it before,
> but there's lots of hits at
> http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=msgfmt+not+found
> which suggest that it's something to do with autoconf problem  in
> configuring nls support.  I'm about to try reconfiguring with --disable-nls
> and see if that solves the problem, but this level of autoconf internals is
> way over my head.
> ...
> msgfmt: not found

Um, did you try installing gnu gettext, which provides msgfmt?
- Dan

-- 
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: cvs HEAD fails building bfd: msgfmt not found
  2004-05-04 15:29 ` Dan Kegel
@ 2004-05-04 16:30   ` Dave Korn
  2004-05-04 21:50     ` Hans-Peter Nilsson
  2004-05-05  2:54     ` Dan Kegel
  0 siblings, 2 replies; 7+ messages in thread
From: Dave Korn @ 2004-05-04 16:30 UTC (permalink / raw)
  To: binutils


> -----Original Message-----
> From: Dan Kegel 
> Sent: 04 May 2004 16:28
> To: Dave Korn

> Dave Korn wrote:
> > Uptodate as of a few minutes ago, I got this error.  
> Haven't seen it before,
> > but there's lots of hits at
> > 
> http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=msgfmt+
> not+found
> > which suggest that it's something to do with autoconf problem  in
> > configuring nls support.  I'm about to try reconfiguring 
> with --disable-nls
> > and see if that solves the problem, but this level of 
> autoconf internals is
> > way over my head.
> > ...
> > msgfmt: not found
> 
> Um, did you try installing gnu gettext, which provides msgfmt?
> - Dan

    Hi Dan,

  Nope, I didn't try that, since I didn't need it last time I did a cvs
build a few weeks ago.  In fact, I have gettext installed:

dk@mace /usr/build/obj> gettext --version
gettext (GNU gettext-runtime) 0.12.1
Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.

but not msgfmt.  That's always been the case; cygwin comes with a gettext
package that hasn't been updated since 10Aug2003, and that has always had
gettext and the related libs but hasn't included msgfmt except in
development versions.  I dunno why it never crashed before.  I don't have an
old build lying around, otherwise I'd see what it did at that point.  I've
looked at the CVS and can't see any obviously relevant changes in the
src/bfd/po directory, but then again who knows what could change elsewhere
in the autotool infrastructure and have a knock-on effect.

  Do you suppose it's possible that when I've done CVS builds before, some
kind of generated files were already uptodate (having been recently
regenerated in CVS) and so there was no need for msgfmt to run?  (I don't
know how gettext works or even what are its inputs and outputs, although I
know it's something to do with .po and .gmo files).

  Otherwise I'm going to have to conclude that I must have had the cygwin
development version of the gettext package (which *does* have msgfmt)
installed and absent-mindedly downgraded/uninstalled it at some point.
Right now, all I know for 100% sure is "But it never *used* to do that!"


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: cvs HEAD fails building bfd: msgfmt not found
  2004-05-04 16:30   ` Dave Korn
@ 2004-05-04 21:50     ` Hans-Peter Nilsson
  2004-05-05  9:36       ` Dave Korn
  2004-05-05  2:54     ` Dan Kegel
  1 sibling, 1 reply; 7+ messages in thread
From: Hans-Peter Nilsson @ 2004-05-04 21:50 UTC (permalink / raw)
  To: Dave Korn; +Cc: binutils

On Tue, 4 May 2004, Dave Korn wrote:
>   Do you suppose it's possible that when I've done CVS builds before, some
> kind of generated files were already uptodate (having been recently
> regenerated in CVS) and so there was no need for msgfmt to run?  (I don't
> know how gettext works or even what are its inputs and outputs, although I
> know it's something to do with .po and .gmo files).
>
>   Otherwise I'm going to have to conclude that I must have had the cygwin
> development version of the gettext package (which *does* have msgfmt)
> installed and absent-mindedly downgraded/uninstalled it at some point.
> Right now, all I know for 100% sure is "But it never *used* to do that!"

Assuming the problem is "just" a missing msgfmt, it would be a
flaw in the configury that NLS isn't then automatically disabled
(unless --enable-nls is *specifically* requested).

Dare I suggest filing a bug report?  (Don't forget to include
all configure options and cygwin package versions as
applicable.)

brgds, H-P

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: cvs HEAD fails building bfd: msgfmt not found
  2004-05-04 16:30   ` Dave Korn
  2004-05-04 21:50     ` Hans-Peter Nilsson
@ 2004-05-05  2:54     ` Dan Kegel
  1 sibling, 0 replies; 7+ messages in thread
From: Dan Kegel @ 2004-05-05  2:54 UTC (permalink / raw)
  To: Dave Korn; +Cc: binutils

Dave Korn wrote:
>...   I dunno why it never crashed before.  I don't have an
> old build lying around, otherwise I'd see what it did at that point.  I've
> looked at the CVS and can't see any obviously relevant changes in the
> src/bfd/po directory, but then again who knows what could change elsewhere
> in the autotool infrastructure and have a knock-on effect.
> 
>   Do you suppose it's possible that when I've done CVS builds before, some
> kind of generated files were already uptodate (having been recently
> regenerated in CVS) and so there was no need for msgfmt to run?

Yup.  I've run into that kind of thing myself in other packages.

Fairly often, you need a particular version of autotools installed
to handle the triggered rebuild properly -- and the right version
differs from package to package!   No need to worry too much that
unless it hits you, though.
- Dan


-- 
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: cvs HEAD fails building bfd: msgfmt not found
  2004-05-04 21:50     ` Hans-Peter Nilsson
@ 2004-05-05  9:36       ` Dave Korn
  0 siblings, 0 replies; 7+ messages in thread
From: Dave Korn @ 2004-05-05  9:36 UTC (permalink / raw)
  To: 'Hans-Peter Nilsson'; +Cc: binutils

> -----Original Message-----
> From: Hans-Peter Nilsson  
> Sent: 04 May 2004 22:50

> Assuming the problem is "just" a missing msgfmt, it would be a
> flaw in the configury that NLS isn't then automatically disabled
> (unless --enable-nls is *specifically* requested).
> 
> Dare I suggest filing a bug report?  (Don't forget to include
> all configure options and cygwin package versions as
> applicable.)
> 
> brgds, H-P


  Yep, seems like a good idea.  It looks from the discussion that configure
is assuming it can infer the existence of msgfmt from the test for the
existence of gettext, and I guess that's not a valid assumption.  Whether
the solution is to test for msgfmt rather than gettext, or to test for and
require both before enabling nls support, I will leave as an exercise for
the reader....


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-05-05  9:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-04  9:13 cvs HEAD fails building bfd: msgfmt not found Dave Korn
2004-05-04 10:00 ` Dave Korn
2004-05-04 15:29 ` Dan Kegel
2004-05-04 16:30   ` Dave Korn
2004-05-04 21:50     ` Hans-Peter Nilsson
2004-05-05  9:36       ` Dave Korn
2004-05-05  2:54     ` Dan Kegel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).