Menu

#1322 Installation fails...

closed-accepted
5
2012-06-21
2012-06-18
No

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

Discussion

  • Georgios Petasis

    And the following line must be also added somewhere in Makefile.in:

    bindir = @bindir@

     
  • Andreas Kupries

    Andreas Kupries - 2012-06-21

    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.

     
  • Andreas Kupries

    Andreas Kupries - 2012-06-21
    • assigned_to: nobody --> andreas_kupries
     
  • Andreas Kupries

    Andreas Kupries - 2012-06-21
    • labels: 660820 --> Build System & Testing
    • status: open --> closed-accepted