Changes between Version 10 and Version 11 of Installation


Ignore:
Timestamp:
01.06.2014 17:25:19 (10 years ago)
Author:
Alloc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Installation

    v10 v11  
    9898update-rc.d 7dtd.sh defaults
    9999}}}
    100 1. Compile start-stop-daemon from source as detailed in [[start-stop-daemon]].
     100
     101
     102== Compile start-stop-daemon ==
     103
     104start-stop-daemon is part of Debian's dpkg (Debian package manager) package. But as other distributions obviously do not ship it and some Debian 6 and older do not ship a recent enough version we will compile it from source. Compiling only requires an installation of '''gcc'''.
     105
     106'''If you get any errors during compilation (e.g. because of missing headers) please [[Author|inform me]] so I can update this page.'''
     107
     1081. The source of the tool is shipped with the scripts so switch to its directory:
     109{{{
     110cd /usr/local/lib/7dtd/start-stop-daemon
     111}}}
     1121. Compile it by running make (with makefile) '''or''' directly invoke gcc:
     113 *
     114{{{
     115make
     116}}}
     117 *
     118{{{
     119gcc -o start-stop-daemon start-stop-daemon.c
     120}}}
     1211. Make sure it is owned by root and only writable by root, again either by running make '''or''' do it manually:
     122 *
     123{{{
     124make install
     125}}}
     126 *
     127{{{
     128chown root.root start-stop-daemon
     129chmod 0755 start-stop-daemon
     130}}}
    101131
    102132