老熟女激烈的高潮_日韩一级黄色录像_亚洲1区2区3区视频_精品少妇一区二区三区在线播放_国产欧美日产久久_午夜福利精品导航凹凸

重慶分公司,新征程啟航

為企業提供網站建設、域名注冊、服務器等服務

初始化mysql數據庫提示缺少Data:dumper模塊解決方法

初始化MySQL數據庫時出現下面錯誤,原因是缺少Data:dumper模塊

創新新互聯,憑借10多年的成都網站設計、網站建設、外貿網站建設經驗,本著真心·誠心服務的企業理念服務于成都中小企業設計網站有數千家案例。做網站建設,選創新互聯建站。

[root@bogon mysql]# ./scripts/mysql_install_db --user=mysql
FATAL ERROR: please install the following Perl modules before executing ./scripts/mysql_install_db:
Data::Dumper

解決方法 :安裝autoconf庫

命令:yum -y install autoconf   //此包安裝時會安裝Data:Dumper模塊

[root@bogon mysql]# yum -y install autoconf
已加載插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.bit.edu.cn
 * extras: mirror.bit.edu.cn
 * updates: mirror.bit.edu.cn
正在解決依賴關系
--> 正在檢查事務
---> 軟件包 autoconf.noarch.0.2.69-11.el7 將被 安裝
--> 正在處理依賴關系 m4 >= 1.4.14,它被軟件包 autoconf-2.69-11.el7.noarch 需要
--> 正在處理依賴關系 perl(Data::Dumper),它被軟件包 autoconf-2.69-11.el7.noarch 需要
--> 正在檢查事務
---> 軟件包 m4.x86_64.0.1.4.16-10.el7 將被 安裝
---> 軟件包 perl-Data-Dumper.x86_64.0.2.145-3.el7 將被 安裝
--> 解決依賴關系完成

依賴關系解決

================================================================================================================================
 Package                             架構                      版本                               源                       大小
================================================================================================================================
正在安裝:
 autoconf                            noarch                    2.69-11.el7                        base                    701 k
為依賴而安裝:
 m4                                  x86_64                    1.4.16-10.el7                      base                    256 k
 perl-Data-Dumper                    x86_64                    2.145-3.el7                        base                     47 k

事務概要
================================================================================================================================
安裝  1 軟件包 (+2 依賴軟件包)

總下載量:1.0 M
安裝大?。?.8 M
Downloading packages:
(1/3): perl-Data-Dumper-2.145-3.el7.x86_64.rpm                                                           |  47 kB  00:00:00     
(2/3): autoconf-2.69-11.el7.noarch.rpm                                                                   | 701 kB  00:00:00     
(3/3): m4-1.4.16-10.el7.x86_64.rpm                                                                       | 256 kB  00:00:02     
--------------------------------------------------------------------------------------------------------------------------------
總計                                                                                            455 kB/s | 1.0 MB  00:00:02     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安裝    : m4-1.4.16-10.el7.x86_64                                                                                     1/3 
  正在安裝    : perl-Data-Dumper-2.145-3.el7.x86_64                                                                         2/3 
  正在安裝    : autoconf-2.69-11.el7.noarch                                                                                 3/3 
  驗證中      : perl-Data-Dumper-2.145-3.el7.x86_64                                                                         1/3 
  驗證中      : m4-1.4.16-10.el7.x86_64                                                                                     2/3 
  驗證中      : autoconf-2.69-11.el7.noarch                                                                                 3/3 

已安裝:
  autoconf.noarch 0:2.69-11.el7                                                                                                 

作為依賴被安裝:
  m4.x86_64 0:1.4.16-10.el7                                perl-Data-Dumper.x86_64 0:2.145-3.el7                               

完畢!

安裝完autoconf庫,再運行./scripts/mysql_install_db --user=mysql,問題消失?。。?/p>

------------------------------------------------------------

下面再備上源碼安裝autoconf

下載地址:http://ftp.gnu.org/gnu/autoconf/

我這里選擇的是2.69版本下載http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz

[root@bogon liuzhen]# tar -zxvf autoconf-2.69.tar.gz
[root@bogon liuzhen]# cd autoconf-2.69
[root@bogon autoconf-2.69]# ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: autobuild project... GNU Autoconf
configure: autobuild revision... 2.69
configure: autobuild hostname... bogon
configure: autobuild timestamp... 20170115T063135Z
checking whether /bin/sh -n is known to work... yes
checking for characters that cannot appear in file names... none
checking whether directories can have trailing spaces... yes
checking for expr... /usr/bin/expr
checking for GNU M4 that supports accurate traces... configure: error: no acceptable m4 could be found in $PATH.
GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.
GNU M4 1.4.15 uses a buggy replacement strstr on some systems.
Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.

