zoukankan      html  css  js  c++  java
  • CentOS 8 安装 oniguruma 和 oniguruma-devel

    一,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) 
  • 相关阅读:
    Fluxbox 1.0 RC 2
    Cairo 1.2.0
    Transmission 0.6.1
    Xara LX Xtreme 0.5 Rev1175
    Totem 1.4.2
    ImageMagick 6.2.81
    恢复 Firefox 和 Thunderbird 图标
    Conky 1.4.2
    BitTorrent 4.20.0
    Geany 疾速简便的集成启示情况
  • 原文地址:https://www.cnblogs.com/architectforest/p/12433640.html
Copyright © 2011-2022 走看看