public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: "Andrey R. Urazov" <coola@localhost.localdomain>
To: gcc-gnats@gcc.gnu.org
Subject: other/7727: `make install' fails when none of the localization files are installed (as controlled by LINGUAS)
Date: Mon, 26 Aug 2002 11:26:00 -0000	[thread overview]
Message-ID: <200208261604.g7QG45o11311@localhost.localdomain> (raw)


>Number:         7727
>Category:       other
>Synopsis:       `make install' fails when none of the localization files are installed (as controlled by LINGUAS)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 26 09:46:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrey R. Urazov
>Release:        3.2
>Organization:
Novosibirsk State Technical University
>Environment:
System: Linux localhost.localdomain 2.4.18 #7 Don Jul 11 21:38:33 NOVST 2002 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-3.2/configure --prefix=/usr/local/gcc-3.2 --enable-languages=c,c++,java,f77
>Description:
	after I ran make install I got:
for cat in ; do \
  lang=`basename $cat | sed 's/\.gmo$//'`; \
  if [ -f $cat ]; then :; \
  elif [ -f ../../gcc-3.2/gcc/$cat ]; then cat=../../gcc-3.2/gcc/$cat; \
  else continue; \
  fi; \
  dir=/usr/local/gcc-3.2/share/locale/$lang/LC_MESSAGES; \
  echo /bin/sh ../../gcc-3.2/gcc/mkinstalldirs $dir; \
  /bin/sh ../../gcc-3.2/gcc/mkinstalldirs $dir || exit 1; \
  echo /bin/sh /usr/src/gcc/gcc-3.2/install-sh -c -m 644 $cat $dir/gcc.mo; \
  /bin/sh /usr/src/gcc/gcc-3.2/install-sh -c -m 644 $cat $dir/gcc.mo; \
done
/bin/sh: -c: line 1: syntax error near unexpected token `;'

This is on account of the fact I didn't need any localization files to be installed and the corresponding variable in the makefile turned out to be empty.

>How-To-Repeat:
	set environment var LINGUAS=en, configure, bootstrap and `make install'
>Fix:
 Probably it makes sense to treat such a case specially when constructing Makefile, or put an a branch in it so that in my case the loop is never entered.

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2002-08-26 16:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-26 11:26 Andrey R. Urazov [this message]
2002-08-29 17:46 Josh Martin
2003-05-13 18:36 Dara Hazeghi
2003-05-14 10:28 giovannibajo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200208261604.g7QG45o11311@localhost.localdomain \
    --to=coola@localhost.localdomain \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).