无标题文档
wdCP系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdCDN系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
wdOS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdDNS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
注册 发贴 提问 回复-必看必看 wddns免费智能 DNS 开通 本地或虚拟机使 用wdcp 一键包在mysql编 译时"卡住"
【300G高防】双线 无视攻击 wdcp官方技术支持/服务 阿里云8折优惠券 无敌云 腾讯云优惠中,现注册更有260代金额券赠送
返回列表 发帖
提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等

温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的

[求助] wdCP最新版安装innodb出错

本帖最后由 3767b7f 于 2017-3-11 23:54 编辑

如题,wdcp是最新版的,当前版本: wdCP v3.0.8 最新 v3.0.8,参照这个帖子:
http://www.wdlinux.cn/bbs/viewth ... mp;highlight=innodb
修改了脚本当中的下载地址为管理员说的:wget -c http://dl.wdlinux.cn/files/mysql/${M_ver}.tar.gz 下载下来后还是报错,如下:
--2017-03-11 23:27:06--  http://dl.wdlinux.cn/files/mysql/mysql-5.6.35.tar.gz
Resolving dl.wdlinux.cn... 222.186.61.177
Connecting to dl.wdlinux.cn|222.186.61.177|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 32167628 (31M), 32162731 (31M) remaining [application/x-gzip]
Saving to: “mysql-5.6.35.tar.gz”

100%[=============================================================================>] 32,167,628  3.44M/s   in 9.0s   

2017-03-11 23:27:15 (3.39 MB/s) - “mysql-5.6.35.tar.gz” saved [32167628/32167628]


gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
./mysql_innodb_ins.sh: line 23: cd: mysql-5.6.35: No such file or directory
./mysql_innodb_ins.sh: line 46: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
希望管理员或者是知道的,给个解答,谢谢.
==========补充===========
我删除了 /tmp 目录下的那个MySQL压缩包,然后重新运行脚本,倒是编译了,但是编译出错:
mysql_innodb_ins.sh: line 46: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
=======补充==============
删除了 /tmp 目录下的所有文件,再次重新使用脚本,结果还是编译出错,
下面是脚本内容:
  1. #!/bin/bash
  2. # mysql innodb install scripts
  3. # Author:wdlinux
  4. # Url http://www.wdlinux.cn

  5. if [ ! -f /usr/bin/gcc ];then
  6. fi

  7. M_ver=`readlink /www/wdlinux/mysql | awk -F"/" '{print $4}'`

  8. if [ -d /root/lanmp/$M_ver ];then
  9.         cd /root/lanmp/$M_ver
  10.         make clean
  11. elif [ -f /root/lanmp/${M_ver}.tar.gz ];then
  12.         cd /root/lanmp
  13.         tar zxvf ${M_ver}.tar.gz
  14.         cd $M_ver
  15. else
  16.         cd /tmp
  17.         wget -c http://dl.wdlinux.cn/files/mysql/${M_ver}.tar.gz
  18.         tar zxvf ${M_ver}.tar.gz
  19.         cd $M_ver
  20. fi
  21. if grep -i 'ubuntu' /etc/issue;then
  22.         if [ -f /usr/lib/x86_64-linux-gnu/libncurses.so ];then
  23.                 #LIBNCU="/usr/lib/x86_64-linux-gnu/libncurses.so"
  24.                 LIBNCU=""
  25.         elif [ -f /usr/lib/i386-linux-gnu/libncurses.so ];then
  26.                 #LIBNCU="/usr/lib/i386-linux-gnu/libncurses.so"
  27.                 LIBNCU=""
  28.         else
  29.                 LIBNCU=""
  30.         fi
  31.         else
  32.         if [ -f /usr/lib64/libncursesw.so ];then
  33.                 LIBNCU="--with-named-curses-libs=/usr/lib64/libncursesw.so"
  34.         elif [ -f /usr/lib/libncursesw.so ];then
  35.                 LIBNCU="--with-named-curses-libs=/usr/lib/libncursesw.so"
  36.         else
  37.                 LIBNCU=""
  38.         fi
  39. fi
  40. IN_DIR="/www/wdlinux"
  41. ./configure \
  42.         --prefix=$IN_DIR/$M_ver \
  43.         --sysconfdir=$IN_DIR/etc \
  44.         --enable-assembler \
  45.         --enable-thread-safe-client \
  46.         --with-extra-charsets=complex \
  47.         --with-ssl \
  48.         --with-embedded-server \
  49.         --with-plugins=innobase,innodb_plugin
  50. make
  51. [ $? != 0 ] && exit
  52. service mysqld stop
  53. make install
  54. cp /www/wdlinux/etc/my.cnf /www/wdlinux/etc/my.cnf.old
  55. cp -f support-files/my-medium.cnf /www/wdlinux/etc/my.cnf
  56. service mysqld start
  57. echo
  58. echo "mysql innodb install is OK"
  59. echo
复制代码
报错内容为:
./mysql_innodb_ins.sh: line 46: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
希望管理员看见了,能够解惑,谢谢!@admin

没人么....好伤
3767b7f

TOP

返回列表