Changeset 421
- Timestamp:
- 04/24/99 02:23:25 (10 years ago)
- Files:
-
- lm-sensors/trunk/INSTALL (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/INSTALL
r420 r421 10 10 ============================ 11 11 12 Basic installation is uncomplicated. Run 'make all', followed by an optional13 'make install'. Everything is compiled using the Makefile in the root of12 Basic installation is uncomplicated. Run `make all', followed by an optional 13 `make install'. Everything is compiled using the Makefile in the root of 14 14 this package. 15 15 … … 31 31 is a sort of magic invocation which tries to check this; it will fail if 32 32 you do not have the correct kernel tree in /usr/src/linux. If you set it, 33 a '-D__SMP__' argument will be added to all module compiles.33 a `-D__SMP__' argument will be added to all module compiles. 34 34 * MODVER 35 35 This must be set to 1 if your kernel was compiled with CONFIG_MODVERSIONS … … 47 47 The prefix which is added to most directory locations below. 48 48 * MODDIR (/lib/modules/extra/misc) 49 The directory where 'make install' installs your modules.49 The directory where `make install' installs your modules. 50 50 * ETCDIR (/etc) 51 The directory where 'make install' installs the example configuration file51 The directory where `make install' installs the example configuration file 52 52 if none is found there. 53 53 * LIBDIR ($(PREFIX)/lib) 54 The directory where 'make install' installs the shared and static libraries.54 The directory where `make install' installs the shared and static libraries. 55 55 * BINDIR ($(PREFIX)/bin) 56 The directory where 'make install' installs all executables.56 The directory where `make install' installs all executables. 57 57 * SBINDIR ($(PREFIX)/sbin) 58 The directory where 'make install' installs all system programs (programs58 The directory where `make install' installs all system programs (programs 59 59 which can only be run by root). 60 60 * INCLUDEDIR ($(PREFIX)/include) 61 The base directory where 'make install' installs your include files.61 The base directory where `make install' installs your include files. 62 62 Actually, SYSINCLUDEDIR ($(INCLUDEDIR)/linux) is used for kernel header 63 63 files, and LIBINCLUDEDIR ($(INCLUDEDIR)/sensors) is used for library … … 86 86 behaviour (probably leading to crashes). 87 87 88 If you do a 'make install', remember to do a 'depmod -a' and a 'ldconfig' 89 to make sure the new modules and shared libraries are recognized. 88 If you do a `make install', remember to do a `depmod -a' and a `ldconfig' 89 to make sure the new modules and shared libraries are recognized. If you 90 set PREFIX to anything different from `/' or `/usr' (it is `usr/local' 91 by default), check whether /etc/ld.so.conf contains the library directory 92 (like `/usr/local/lib') before you do the `ldconfig'. 90 93 91 Do no worry about the 'No such file or directory' warnings when you compile94 Do no worry about the `No such file or directory' warnings when you compile 92 95 the package the first time. They are harmless. 93 96 … … 98 101 When you have compiled this package, you will be left with a lot of modules. 99 102 It can be tricky to know which modules you need to insert. For this reason, 100 I suggest you go the 'modprobe' way, as described within doc/modules.103 I suggest you go the `modprobe' way, as described within doc/modules. 101 104 102 105 If you just want to run a test without installing them, try the following: … … 118 121 119 122 But instead of doing any of the above things, please read doc/modules and 120 do a 'make install'. After that, you can run 'sensors-detect'. This Perl123 do a `make install'. After that, you can run `sensors-detect'. This Perl 121 124 program will detect all hardware available on your system, and tell you 122 125 what drivers you need to insert. First check whether you have /dev/i2c-* 123 files (at least 4 of them), and if not, create them by running 'mkdev.sh'126 files (at least 4 of them), and if not, create them by running `mkdev.sh' 124 127 in directory prog/mkdev. 125 128 … … 135 138 both a shared and a static library, and installed in your LIB directory 136 139 (normally /usr/local/lib). It needs a configuration file, which is usually 137 called 'sensors.conf', and can be placed in /etc, /usr/lib/sensors,140 called `sensors.conf', and can be placed in /etc, /usr/lib/sensors, 138 141 /usr/local/lib/sensors, /usr/lib, or /usr/local/lib. 139 142 … … 144 147 Where version 1 of this package had the human-readable /proc/sensors file, 145 148 this version includes a user-space program which gathers all data 146 and displays it in a comparable format. This program is called 'sensors'.149 and displays it in a comparable format. This program is called `sensors'. 147 150 Everybody can use it to read sensors values; only root can use it to 148 151 set minimum and maximum values (using the `-s' switch). 149 152 150 If you want to run 'sensors' without installing the package, you must153 If you want to run `sensors' without installing the package, you must 151 154 use the following command to make it able to find its shared library: 152 155 (bash) export LD_LIBRARY_PATH=/WHEREVER/lm_sensors-2.X.Y/lib:$LD_LIBRARY_PATH
