#### Linux From Scratch - Version 12.0-rc1

### Chapter 8. Installing Basic System Software

- Prev

  GDBM-1.23

- Next

  Expat-2.5.0

- Up
- Home

# 8.38. Gperf-3.1

Gperf generates a perfect hash function from a key set.

Approximate build time: less than 0.1 SBU
Required disk space: 6.1 MB

## 8.38.1. Installation of Gperf

Prepare Gperf for compilation:

    ./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.1

Compile the package:

    make

The tests are known to fail if running multiple simultaneous tests (-j option greater than 1). To test the results, issue:

    make -j1 check

Install the package:

    make install

## 8.38.2. Contents of Gperf

Installed program: gperf
Installed directory: /usr/share/doc/gperf-3.1

### Short Descriptions

gperf | Generates a perfect hash from a key set

- Prev

  GDBM-1.23

- Next

  Expat-2.5.0

- Up
- Home