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