[Koha-bugs] [Bug 19589] New: DESTDIR environment variable ignored on "make install"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 8 00:45:54 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19589

            Bug ID: 19589
           Summary: DESTDIR environment variable ignored on "make install"
 Change sponsored?: ---
           Product: Koha
           Version: 17.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Installation and upgrade (command-line installer)
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: int at arcor.de
        QA Contact: testopia at bugs.koha-community.org

(In koha-17.05.03/) when calling 
> DESTDIR=fancydir make install
the DESTDIR from the command-line is ignored and 
the empty one from Makefile is used. 
In Makefile the following line can be found
> DESTDIR = 
If this line is deleted, the DESTDIR from the command-line is used as expected.
(But I don't know if this is a good idea to do, beside that Makefile is
generated.)

This behaviour is bad for package-building of koha.


Steps to reproduce:

Just follow the normal install procedure (as normal user):
> perl Makefile.PL --install_base /usr/share/koha --install_mode standard ...
> make
> DESTDIR=fancydir make install
The following error should occur:
> ERROR: Can't create '/etc/koha'
> mkdir /etc/koha: Permission denied at ...
Expected is that everything is installed below $DESTDIR/, 
e.g. $DESTDIR/etc/koha, and not root.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list