一,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)

最新文章

  1. linux环境 c 中如何执行shell命令
  2. 开源免费的HTML5游戏引擎——青瓷引擎(QICI Engine) 1.0正式版发布了!
  3. 互联网中级Javascript面试题
  4. 阿里云对象存储OSS————跨域资源共享(CORS)(m3u8 无法加载m3u8:跨域访问被拒绝)
  5. Hibernate getCurrentSession()和openSession()的区别
  6. [改善Java代码]不要覆写静态方法
  7. 使用Memcached、Spring AOP构建数据库前端缓存框架
  8. [转]maven插件的开发
  9. 如何让虚拟目录里面的webconfig不继承网站的设置
  10. 基于TCP/IP的Matlab Modbus与M340 PLC通讯
  11. MVC5
  12. 特殊的string类型
  13. mysql cpu 100% 满 优化方案
  14. Core Json 序列化相关问题
  15. DataAnnotations - InverseProperty Attribute:
  16. TTL特殊门电路
  17. [LeetCode&Python] Problem 784. Letter Case Permutation
  18. 并发编程 —— 自己写一个异步回调 API
  19. 转换基于Maven的Java项目支持Eclipse IDE
  20. CPP/类/成员函数访问权限

热门文章

  1. oracle之网络
  2. [Codeforces1174B]Ehab Is an Odd Person
  3. docker报错处理集合
  4. hystrix源码之AbstractCommand
  5. asp.net core 从 3.1 到 5.0
  6. 详尽的 Elasticsearch7.X 安装及集群搭建教程
  7. 使用spring mvc拦截器 会话失效处理
  8. Java随谈(二)对空指针异常的碎碎念
  9. Helm部署和体验jenkins
  10. java版app自动化测试初始化模板