|
From: | Peter Cheung |
Subject: | flex version |
Date: | Sun, 15 Nov 2015 00:22:34 +0800 |
hi my flex in mac is installed using macports. $flex --version flex 2.5.35 Apple(flex-31) And the line in configure fail version=`$LEX --version | $AWK '{ split($NF,x,"."); print x[1]*10000+x[2]*100+x[3]; }’` Better to change it to: version=`$LEX --version | sed 's/flex //'|sed 's/ .*//'| $AWK '{ split($NF,x,"."); print x[1]*10000+x[2]*100+x[3]; }’` thanks from Peter |
[Prev in Thread] | Current Thread | [Next in Thread] |