| Description: |
OriginalBugID: 3896 Bug
Version: 8.2.3
SubmitDate: '1999-12-17'
LastModified: '1999-12-20'
Severity: LOW
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Other
OSVersion: QNX 4.25
Machine: i586
FixedDate: '1999-12-20'
FixedInVersion: 8.3b1
Name:
Bruce Edge
ReproducibleScript:
A test in the makefile does not execute as expected under QNX. This is similar to the bug report I submitted for tcl.
ObservedBehavior:
# //8/usr/local/src/tk8.2.3/unix> make install
Installing libtk8.2g.a
chmod +x //8/usr/local/src/tk8.2.3/unix/install-sh
chmod +x //8/usr/local/src/tk8.2.3/unix/mkLinks
Installing wish
Installing tkConfig.sh
make: *** [install-binaries] Error 1
Patch:
*** Makefile Fri Dec 17 10:09:17 1999
--- Makefile.new Fri Dec 17 11:46:16 1999
***************
*** 42,48 ****
TK_LIBRARY = $(prefix)/lib/tk$(VERSION)
# Path name to use when installing library scripts:
! SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)/$(TK_LIBRARY)
# Directory in which to install the .a or .so binary for the Tk library:
LIB_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/lib
--- 42,48 ----
TK_LIBRARY = $(prefix)/lib/tk$(VERSION)
# Path name to use when installing library scripts:
! SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TK_LIBRARY)
# Directory in which to install the .a or .so binary for the Tk library:
LIB_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/lib
***************
*** 446,457 ****
@$(INSTALL_PROGRAM) wish $(BIN_INSTALL_DIR)/wish$(VERSION)
@echo "Installing tkConfig.sh"
@$(INSTALL_DATA) tkConfig.sh $(LIB_INSTALL_DIR)/tkConfig.sh
! @if test "$(TK_BUILD_EXP_FILE)" != ""; then ! echo "Installing $(TK_EXP_FILE)"; ! $(INSTALL_DATA) $(TK_BUILD_EXP_FILE) ! $(LIB_INSTALL_DIR)/$(TK_EXP_FILE); ! fi
! @if test "$(TK_STUB_LIB_FILE)" != "" ; then echo "Installing $(TK_STUB_LIB_FILE)"; $(INSTALL_DATA) $(STUB_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_STUB_LIB_FILE); --- 446,457 ----
@$(INSTALL_PROGRAM) wish $(BIN_INSTALL_DIR)/wish$(VERSION)
@echo "Installing tkConfig.sh"
@$(INSTALL_DATA) tkConfig.sh $(LIB_INSTALL_DIR)/tkConfig.sh
! # @if test "$(TK_BUILD_EXP_FILE)" != ""; then ! # echo "Installing $(TK_EXP_FILE)"; ! # $(INSTALL_DATA) $(TK_BUILD_EXP_FILE) ! # $(LIB_INSTALL_DIR)/$(TK_EXP_FILE); ! # fi
! if test "$(TK_STUB_LIB_FILE)" != "" ; then echo "Installing $(TK_STUB_LIB_FILE)"; $(INSTALL_DATA) $(STUB_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_STUB_LIB_FILE);
PatchFiles:
Makefile
The SCRIPT_INSTALL_DIR fix is correct and has been made for 8.3b1.
The other fix looks like a problem with 'test' on the platform,
because it should be able to check "" != "".
-- 12/20/1999 hobbs
|