/usr/share/doc/freeipmi-common/README.build is in freeipmi-common 0.8.12-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | Building/Install from source
----------------------------
The instructions below (modified from the INSTALL file) should
work for most people.
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system.
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for. If your system
requires additional packages and/or libraries in order for FreeIPMI
to be built, appropriate messages should be displayed. These
packages and/or libraries should be installed and `./configure' should
be executed again.
2. Once `./configure' has succeeded, type `make' to compile the
package.
3. Type `make install' to install the programs and any data files and
documentation.
You may need to be root in order for files to be installed into
the proper locations on your system.
By default files will typically be installed in /usr/local (binaries
in /usr/local/bin, libraries in /usr/local/lib, configuration files in
/usr/local/etc/, etc.). To install into the more common locations
such as /usr/bin, /usr/lib/, /etc, etc. the options passed into
`./configure' must be adjusted.
The following set of options and settings are suitable for most Linux
systems.
--prefix=/usr --exec-prefix=/usr --sysconfdir=/etc
--localstatedir=/var --mandir=/usr/share/man
Your mileage may vary depending on your system.
Building RPMs
-------------
For most people you can build RPMs one of two ways.
From the source:
rpmbuild -ta freeipmi-X.Y.Z.tar.gz
From the source rpm:
rpmbuild --rebuild freeipmi-X.Y.Z-1.src.rpm
Depending on your default RPM build environment, you may need to be root
in order for RPMs to be stored in the default locations.
After the RPMs are built, you may install them the normal way:
rpm -i freeipmi-X.Y.Z.ARCH.rpm
|