Installing Flex-&flex-version;
The Flex package contains a utility for generating programs that
recognize patterns in text.
&buildtime; &flex-time;
&diskspace; &flex-compsize;
&aa-flex-down;
&aa-flex-dep;
Installation of Flex
Prepare Flex for compilation:
./configure --prefix=/usr
Compile the package:
make
To have the results tested, issue:
make bigcheck.
And install the package:
make install
There are some packages that expect to find the lex
library in /usr/lib. Create a symlink to account for
this:
ln -s libfl.a /usr/lib/libl.a
A few programs don't know about flex yet and try
to run its predecessor lex. To support those programs,
create a wrapper script named lex that calls
flex in lex emulation mode:
cat > /usr/bin/lex << "EOF"
#!/bin/sh
# Begin /usr/bin/lex
exec /usr/bin/flex -l "$@"
# End /usr/bin/lex
EOF
chmod 755 /usr/bin/lex
&aa-flex-shortdesc;
&aa-flex-desc;