What steps will reproduce the problem? 1. ./configure
make
make fails with the error:
/bin/bash ../config/ylwrap rtggram.l .c rtggram.c -- /bin/bash /root/downloads/rtg2-0.9.1-1/config/missing --run flex
/root/downloads/rtg2-0.9.1-1/config/missing: line 52: flex: command not found
WARNING: flex' is missing on your system. You should only need it if you modified a.l' file. You may need the Flex' package in order for those modifications to take effect. You can get Flex' from any GNU archive site.
make[2]: * [rtggram.c] Error 1
make[2]: Leaving directory `/root/downloads/rtg2-0.9.1-1/src'
make[1]: * [all] Error 2
make[1]: Leaving directory`/root/downloads/rtg2-0.9.1-1/src'
From strydom....@gmail.com on September 17, 2012 02:19:34
What steps will reproduce the problem? 1. ./configure
make fails with the error:
/bin/bash ../config/ylwrap rtggram.l .c rtggram.c -- /bin/bash /root/downloads/rtg2-0.9.1-1/config/missing --run flex /root/downloads/rtg2-0.9.1-1/config/missing: line 52: flex: command not found WARNING:
flex' is missing on your system. You should only need it if you modified a
.l' file. You may need theFlex' package in order for those modifications to take effect. You can get
Flex' from any GNU archive site. make[2]: * [rtggram.c] Error 1 make[2]: Leaving directory `/root/downloads/rtg2-0.9.1-1/src' make[1]: * [all] Error 2 make[1]: Leaving directory`/root/downloads/rtg2-0.9.1-1/src'make: *\ [all-recursive] Error 1
Solution:
apt-get install flex
./configure
make
Original issue: http://code.google.com/p/rtg2/issues/detail?id=40