]> granicus.if.org Git - fcron/blob - doc/fr/install.sgml
Updated copyright years to 2013
[fcron] / doc / fr / install.sgml
1 <!-- 
2 Fcron documentation
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
7 Foundation.
8 A copy of the license is included in gfdl.sgml.
9 -->
10
11
12 <sect1 id="install">
13     <title>How to install fcron</title>
14     <itemizedlist>
15         <listitem>
16             <para>uncompress the archive:</para>
17             <screen><prompt>bash$ </prompt><command>
18 tar -xzf fcron-X.Y.Z.src.tar.gz</command></screen>
19         </listitem>
20         <listitem>
21             <para>cd to the archive directory</para>
22             <screen><prompt>bash$ </prompt><command>cd fcron-X.Y.Z</command></screen>
23         </listitem>
24         <listitem>
25             <para>run the <command>configure</command> script:</para>
26             <screen><prompt>bash$
27 </prompt><command>./configure</command></screen>
28             <para>
29                 <note>
30                     <itemizedlist>
31                         <listitem>
32                             <para>
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).
39                             </para>
40                         </listitem>
41                         <listitem>
42                             <para>
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
47 prefix=/usr)
48                             </para>
49                         </listitem>
50                         <listitem>
51                             <para>
52                                 To disable the use of
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>
56                         </listitem>
57                         <listitem>
58                             <para>To debug &fcron;, you should use
59 <command>configure </command>'s option <option>--with-debug</option>.
60                             </para>
61                         </listitem>
62                         <listitem>
63                             <para>
64                                 You can get info on the others
65 <command>configure </command>'s options by running
66 "<command>./configure</command> <option>--help</option>".
67                             </para>
68                         </listitem>
69                     </itemizedlist>
70                 </note>
71                 <warning>
72                     <itemizedlist>
73                         <listitem>
74                             <para>
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>").
81                             </para>
82                         </listitem>
83                         <listitem>
84                             <para>
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
88 outdated man-pages.
89                             </para>
90                         </listitem>
91                         <listitem>
92                             <para>
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.
96                             </para>
97                         </listitem>
98                     </itemizedlist>
99                 </warning>
100             </para>
101         </listitem>
102
103         <listitem>
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>
107         </listitem>
108
109         <listitem>
110             <para>compile:</para>
111             <screen><prompt>bash$ </prompt><command>make</command></screen>
112         </listitem>
113
114         <listitem>
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>
118         </listitem>
119     </itemizedlist>
120     <para>You can now run <command>fcron</command> and
121 <command>fcrontab</command>.</para>
122     <note>
123         <itemizedlist>
124             <listitem>
125                 <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.
129                     </para>
130             </listitem>
131             <listitem>
132                 <para>
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.
138                     </para>
139             </listitem>
140         </itemizedlist>
141     </note>
142 </sect1>
143
144 <!-- Keep this comment at the end of the file
145 Local variables:
146 mode: sgml
147 sgml-parent-document:("fcron-doc.sgml" "book" "chapter" "sect1" "")
148 End:
149 -->