summaryrefslogtreecommitdiff
path: root/INSTALL
blob: 631d50f0c8660aef6f29feac437b237d4d980073 (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

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.9X.tar.gz somewhere
3) cd util-linux-2.9X
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.

Users of libc 5.4.46 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.

Some old libc have complaints like
  /usr/include/sys/syslog.h:71: warning: missing braces around initializer
Also this is a libc/include problem.

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.