From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10963 invoked by alias); 16 May 2010 20:13:02 -0000 Received: (qmail 10943 invoked by uid 71); 16 May 2010 20:13:02 -0000 Resent-Date: 16 May 2010 20:13:02 -0000 Resent-Message-ID: <20100516201302.10942.qmail@sourceware.org> Resent-From: insight-gnats@sources.redhat.com (GNATS Filer) Resent-To: nobody@sources.redhat.com Resent-Cc: insight-prs@sources.redhat.com Resent-Reply-To: insight-gnats@sources.redhat.com, zinosat@tiscali.it Received: (qmail 1835 invoked by uid 48); 16 May 2010 20:04:59 -0000 Message-Id: <20100516200459.1829.qmail@sourceware.org> Date: Sun, 16 May 2010 20:13:00 -0000 From: zinosat@tiscali.it Reply-To: zinosat@tiscali.it To: insight-gnats@sources.redhat.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: insight/350: Build failure due to unset RC variable Mailing-List: contact insight-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sourceware.org X-SW-Source: 2010-q2/txt/msg00008.txt.bz2 >Number: 350 >Category: insight >Synopsis: Build failure due to unset RC variable >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun May 16 20:13:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: zinosat@tiscali.it >Release: unknown-1.0 >Organization: >Environment: >Description: While trying to cross-compile insight on a Debian Lenny i386 host with the mingw32 compiler, compilation fails with the following error: i586-mingw32msvc-gcc -c -g -O2 -D__USE_MINGW_ACCESS -Wall -Wconversion -I"../../../../insight-6.8-111/\ tcl/win/../generic" -I"../../../../insight-6.8-111/tcl/win" -mwin32 -DPACKAGE_NAME=\"\" -DPACKAGE_TARN\ AME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_NO_SEH=1 -DEXCEPT\ ION_DISPOSITION=int -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_\ STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1\ -DBUILD_tcl ../../../../insight-6.8-111/tcl/win/../compat/strtoull.c -o strtoull.o o tcl.res.o --include "../../../../insight-6.8-111/tcl/win/../generic" --include "../../../../insight\ -6.8-111/tcl/win" ../../../../insight-6.8-111/tcl/win/tcl.rc /bin/sh: o: command not found make[3]: [tcl.res.o] Error 127 (ignored) >How-To-Repeat: >Fix: It turns out that the RC variable in tcl/win/Makefile is not set. Forcing RC to "i586-mingw32msvc-windres" fixes the problem. The very same error occurs on tk/win/Makefile Tried to gather some debugging traces in the "configure" script: + set dummy windres + ac_word=windres + echo 'configure:2885: checking for windres' + echo -n 'checking for windres... ' checking for windres... + test '' = set + test -n '' + as_save_IFS=' ' + IFS=: + for as_dir in '$PATH' + IFS=' ' + test -z /usr/local/bin + for ac_exec_ext in ''\'''\''' '$ac_executable_extensions' + test -f /usr/local/bin/windres + for as_dir in '$PATH' + IFS=' ' + test -z /usr/bin + for ac_exec_ext in ''\'''\''' '$ac_executable_extensions' + test -f /usr/bin/windres + for as_dir in '$PATH' + IFS=' ' + test -z /bin + for ac_exec_ext in ''\'''\''' '$ac_executable_extensions' + test -f /bin/windres + for as_dir in '$PATH' + IFS=' ' + test -z /usr/games + for ac_exec_ext in ''\'''\''' '$ac_executable_extensions' + test -f /usr/games/windres + IFS=' >Release-Note: >Audit-Trail: >Unformatted: