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

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

[求助] 升级mysql5.7.13错误 求帮助 怎么升级啊

本帖最后由 lonhowe 于 2016-6-23 05:11 编辑

mysql-5.7.12/zlib/zlib.h
mysql-5.7.12/zlib/zutil.c
mysql-5.7.12/zlib/zutil.h
mysql-5.7.12/INSTALL-SOURCE
START CONFIGURING MYSQL
make: *** No rule to make target `clean'.  Stop.
-- Running cmake version 2.8.11
-- Found Git: /usr/bin/git (found version "1.8.3.1")
-- Configuring with MAX_INDEXES = 64U
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for SHM_HUGETLB
-- Looking for SHM_HUGETLB - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void *
-- Check size of void * - done
-- SIZEOF_VOIDP 8
-- MySQL 5.7.12
-- Packaging as: mysql-5.7.12-Linux-x86_64
-- Looked for boost/version.hpp in  and
-- BOOST_INCLUDE_DIR BOOST_INCLUDE_DIR-NOTFOUND
-- LOCAL_BOOST_DIR
-- LOCAL_BOOST_ZIP
-- Could not find (the correct version of) boost.
-- MySQL currently requires boost_1_59_0

CMake Error at cmake/boost.cmake:81 (MESSAGE):
  You can download it with -DDOWNLOAD_BOOST=1 -DWITH_BOOST=<directory>

  This CMake script will look for boost in <directory>.  If it is not there,
  it will download and unpack it (in that directory) for you.

  If you are inside a firewall, you may need to use an http proxy:

  export http_proxy=http://example.com:80

Call Stack (most recent call first):
  cmake/boost.cmake:238 (COULD_NOT_FIND_BOOST)
  CMakeLists.txt:451 (INCLUDE)


-- Configuring incomplete, errors occurred!
NO! CONFIGURE ERROR! TRY AGAIN OR ASK IN THE BBS!


搞不好啦 求助

求老大帮忙啊

TOP

删除,重新下载安装
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

回复 3# admin


    老大 还是不行


START CONFIGURING MYSQL
make: *** No rule to make target `clean'.  Stop.
-- Running cmake version 2.8.10.2
-- Configuring with MAX_INDEXES = 64U
-- SIZEOF_VOIDP 8
-- MySQL 5.7.13
-- Packaging as: mysql-5.7.13-Linux-x86_64
-- Looked for boost/version.hpp in  and
-- BOOST_INCLUDE_DIR BOOST_INCLUDE_DIR-NOTFOUND
-- LOCAL_BOOST_DIR
-- LOCAL_BOOST_ZIP
-- Could not find (the correct version of) boost.
-- MySQL currently requires boost_1_59_0

CMake Error at cmake/boost.cmake:81 (MESSAGE):
  You can download it with -DDOWNLOAD_BOOST=1 -DWITH_BOOST=<directory>

  This CMake script will look for boost in <directory>.  If it is not there,
  it will download and unpack it (in that directory) for you.

  If you are inside a firewall, you may need to use an http proxy:

  export http_proxy=http://example.com:80

Call Stack (most recent call first):
  cmake/boost.cmake:238 (COULD_NOT_FIND_BOOST)
  CMakeLists.txt:451 (INCLUDE)


-- Configuring incomplete, errors occurred!
NO! CONFIGURE ERROR! TRY AGAIN OR ASK IN THE BBS!
-bash-4.2#

TOP

#!/bin/bash
# MYSQL 5.7.13 update scripts
# Author: Arefly
# Url: http://www.arefly.com

IN_DIR="/www/wdlinux"

if [ ! $1 ];then
        MYS_VER="5.7.13"
else
        MYS_VER=$1
fi

echo "THANK YOU FOR USING UPDATE SCRIPT MADE BY AREFLY.COM"
echo "YOU ARE GOING TO UPDATE YOUR MYSQL TO ${MYS_VER}"
echo "REMEMBER, YOUR PHP VERSION NEED TO BE 5.5 OR ABOVE!"
echo "YOU CAN JUST HAVE A REST"
echo "IT MAY TAKE A LOT OF TIME"
echo
#read -p "RESS ENTER IF YOU REALLY WANT TO UPDATE"
read -p "DO YOU REALLY WANT TO UPDATE? (Y/N): " yn
if [ "$yn" == "Y" ] || [ "$yn" == "y" ]; then
        echo "MYSQL IS NOW UPDATING!"
