]> git.ipfire.org Git - thirdparty/util-linux.git/blame - INSTALL
Imported from util-linux-2.10s tarball.
[thirdparty/util-linux.git] / INSTALL
CommitLineData
5c36a0eb
KZ
1
2WARNING: THE PROGRAMS IN THIS SUITE DO *NOT* SUPPORT SHADOW PASSWORD FILES!
3 UNLESS YOU USE PAM.
4
5WARNING: THIS COLLECTION CONFLICTS WITH SYSTEM V INITTAB.
6 UNLESS YOU CONFIGURE IT NOT TO.
7
8WARNING: USE GNU TAR -- OTHER TARS WILL FAIL SILENTLY!
9
10WARNING: DO *NOT* INSTALL WITHOUT THINKING.
11
12WARNING: The simpleinit and some other programs in this package are
13 *NOT* System V compliant. These utilities are meant to be
14 used by people who build their own systems. If you are not
15 a wizard, do *NOT* blindly install these utilities: they could
16 prevent you from logging into your system. Have a boot floppy
17 ready, especially if you don't know what you are doing. It's a
18 great way to learn though ;-)
19
20
21To install from source:
22
231) Get source distribution (see the .lsm file for locations)
eb63b9b8
KZ
242) Untar util-linux-2.10X.tar.gz somewhere
253) cd util-linux-2.10X
5c36a0eb 264) Edit MCONFIG
7eda085c
KZ
275) ./configure
286) Look at defines.h and make_include, and edit if necessary
297) make
308) make install
319) If you want to use simpleinit and agetty, then make softlinks from
5c36a0eb
KZ
32 /sbin/init to simpleinit and from /sbin/getty to agetty, but make sure
33 that your /etc/inittab is set up right (this is *NOT* the System V
34 compatible init!), or you will be hosed. If you are using the SysV
35 init and/or some other getty, they you can keep using those.
36
37
7eda085c 38If you have compilation problems: tell util-linux@math.uio.no about it.
5c36a0eb 39
66ee8158
KZ
40Compilation will fail on a minix filesystem with 14-byte filenames
41since for example mount_guess_fstype.h, mount_guess_fstype.c and
42mount_guess_fstype.o will be the same file. (However, 30 bytes suffice.)
43
eb63b9b8
KZ
44A glibc header bug causes
45 /usr/include/bits/string2.h:419: warning: pointer of type `void *'
46 used in arithmetic
47This is harmless.
48
49Users of libc5 may get warnings like
7eda085c 50 /usr/include/linux/byteorder/swab.h:100: warning: no previous prototype for `__fswab16'
eb63b9b8
KZ
51that they'll have to ignore. The Linux kernel includes are not meant to be
52included in user programs, but libc5 does precisely that and is inherently
53broken.
5c36a0eb 54
eb63b9b8 55Several old libc have complaints like
7eda085c 56 /usr/include/sys/syslog.h:71: warning: missing braces around initializer
66ee8158 57 /usr/include/sys/syslog.h:87: warning: aggregate has a partly bracketed initializer
eb63b9b8
KZ
58 /usr/include/rpc/xdr.h:103: warning: function declaration isn't a prototype
59 /usr/include/rpc/auth.h:86: warning: function declaration isn't a prototype
60 /usr/include/rpc/svc.h:79: warning: function declaration isn't a prototype
7eda085c
KZ
61Also this is a libc/include problem.
62
eb63b9b8
KZ
63Warnings like
64 <sys/mman.h>:11: warning: `MAP_FILE' redefined
65 <asm/mman.h>:30: warning: this is the location of the previous definition
66are caused by the libc/kernel combination.
67
68All such warnings are harmless.
7eda085c 69There should be no compilation errors.
5c36a0eb
KZ
70
71
72If you have runtime problems:
73
74- with non-ASCII characters: perhaps you forgot to set LC_CTYPE or LC_ALL?
75 (For example, in Norway one can say LC_ALL=no_NO; export LC_ALL and
76 then various utilities will treat Scandinavian non-ASCII letters as
77 letters.)
78
79otherwise: tell util-linux@math.uio.no about it.
80