This is the mail archive of the insight-prs@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

insight/350: Build failure due to unset RC variable


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]