else
        exit
fi
echo
echo "-------------------------------------------------------------"
echo


if [ ! -f mysql-${MYS_VER}.tar.gz ];then
        # old: wget -c http://dl.wdlinux.cn:5180/soft/mysql-${MYS_VER}.tar.gz
        wget -c http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-${MYS_VER}.tar.gz
fi
yum install -y cmake bison libmcrypt-devel libjpeg-devel libpng-devel freetype-devel curl-devel openssl-devel libxml2-devel zip unzip
tar zxvf mysql-${MYS_VER}.tar.gz
cd mysql-${MYS_VER}
echo "START CONFIGURING MYSQL"
sleep 3
make clean
cmake -DCMAKE_INSTALL_PREFIX=$IN_DIR/mysql-$MYS_VER -DSYSCONFDIR=$IN_DIR/etc -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_SSL=bundled -DWITH_DEBUG=OFF -DWITH_EXTRA_CHARSETS=complex -DENABLED_PROFILING=ON -DWITH_MYISAM_STORAGE_ENGINE=1 -DWITH_MEMORY_STORAGE_ENGINE=1 -DENABLE_DOWNLOADS=1
[ $? != 0 ] && echo "NO! CONFIGURE ERROR! TRY AGAIN OR ASK IN THE BBS! " && exit
echo "START MAKE"
sleep 3
make
[ $? != 0 ] && echo "NO! MAKE ERROR! TRY AGAIN OR ASK IN THE BBS! " && exit
echo "START MAKE INSTALL"
sleep 3
make install
[ $? != 0 ] && echo "NO! MAKE INSTALL ERROR! TRY AGAIN OR ASK IN THE BBS! " && exit
service mysqld stop
if [ ! -d /www/wdlinux/mysql_bk ];then
mkdir -p /www/wdlinux/mysql_bk
cp -pR /www/wdlinux/mysql/data/* /www/wdlinux/mysql_bk
fi
rm -f /www/wdlinux/mysql
ln -sf $IN_DIR/mysql-$MYS_VER /www/wdlinux/mysql
sh scripts/mysql_install_db.sh --user=mysql --basedir=/www/wdlinux/mysql --datadir=/www/wdlinux/mysql/data
chown -R mysql.mysql /www/wdlinux/mysql/data
mv /www/wdlinux/mysql/data/mysql /www/wdlinux/mysql/data/mysqlo
cp -pR /www/wdlinux/mysql_bk/* /www/wdlinux/mysql/data/
cp support-files/mysql.server /www/wdlinux/init.d/mysqld
chmod 755 /www/wdlinux/init.d/mysqld
service mysqld restart
sh scripts/mysql_install_db.sh --user=mysql --basedir=/www/wdlinux/mysql --datadir=/www/wdlinux/mysql/data
echo
if [ -d /www/wdlinux/mysql-5.7.13 ];then
        ln -sf /www/wdlinux/mysql-5.7.13/lib/mysql/libmysqlclient.so.16* /usr/lib/
fi
cd ..
rm -rf mysql-${Ver}/
rm -rf mysql-${Ver}.tar.gz
sleep 2
sh /www/wdlinux/tools/mysql_wdcp_chg.sh
service mysqld restart
echo
echo "-------------------------------------------------------------"
echo "MYSQL UPDATE FINISH! "
echo "NOW YOUR MYSQL VERSION IS ${MYS_VER}!"
echo "UPDATE SCRIPT MADE BY AREFLY.COM"
echo "THANK YOU FOR USING!"
echo
echo "WDCP (C) COPYRIGHT"
echo
echo "S: I THINK YOU NEED RESTART SERVER AFTER UPDATE."
echo "S2: REMEMBER TO VISIT AREFLY.COM! "
echo

TOP

返回列表