Tk Library Source Code

View Ticket
Login
Ticket UUID: 3536133
Title: Installation fails...
Type: Bug Version: None
Submitter: petasis Created on: 2012-06-18 23:02:53
Subsystem: Build System & Testing Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2012-06-22 01:16:28
Resolution: Accepted Closed By: andreas_kupries
    Closed on: 2012-06-21 18:16:28
Description:
Installing tklib in a cross-compilation environment fails. The problem is in Makefile.in, where the option -app-path is not used.

The following:
install:
$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/installer.tcl` \
-no-examples -no-html \
-pkg-path   $(DESTDIR)$(pkglibdir) \
-nroff-path $(DESTDIR)$(mandir)/mann \
-no-wait -no-gui

Must be changed to:

install:
$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/installer.tcl` \
-no-examples -no-html \
-pkg-path   $(DESTDIR)$(pkglibdir) \
-app-path   $(DESTDIR)$(bindir) \
-nroff-path $(DESTDIR)$(mandir)/mann \
-no-wait -no-gui
User Comments: andreas_kupries added on 2012-06-22 01:16:28:

allow_comments - 1

andreas_kupries added on 2012-06-22 01:11:39:
And we have to put '-no-apps' into the targets 'install-doc' and 'install-libraries', to prevent them from trying to install things beyond what they are supposed to install.

petasis added on 2012-06-19 06:08:32:
And the following line must be also added somewhere in Makefile.in:

bindir= @bindir@