Gperf-3.0.4

Introduction to Gperf

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.

Package Information

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gperf

Installation of 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

Command Explanations

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.

Contents

Installed Program: gperf
Installed Libraries: None
Installed Directory: /usr/share/doc/gperf-3.0.4

Short Descriptions

gperf

generates a perfect hash function from a key set.

Last updated on 2011-11-18 20:09:42 +0000