Tk Source Code

View Ticket
Login
Ticket UUID: 220741
Title: Target install-libraries wrng under Windows
Type: Bug Version: obsolete: 8.3.1
Submitter: welch Created on: 2000-10-31 23:52:30
Subsystem: 85. Win Build Assigned To: nobody
Priority: 2 Severity:
Status: Closed Last Modified: 2001-03-23 09:59:19
Resolution: Fixed Closed By: dgp
    Closed on: 2001-03-23 02:59:19
Description:
OriginalBugID: 5516 Bug
Version: 8.3.1
SubmitDate: '2000-05-15'
LastModified: '2000-05-22'
Severity: MED
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: All
OSVersion: Windows NT 4.0 with cygnuys b20 and vc6.0
Machine: athlon, but does not matter
FixedDate: '2000-05-22'
FixedInVersion: 8.4a1


Name:
Wolfgang S. Kechel

ReproducibleScript:
The target install-binaries does not install the X-headers from win/xlib
into the distribution. This causes a compile time error when trying
to compile extensions that use the Tk internals.
makefile.vc does this in a correct way.

ObservedBehavior:
... missing header files

DesiredBehavior:
Correct installation, like present in makefile.vc

Patch:
88% diff -bc Makefile.in Makefile.in.orig 
*** Makefile.in Mon May 15 22:02:27 2000
--- Makefile.in.orig    Mon May 15 21:54:02 2000
***************
*** 428,439 ****
                fi;  done;
        @echo "Installing header files";
!       @for i in $(GENERIC_DIR)/tk.h $(GENERIC_DIR)/tkDecls.h !       $(GENERIC_DIR)/tkIntXlibDecls.h ;  do  $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR);  done;
-       @cp -r $(XLIB_DIR)/X11 $(INCLUDE_INSTALL_DIR);
        @echo "Installing library files to $(SCRIPT_INSTALL_DIR)";
        @for i in $(ROOT_DIR)/library/*.tcl $(GENERIC_DIR)/prolog.ps  $(ROOT_DIR)/library/tclIndex $(UNIX_DIR)/tkAppInit.c;  --- 428,437 ----
                fi;  done;
        @echo "Installing header files";
!       @for i in $(GENERIC_DIR)/tk.h $(GENERIC_DIR)/tkDecls.h ;  do  $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR);  done;
        @echo "Installing library files to $(SCRIPT_INSTALL_DIR)";
        @for i in $(ROOT_DIR)/library/*.tcl $(GENERIC_DIR)/prolog.ps  $(ROOT_DIR)/library/tclIndex $(UNIX_DIR)/tkAppInit.c;  
PatchFiles:
tk8.3.1/win/Makefile.in



Fixed in 8.4a1 release. 
-- 05/22/2000 hobbs