執行./configure時出現下面錯誤: 

checking for GNU M4 that supports accurate traces... configure: error: no acceptable m4 could be found in $PATH.

GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.

原因是需要安裝M4

打開m4下載地址:

http://ftp.gnu.org/gnu/m4/

我這里下載的是最新版本http://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.gz

[root@bogon liuzhen]# tar -zxvf m4-1.4.18.tar.gz
[root@bogon liuzhen]# cd m4-1.4.18
[root@bogon m4-1.4.18]# ./configure
[root@bogon m4-1.4.18]# make
[root@bogon m4-1.4.18]# make install

m4安裝完成之后再次執行再次切換到autoconf目錄繼續安裝

[root@bogon liuzhen]# cd autoconf-2.69
[root@bogon autoconf-2.69]# ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: autobuild project... GNU Autoconf
configure: autobuild revision... 2.69
configure: autobuild hostname... bogon
configure: autobuild timestamp... 20170115T064711Z
checking whether /bin/sh -n is known to work... yes
checking for characters that cannot appear in file names... none
checking whether directories can have trailing spaces... yes
checking for expr... /usr/bin/expr
checking for GNU M4 that supports accurate traces... /usr/local/bin/m4
checking whether /usr/local/bin/m4 accepts --gnu... yes
checking how m4 supports trace files... --debugfile
checking for perl... no
configure: error: perl is not found

發現了新的錯誤:

checking for perl... no

configure: error: perl is not found

是因為沒有安裝perl

可以快速yum安裝,也可以向下看源碼安裝

[root@bogon liuzhen]# yum -y install perl perl-devel

下載地址:https://www.perl.org/get.html

源碼包地址:http://www.cpan.org/src/5.0/perl-5.24.0.tar.gz

[root@bogon liuzhen]# tar -zxvf perl-5.24.0.tar.gz
[root@bogon liuzhen]# cd perl-5.24.0
[root@bogon perl-5.24.0]# ./Configure
[root@bogon perl-5.24.0]# make
[root@bogon perl-5.24.0]# make install

perl安裝完成之后再次執行再次切換到autoconf目錄繼續安裝

[root@bogon liuzhen]# cd autoconf-2.69
[root@bogon autoconf-2.69]# ./configure 
[root@bogon autoconf-2.69]# make
[root@bogon autoconf-2.69]# make install

至此autoconf通過源碼方式安裝完成


分享題目:初始化mysql數據庫提示缺少Data:dumper模塊解決方法
文章位置:http://www.xueling.net.cn/article/gosoie.html

其他資訊

在線咨詢
服務熱線
服務熱線:028-86922220
TOP
主站蜘蛛池模板: 中文字幕佐山爱一区二区免费 | 日本黄色播放 | 成年人国产精品 | 亚洲精品美女久久久 | 久久精品国产99精品最新 | 羞羞影院午夜男女爽爽 | 国产一区二区日本欧美精品久久久 | 视频在线?看91 | 久久久久久综合 | 在线观看小视频 | 俺去俺来也www色官网 | 欧美精品欧美精品系列c | 538国产精品视频一区二区 | 国产成人私拍pans大尺度 | 超级碰碰青草免费视频 | 国产综合第一页 | 国产精品白丝喷水娇喘视频 | 在教室伦流澡到高潮H强圩动漫 | 护士被强女千到高潮视频 | av在线观看网站 | 欧美精品乱码99久久蜜桃 | 夜夜爽www一区二区三区精品 | 日韩一区二区三 | 熟妇人妻中文a∨无码 | 中文字幕日韩精品在线观看 | 中文字幕最新 | 久久久av大桥未久一区二区 | 蜜臀AV色欲A片无码精品一区 | 国产激情久久久久影院老熟女免费 | 亚洲领先的自拍视频网站 | 日韩色情一区二区无码AV | av成人动漫 | 粉嫩饱饱鱼一线天在线观看 | AV无码精品一区二区三区 | 国产乱子伦免费视频观看 | 精品国精品自拍自在线 | 无码视频免费一区二区 | 久久东京 | 成人免费在线播放 | 久久久久久久亚洲国产精品87 | 五月天综合婷婷欧美专区 |