From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28560 invoked by alias); 26 Aug 2002 16:46:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 28525 invoked by uid 71); 26 Aug 2002 16:46:01 -0000 Resent-Date: 26 Aug 2002 16:46:01 -0000 Resent-Message-ID: <20020826164601.28524.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, "Andrey R. Urazov" Received: (qmail 26574 invoked from network); 26 Aug 2002 16:41:16 -0000 Received: from unknown (HELO viola.sinor.ru) (217.70.106.9) by sources.redhat.com with SMTP; 26 Aug 2002 16:41:16 -0000 Received: from localhost.localdomain (p115.bass2.sinor.ru [217.70.108.115]) by viola.sinor.ru (8.12.3/8.12.3) with ESMTP id g7QGfAWo007729 for ; Mon, 26 Aug 2002 23:41:13 +0700 Received: (from coola@localhost) by localhost.localdomain (8.11.6/8.11.6) id g7QG45o11311; Mon, 26 Aug 2002 23:04:05 +0700 Message-Id: <200208261604.g7QG45o11311@localhost.localdomain> Date: Mon, 26 Aug 2002 11:26:00 -0000 From: "Andrey R. Urazov" To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: 3.113 Subject: other/7727: `make install' fails when none of the localization files are installed (as controlled by LINGUAS) X-SW-Source: 2002-08/txt/msg00556.txt.bz2 List-Id: >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: