|Copyright © 2000-2016 Thibault Godouet||Fcron 3.3.0 (dev release)||Web page : http://fcron.free.fr|
|Prev||Chapter 1. Fcron: how and why?||Next|
A C compiler (e.g. gcc)
(optional) readline development library (e.g. libreadline-dev)
(optional) PAM development library (e.g. libpam0g-dev)
(optional) SE Linux development library (e.g. libselinux1-dev)
(optional) Linux audit development library (e.g. libaudit-dev)
If compiling from git checkout (rather than a tarball), then no generated file will be included out of the box, so you will need more tools to generate them. In particular the ./configure script and the documentation will be generated from the sources.
uncompress the archive:
bash$ tar -xzf fcron-X.Y.Z.src.tar.gz
cd to the archive directory
bash$ cd fcron-X.Y.Z
run the configure script:
If you can't see a ./configure, then you probably checked out the files from git, in which case you need to run autoconf to generate the configure script.
If using PAM, beware that by default the PAM configuration will be installed in /usr/local/etc/. That most likely mean that your system won't use this config, and may ask you to type your password everytime you start fcrontab or fcrondyn.
The simplest way to avoid this is to instruct configure to use /etc instead with:
bash$ ./configure --sysconfdir=/etc
You may also want to change the place where fcron will be installed: you can use the configure 's option
--prefixto do that. For instance:
bash$ ./configure --prefix=/usr --sysconfdir=/etc
To disable the use of PAM, SE Linux or fcrondyn, use configure's option
The command make install asks you by default some questions you have to answer. To avoid that (which can be useful for automatic installers), you can use the ./configure's option
--with-boot-install(see "./configure --help" for more details).
To debug fcron, you should use configure 's option
You can get info on the others configure 's options by running "./configure --help".
(optional) check the file config.h, and change it if necessary (the configurable part is on the top of the file and clearly delimited).
then install binaries as root:
bash$ su root
bash# make install
You can now run fcron and fcrontab.
fcron requires a fcron user and a fcron group. If they don't exist already, make install will propose to create them for you.
This is a POSIX conforming software. You must have a POSIX compiler (gcc for example) in order to compile it.
This software has been written for GNU/Linux systems. If you want to port it on an other Unix platform (thank you if you do it), please try to modify - if possible - only the configure script. Please send me any modifications at
<<fcron at free dot fr>>in order to include it in future releases.