Introduction to DejaGnu

DejaGnu is a framework for running test suites on GNU tools. It is written in expect, which uses Tcl (Tool command language). It was installed by LFS in the temporary /tools directory. These instructions install it permanently.

This package is known to build and work properly using an LFS-7.9 platform.

This package is known to build properly using the gcc-6 compiler.

Package Information

DejaGnu Dependencies




DocBook-utils-0.6.14 and docbook2X (both looked for by the configure script but not used in the build)

User Notes:

Installation of DejaGnu

Install DejaGnu by running the following commands:

./configure --prefix=/usr &&
makeinfo --html --no-split -o doc/dejagnu.html doc/dejagnu.texi &&
makeinfo --plaintext       -o doc/dejagnu.txt  doc/dejagnu.texi

To test the results, issue make check.

Now, as the root user:

make install &&
install -v -dm755   /usr/share/doc/dejagnu-1.6 &&
install -v -m644    doc/dejagnu.{html,txt} \


Installed Program: runtest
Installed Libraries: None
Installed Directory: /usr/share/dejagnu

Short Descriptions


is the DejaGnu test driver program. It is used to control what tests to run, and variations on how to run them.

Last updated on 2016-05-21 13:19:56 -0500