public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: po/POTFILES.in doesn't exist
       [not found]   ` <20010807161144.A28818@nevyn.them.org>
@ 2001-09-26 21:35     ` Andrew Cagney
  2001-10-02  6:51       ` Alan Modra
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Cagney @ 2001-09-26 21:35 UTC (permalink / raw)
  To: Daniel Jacobowitz, Eli Zaretskii; +Cc: gdb, binutils

> On Tue, Aug 07, 2001 at 07:04:50PM -0400, Andrew Cagney wrote:
> 
>> > When I run the configure script, bfd/configure complains about 
>> > po/POTFILES.in being absent.  That's true: the file isn't there, since we 
>> > now have SRC-POTFILES.in and BLD-POTFILES.in.
>> > 
>> > Does that mean bfd/configure needs to be updated somehow?  Do others see 
>> > this error message?
> 
>> 
>> 
>> FYI, I'm not seeing the message but that could be for many reasons. 
>> Anyone else?
> 
> 
> Sure, I have been for a while:
> 
> checking for xgettext... (cached) /usr/bin/xgettext
> ./configure: ./po/POTFILES.in: No such file or directory
> checking for a BSD compatible install... /usr/bin/install -c

Ah, yes, sorry.  I'm getting this as well.  Same with the BFD trunk.

	Andrew


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

* Re: po/POTFILES.in doesn't exist
  2001-09-26 21:35     ` po/POTFILES.in doesn't exist Andrew Cagney
@ 2001-10-02  6:51       ` Alan Modra
  2001-10-02 16:03         ` Alexandre Oliva
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Modra @ 2001-10-02  6:51 UTC (permalink / raw)
  To: Andrew Cagney
  Cc: Alexandre Oliva, Daniel Jacobowitz, Eli Zaretskii, gdb, binutils

> > checking for xgettext... (cached) /usr/bin/xgettext
> > ./configure: ./po/POTFILES.in: No such file or directory

This tweak should fix it.

	* gettext.m4: Test po/POTFILES.in exists before trying to read.

Anybody have any objections to installing this?

-- 
Alan Modra

Index: gettext.m4
===================================================================
RCS file: /cvs/src/src/gettext.m4,v
retrieving revision 1.1
diff -u -p -r1.1 gettext.m4
--- gettext.m4	2000/08/31 09:25:11	1.1
+++ gettext.m4	2001/10/02 12:43:15
@@ -256,8 +256,8 @@ __argz_count __argz_stringify __argz_nex
 
    dnl Generate list of files to be processed by xgettext which will
    dnl be included in po/Makefile.  But only do this if the po directory
-   dnl exists in srcdir.
-   if test -d $srcdir/po; then
+   dnl exists in srcdir and contains POTFILES.in.
+   if test -d $srcdir/po && test -f $srcdir/po/POTFILES.in; then
       test -d po || mkdir po
       if test "x$srcdir" != "x."; then
 	 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then

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

* Re: po/POTFILES.in doesn't exist
  2001-10-02  6:51       ` Alan Modra
@ 2001-10-02 16:03         ` Alexandre Oliva
  2001-10-02 18:44           ` Alan Modra
  0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Oliva @ 2001-10-02 16:03 UTC (permalink / raw)
  To: Alan Modra; +Cc: Andrew Cagney, Daniel Jacobowitz, Eli Zaretskii, gdb, binutils

On Oct  2, 2001, Alan Modra <amodra@bigpond.net.au> wrote:

>> > checking for xgettext... (cached) /usr/bin/xgettext
>> > ./configure: ./po/POTFILES.in: No such file or directory

> This tweak should fix it.

> 	* gettext.m4: Test po/POTFILES.in exists before trying to read.

> Anybody have any objections to installing this?

Erhm...  IIRC, this file is imported from the GNU gettext
distribution, so I'd rather not needlessly diverge.  Anyway, what's
the point of having a `po' directory if it doesn't contain
POTFILES.in?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

* Re: po/POTFILES.in doesn't exist
  2001-10-02 16:03         ` Alexandre Oliva
@ 2001-10-02 18:44           ` Alan Modra
  2001-10-02 20:25             ` Alexandre Oliva
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Modra @ 2001-10-02 18:44 UTC (permalink / raw)
  To: Alexandre Oliva
  Cc: Andrew Cagney, Daniel Jacobowitz, Eli Zaretskii, gdb, binutils

On Tue, Oct 02, 2001 at 08:02:27PM -0300, Alexandre Oliva wrote:
> On Oct  2, 2001, Alan Modra <amodra@bigpond.net.au> wrote:
> 
> >> > checking for xgettext... (cached) /usr/bin/xgettext
> >> > ./configure: ./po/POTFILES.in: No such file or directory
> 
> > This tweak should fix it.
> 
> > 	* gettext.m4: Test po/POTFILES.in exists before trying to read.
> 
> > Anybody have any objections to installing this?
> 
> Erhm...  IIRC, this file is imported from the GNU gettext
> distribution, so I'd rather not needlessly diverge.  Anyway, what's
> the point of having a `po' directory if it doesn't contain
> POTFILES.in?

bfd/po is a little unusual in that is has SRC-POTFILES.in and
BLD-POTFILES.in rather than plain POTFILES.in.  The bug has already
been fixed in getttext-0.10.40, and as far as diverging goes, it
looks like our gettext.m4 is very old (serial 3 vs. serial 10).

I'm applying this simpler patch.  I realised the -d test was redundant
10 seconds after sending my last email. :-(

Index: gettext.m4
===================================================================
RCS file: /cvs/src/src/gettext.m4,v
retrieving revision 1.1
diff -u -p -r1.1 gettext.m4
--- gettext.m4	2000/08/31 09:25:11	1.1
+++ gettext.m4	2001/10/03 01:15:56
@@ -256,8 +256,8 @@ __argz_count __argz_stringify __argz_nex
 
    dnl Generate list of files to be processed by xgettext which will
    dnl be included in po/Makefile.  But only do this if the po directory
-   dnl exists in srcdir.
-   if test -d $srcdir/po; then
+   dnl exists in srcdir and contains POTFILES.in.
+   if test -f $srcdir/po/POTFILES.in; then
       test -d po || mkdir po
       if test "x$srcdir" != "x."; then
 	 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then

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

* Re: po/POTFILES.in doesn't exist
  2001-10-02 18:44           ` Alan Modra
@ 2001-10-02 20:25             ` Alexandre Oliva
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Oliva @ 2001-10-02 20:25 UTC (permalink / raw)
  To: Alan Modra; +Cc: Andrew Cagney, Daniel Jacobowitz, Eli Zaretskii, gdb, binutils

On Oct  2, 2001, Alan Modra <amodra@bigpond.net.au> wrote:

> The bug has already been fixed in getttext-0.10.40

> I'm applying this simpler patch.

Great, thanks!

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

end of thread, other threads:[~2001-10-02 20:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.SUN.3.91.1010729143812.3073B-100000@is>
     [not found] ` <3B707412.9080906@cygnus.com>
     [not found]   ` <20010807161144.A28818@nevyn.them.org>
2001-09-26 21:35     ` po/POTFILES.in doesn't exist Andrew Cagney
2001-10-02  6:51       ` Alan Modra
2001-10-02 16:03         ` Alexandre Oliva
2001-10-02 18:44           ` Alan Modra
2001-10-02 20:25             ` Alexandre Oliva

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).