Tk Library Source Code

View Ticket
Login
Ticket UUID: 3613973
Title: Does not properly install under windows with cygwin
Type: Bug Version: None
Submitter: wkechel Created on: 2013-05-27 08:44:00
Subsystem: Build System & Testing Assigned To: andreas_kupries
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2013-05-31 19:14:33
Resolution: Fixed Closed By: aku
    Closed on: 2013-05-31 19:14:33
Description:
Installation in cygwin env under windows fails since Makefile.in lacks proper conversion of pathnames, Correction in Makefile.in:


--- ../../../g462/src/tcllib-1.15/Makefile.in   2013-01-23 05:25:49.000000000 +0100
+++ Makefile.in 2013-05-24 11:29:22.863424000 +0200
@@ -52,26 +52,26 @@
 install:
        $(TCLSH_PROG) `$(CYGPATH) $(srcdir)/installer.tcl` \
                -no-examples -no-html \
-               -pkg-path   $(DESTDIR)$(pkglibdir) \
-               -app-path   $(DESTDIR)$(bindir) \
-               -nroff-path $(DESTDIR)$(mandir)/mann \
+               -pkg-path   `$(CYGPATH) $(DESTDIR)$(pkglibdir)` \
+               -app-path   `$(CYGPATH) $(DESTDIR)$(bindir)` \
+               -nroff-path `$(CYGPATH) $(DESTDIR)$(mandir)/mann` \
                -no-wait -no-gui

 install-libraries:
        $(TCLSH_PROG) `$(CYGPATH) $(srcdir)/installer.tcl` \
-               -pkg-path   $(DESTDIR)$(pkglibdir) \
+               -pkg-path   `$(CYGPATH) $(DESTDIR)$(pkglibdir)` \
                -no-examples -no-html -no-nroff \
                -no-wait -no-gui -no-apps

 install-applications:
        $(TCLSH_PROG) `$(CYGPATH) $(srcdir)/installer.tcl` \
-               -app-path   $(DESTDIR)$(bindir) \
+               -app-path   `$(CYGPATH) $(DESTDIR)$(bindir)` \
                -no-examples -no-html -no-nroff \
                -no-wait -no-gui -no-pkgs

 install-doc:
        $(TCLSH_PROG) `$(CYGPATH) $(srcdir)/installer.tcl` \
-               -nroff-path $(DESTDIR)$(mandir)/mann \
+               -nroff-path `$(CYGPATH) $(DESTDIR)$(mandir)/mann` \
                -no-examples -no-pkgs -no-html \
                -no-wait -no-gui -no-apps


Tested and verified under window XP and Windows 7 with cygwin usinf VS2010.