]>
Commit | Line | Data |
---|---|---|
5c36a0eb KZ |
1 | |
2 | WARNING: THE PROGRAMS IN THIS SUITE DO *NOT* SUPPORT SHADOW PASSWORD FILES! | |
3 | UNLESS YOU USE PAM. | |
4 | ||
5 | WARNING: THIS COLLECTION CONFLICTS WITH SYSTEM V INITTAB. | |
6 | UNLESS YOU CONFIGURE IT NOT TO. | |
7 | ||
8 | WARNING: USE GNU TAR -- OTHER TARS WILL FAIL SILENTLY! | |
9 | ||
10 | WARNING: DO *NOT* INSTALL WITHOUT THINKING. | |
11 | ||
12 | WARNING: 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 | ||
21 | To install from source: | |
22 | ||
23 | 1) Get source distribution (see the .lsm file for locations) | |
eb63b9b8 KZ |
24 | 2) Untar util-linux-2.10X.tar.gz somewhere |
25 | 3) cd util-linux-2.10X | |
5c36a0eb | 26 | 4) Edit MCONFIG |
7eda085c KZ |
27 | 5) ./configure |
28 | 6) Look at defines.h and make_include, and edit if necessary | |
29 | 7) make | |
30 | 8) make install | |
31 | 9) 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 | 38 | If you have compilation problems: tell util-linux@math.uio.no about it. |
5c36a0eb | 39 | |
66ee8158 KZ |
40 | Compilation will fail on a minix filesystem with 14-byte filenames |
41 | since for example mount_guess_fstype.h, mount_guess_fstype.c and | |
42 | mount_guess_fstype.o will be the same file. (However, 30 bytes suffice.) | |
43 | ||
eb63b9b8 KZ |
44 | A glibc header bug causes |
45 | /usr/include/bits/string2.h:419: warning: pointer of type `void *' | |
46 | used in arithmetic | |
47 | This is harmless. | |
48 | ||
49 | Users of libc5 may get warnings like | |
7eda085c | 50 | /usr/include/linux/byteorder/swab.h:100: warning: no previous prototype for `__fswab16' |
eb63b9b8 KZ |
51 | that they'll have to ignore. The Linux kernel includes are not meant to be |
52 | included in user programs, but libc5 does precisely that and is inherently | |
53 | broken. | |
5c36a0eb | 54 | |
eb63b9b8 | 55 | Several 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 |
61 | Also this is a libc/include problem. |
62 | ||
eb63b9b8 KZ |
63 | Warnings like |
64 | <sys/mman.h>:11: warning: `MAP_FILE' redefined | |
65 | <asm/mman.h>:30: warning: this is the location of the previous definition | |
66 | are caused by the libc/kernel combination. | |
67 | ||
68 | All such warnings are harmless. | |
7eda085c | 69 | There should be no compilation errors. |
5c36a0eb KZ |
70 | |
71 | ||
72 | If 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 | ||
79 | otherwise: tell util-linux@math.uio.no about it. | |
80 |