chiark / gitweb /
INSTALL: --enable-selinux not --with-selinux
[elogind.git] / INSTALL
1   ./configure
2     --prefix=
3         "/usr" - prefix for man pages, include files
4     --exec-prefix=
5         "" - the root filesystem, prefix for libs and binaries
6     --sysconfdir=
7         "/etc"
8     --with-libdir-name=
9         "lib" - directory name for libraries, not a path name
10         multilib 64bit systems may use "lib64" instead of "lib"
11     --enable-debug
12         compile-in verbose debug messages
13     --disable-logging
14         disable all logging and compile-out all log strings
15     --with-selinux
16         link against SELInux libraries to set the expected context
17         for created files
18
19 The installation directories are controlled by $prefix, $exec_prefix
20 $sysconfdir and $libdir-name. Documentation, development files are
21 installed below $prefix, binaries are installed below $exec_prefix,
22 libraries below $exec_prefix/$libdir-name.
23
24 The default configuration for a RPM spec file may look like:
25   --prefix=%{_prefix}
26   --exec-prefix=""
27   --sysconfdir=%{_sysconfdir}
28   --with-libdir-name=%{_lib}
29
30 The well defined location for scripts and binaries which are called
31 from rules is /lib/udev/ on all systems and architectures, anything
32 else is broken. Other packages who use udev, may use the /lib/udev/
33 directory to install their rule helper and udev rule files.
34
35 It is recommended to use the /lib/udev/devices/ directory to place
36 device nodes, directories and symlinks, which are copied to /dev/
37 at every bootup. That way, nodes for devices which can not be
38 detected automatically, or are activated on-demand by opening the
39 pre-existing device node, will be available.
40
41 Default udev rules and persistent device naming rules are required
42 by other software that depends on the data udev collects from the
43 devices, and should therefore be installed by default with every udev
44 installation.