3 Copyright 2000-2013 Thibault Godouet <fcron@free.fr>
4 Permission is granted to copy, distribute and/or modify this
5 document under the terms of the GNU Free Documentation License,
6 Version 1.1 or any later version published by the Free Software
8 A copy of the license is included in gfdl.sgml.
13 <title>How to install fcron</title>
16 <para>uncompress the archive:</para>
17 <screen><prompt>bash$ </prompt><command>
18 tar -xzf fcron-X.Y.Z.src.tar.gz</command></screen>
21 <para>cd to the archive directory</para>
22 <screen><prompt>bash$ </prompt><command>cd fcron-X.Y.Z</command></screen>
25 <para>run the <command>configure</command> script:</para>
27 </prompt><command>./configure</command></screen>
33 The command <command>make install</command> asks
34 you by default some questions you have to answer. To avoid that (which can be
35 useful for automatic installers), you can use the
36 <command>./configure</command>'s option <option>--with-answer-all</option>
37 and/or <option>--with-boot-install</option> (see "<command>./configure</command>
38 <option>--help</option>" for more details).
43 You may also want to change the place where
44 &fcron; will be installed: you can use the <command>configure </command>'s
45 option <option>--prefix</option> to do that. For instance:
46 <command>./configure</command> <option>--prefix=/usr/local</option> (default is
53 <productname>PAM</productname>, <productname>SE Linux</productname> or &fcrondyn;, use <command>configure</command>'s
54 option <option>--with-pam=no</option>, <option>--with-selinux=no</option>
55 and/or <option>--with-fcrondyn=no</option>.</para>
58 <para>To debug &fcron;, you should use
59 <command>configure </command>'s option <option>--with-debug</option>.
64 You can get info on the others
65 <command>configure </command>'s options by running
66 "<command>./configure</command> <option>--help</option>".
75 The <command>configure</command> script may not
76 define a correct directory for the man pages and the documentation on some
77 systems. You may check the values defined by <command>configure</command> and if
78 necessary force a value by the options <option>--mandir</option> and
79 <option>-with-docdir </option> (see the help by running
80 "<command>./configure</command> <option>--help</option>").
85 If you get older &fcron;'s man-pages with
86 <command>man</command> command after having upgraded, it's probably because
87 &fcron; has changed its default man directory: you should remove manually the
93 The <filename>Makefile</filename> has been
94 designed for <application>GNU make</application>. Some other version of
95 <command>make</command> may fail to use it.
104 <para><emphasis>(optional)</emphasis> check the file
105 <filename>config.h</filename>, and change it if necessary (the configurable part
106 is on the top of the file and clearly delimited).</para>
110 <para>compile:</para>
111 <screen><prompt>bash$ </prompt><command>make</command></screen>
115 <para>then install binaries as root:</para>
116 <screen><prompt>bash$ </prompt><command>su root</command></screen>
117 <screen><prompt>bash# </prompt><command>make install</command></screen>
120 <para>You can now run <command>fcron</command> and
121 <command>fcrontab</command>.</para>
126 This is a <productname>POSIX</productname> conforming
127 software. You must have a <productname>POSIX</productname> compiler
128 (<application>gcc</application> for example) in order to compile it.
133 This software has been written for
134 <productname>GNU/Linux</productname> systems. If you want to port it on an other
135 <productname>Unix</productname> platform (thank you if you do it), try to modify
136 - if possible - only the <application>configure</application> script. Please
137 send me any modifications at &email; in order to include it in future releases.
144 <!-- Keep this comment at the end of the file
147 sgml-parent-document:("fcron-doc.sgml" "book" "chapter" "sect1" "")