请问如何安装flex包(没联网情况下)?

编译打包和其他
回复
pxchen
帖子: 2
注册时间: 2009-06-03 18:28

请问如何安装flex包(没联网情况下)?

#1

帖子 pxchen » 2010-01-11 21:33

小弟今日刚刚装了Ubuntu,我用的是校园网,但是上网需要神州数码认证(官方没有linux版本的)。
上网搜到姚琦做的java版本的神州数码认证软件,需要以下几个步骤:
步骤一:安装JRE
步骤二:安装libpcap(for linux)
步骤三:安装jpcap
步骤四:运行程序进行配置
但是在安装libpcap是却提示需要flex:提示如下:
//上面还有一大堆信息,省略。
configure: error: Your operating system's lex is insufficient to compile
libpcap. flex is a lex replacement that has many advantages, including
being able to compile libpcap. For more information, see
http://www.gnu.org/software/flex/flex.html .
上网下载了flex-2.5.35.tar,可是却不知道怎么安装flex(呵呵,不知道安装用得恰不恰当)。
请问哪位大牛能告诉我怎么安装flex吗(不能联网情况下)?谢谢了!
回复