#### Linux From Scratch - Version 9.0-systemd

### Chapter 6. Installing Basic System Software

- Prev

  GDBM-1.18.1

- Next

  Expat-2.2.7

- Up
- Home

# 6.37. 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.3 MB

## 6.37.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

## 6.37.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.18.1

- Next

  Expat-2.2.7

- Up
- Home