Gperf generates a perfect hash function from a key set.
This package is known to build and work properly using an LFS-7.0 platform.
Download (HTTP): http://ftp.gnu.org/gnu/gperf/gperf-3.0.4.tar.gz
Download (FTP): ftp://ftp.gnu.org/gnu/gperf/gperf-3.0.4.tar.gz
Download MD5 sum: c1f1db32fb6598d6a93e6e88796a8632
Download size: 968 KB
Estimated disk space required: 6.5 MB
Estimated build time: less than 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gperf
Install Gperf by running the following commands:
./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.0.4 && make
If desired, create a text version of the documentation by issuing the following command:
makeinfo -o doc/gperf.txt --plaintext doc/gperf.texi
To test the results, issue: make check. There should be no output from the diff commands.
Now, as the root
user:
make install && install -m644 -v doc/gperf.{dvi,ps,pdf,txt} \ /usr/share/doc/gperf-3.0.4 && pushd /usr/share/info && rm -v dir && for FILENAME in *; do install-info $FILENAME dir 2>/dev/null done && popd
install -m644 -v doc/gperf.{dvi,ps,pdf,txt} ...: This command installs documentation. Modify the command (remove ',txt') if you did not build the text version.
pushd ... popd: This
set of commands rebuilds the /usr/share/info/dir
file as the installation
failed to do so.
Last updated on 2011-11-18 20:09:42 +0000