怎样安装ragel

2021年3月23日 | 分类: 【技术】

【介绍】

官网:http://www.colm.net/open-source/ragel/

Ragel State Machine Compiler: Ragel compiles executable finite state machines from regular languages. Ragel targets C, C++ and ASM. Ragel state machines can not only recognize byte sequences as regular expression machines do, but can also execute code at arbitrary points in the recognition of a regular language. Code embedding is done using inline operators that do not disrupt the regular language syntax.

【安装:epel源】

安装 epel 源:

	
yum install epel-release -y
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm -y

安装 ragel:

	
yum install ragel -y

【安装:编译】

稳定版:http://www.colm.net/files/ragel/ragel-6.10.tar.gz
开发版:http://www.colm.net/files/ragel/ragel-7.0.4.tar.gz

参考:https://blog.csdn.net/lcgweb/article/details/109245528
参考:http://www.sylar.top/blog/?p=135
参考:https://www.jianshu.com/p/98a139df8e17

【关联】

当编译安装 powerdns 时,报错:checking for ragel… no