CentOS 8 安装 oniguruma 和 oniguruma-devel
2024-08-31 05:29:49
一,oniguruma是什么?
oniguruma是一个处理正则表达式的库,我们之所以需要安装它,
是因为在安装php7.4的过程中,mbstring的正则表达式处理功能对这个包有依赖性,
所以我们要先安装这个库
说明:刘宏缔的架构森林是一个专注架构的博客,地址:https://www.cnblogs.com/architectforest
对应的源码可以访问这里获取: https://github.com/liuhongdi/
说明:作者:刘宏缔 邮箱: 371125307@qq.com
二,下载
[root@yjweb source]# wget https://github.com/kkos/oniguruma/archive/v6.9.4.tar.gz -O oniguruma-6.9.4.tar.gz
三,解压
[root@yjweb source]# tar -zxvf oniguruma-6.9.4.tar.gz
[root@yjweb source]# cd oniguruma-6.9.4/
四,配置与安装
[root@yjweb oniguruma-6.9.4]# ./autogen.sh && ./configure --prefix=/usr
[root@yjweb oniguruma-6.9.4]# make && make install
五,安装过程中遇到报错的处理
报错:
[root@yjweb oniguruma-6.9.4]# ./autogen.sh && ./configure --prefix=/usr
Generating autotools files.
./autogen.sh: line 6: autoreconf: command not found
解决:
[root@yjweb oniguruma-6.9.4]# yum install autoconf automake libtool
六,查看本地centos的版本
[webop@yjweb ~]$ cat /etc/redhat-release
CentOS Linux release 8.0.1905 (Core)
最新文章
- linux环境 c 中如何执行shell命令
- 开源免费的HTML5游戏引擎——青瓷引擎(QICI Engine) 1.0正式版发布了!
- 互联网中级Javascript面试题
- 阿里云对象存储OSS————跨域资源共享(CORS)(m3u8 无法加载m3u8:跨域访问被拒绝)
- Hibernate getCurrentSession()和openSession()的区别
- [改善Java代码]不要覆写静态方法
- 使用Memcached、Spring AOP构建数据库前端缓存框架
- [转]maven插件的开发
- 如何让虚拟目录里面的webconfig不继承网站的设置
- 基于TCP/IP的Matlab Modbus与M340 PLC通讯
- MVC5
- 特殊的string类型
- mysql cpu 100% 满 优化方案
- Core Json 序列化相关问题
- DataAnnotations - InverseProperty Attribute:
- TTL特殊门电路
- [LeetCode&;Python] Problem 784. Letter Case Permutation
- 并发编程 —— 自己写一个异步回调 API
- 转换基于Maven的Java项目支持Eclipse IDE
- CPP/类/成员函数访问权限