10.56. Flex-2.5.37 N32 Libraries

The Flex package contains a utility for generating programs that recognize patterns in text.

10.56.1. Installation of Flex

Prepare Flex for compilation:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
   --libdir=/usr/lib32

Compile the package:

make libfl.a libfl_pic.a

Install the package:

make install-libLIBRARIES

There are some packages that expect to find the lex library in /usr/lib32. Create a symlink to account for this:

ln -sv libfl.a /usr/lib32/libl.a

Details on this package are located in Section 10.57.2, “Contents of Flex.”