在centosa6.5安装mysql5.6时报错-DWITHOUT_PARTITION_STORAGE_ENGINE=0

[ 78%] Built target slave
Linking CXX executable pfs_connect_attr-t
../../../sql/libsql.a(handler.cc.o): In function `get_ha_partition(partition_info*)‘:
/data0/software/mysql-5.6.21/sql/handler.cc:460: undefined reference to `ha_partition::ha_partition(handlerton*, partition_info*)‘
/data0/software/mysql-5.6.21/sql/handler.cc:462: undefined reference to `ha_partition::initialize_partition(st_mem_root*)‘
../../../sql/libsql.a(sql_partition_admin.cc.o): In function `Sql_cmd_alter_table_truncate_partition::execute(THD*)‘:
/data0/software/mysql-5.6.21/sql/sql_partition_admin.cc:822: undefined reference to `ha_partition::truncate_partition(Alter_info*, bool*)‘
collect2: ld 返回 1
make[2]: *** [storage/perfschema/unittest/pfs_connect_attr-t] 错误 1
make[1]: *** [storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/all] 错误 2
make: *** [all] 错误 2

解决方法:

cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/software/mysql -DWITHOUT_PARTITION_STORAGE_ENGINE=0
make && make install
时间: 2024-10-29 19:08:23

在centosa6.5安装mysql5.6时报错-DWITHOUT_PARTITION_STORAGE_ENGINE=0的相关文章

php编译安装执行make时报错: make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1

php编译安装执行make时报错,报错如下: /bin/sh /root/php-5.6.31/libtool --silent --preserve-dup-deps --mode=compile cc -I/root/php-5.6.31/ext/fileinfo/libmagic -Iext/fileinfo/ -I/root/php-5.6.31/ext/fileinfo/ -DPHP_ATOM_INC -I/root/php-5.6.31/include -I/root/php-5.6

安装mysql5.6报错问题统计点

报错1(su进入mysql属组时报错): [[email protected] ~]# su - mysql Last login: Thu Aug 31 17:20:03 CST 2017 on pts/1 su: warning: cannot change directory to /home/mysql: No such file or directory -bash-4.2$ exit 解决方法: [[email protected] ~]# cd /home [[email prot

mysql5.7.12/13在安装新实例时报错:InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero

.bin/mysqld --initialize-insecure --basedir=xxx --datadir=xxx 然后 .bin/mysqld_safe --defaults-file=xxx --user=mysql & 抛错: InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file:

php安装mamcache扩展时报错

我们要将memcache作为数据库的缓存层,自然要使其结合php的,我们安装完memcache的服务端之后,需 要安装memcache的客户端,即安装memcache的扩展,以此连接php,使得memcache能够与php通信. 但是笔者在安装的时候遇到问题,使用make命令之后一直报错,显示: make: *** [memcache.lo] Error 1 在网上搜了半天,基本都说是缺少了依赖包zlib与zlib-devel,可是笔者安装之后还是不行. 后来又搜到一个解决方法,也放出来,希望可

Linux安装mysql-python库时报错解决办法

用pip安装mysql-python库的时候遇到如下报错 [email protected]:~# pip install mysql-python Collecting mysql-python Using cached MySQL-python-1.2.5.zip Complete output from command python setup.py egg_info: sh: 1: mysql_config: not found Traceback (most recent call l

记录安装SQL Server2012时报错

新系统,装完VS2019接着装Sqlsever2012,安装程序支持规则检测全部通过了(如下图),但安装进度条总是在 SQL Server Browser 时出错,提示 “帐户名与安全标识间无任何映射完成”, 打开安装失败日志得到具体原因只有四个字 “拒绝访问”. 百度关键字搜索 “Sqlserver 2012” .“帐户名与安全标识间无任何映射完成”.“拒绝访问”,按照搜索结果进行以下一系列操作. 计算机 ---> 右键 ---> 管理 ---> 本地用户和组 ---> 用户 -

Eclipse4.6安装Tomcat插件时报错:Unable to read repository at http://tomcatplugin.sf.net/update/content.xml. Received fatal alert: handshake_failure

错误如下: Unable to read repository at http://tomcatplugin.sf.net/update/content.xml.Received fatal alert: handshake_failure 由于使用的是Eclipse4.6.3,导致安装时提示不能安装此插件,解决方法如下: 1.网络问题,使用VPN. 2.挂载了VPN之后再拖动一次这个按钮到Eclipse中: 此时基本正常,按[Confirm]进行确认. 3.如果实在不行就手动安装.下面为手动安

Linux安装rpm包时报错Header V3 DSA/SHA1 Signature, key ID 1d1e034b: NOKEY解决办法

这是因为yum安装了旧版本的GPG key造成的,解决办法: rpm --import /etc/pki/rpm-gpg/RPM* Header V3 DSA/SHA1 Signature, key ID解决办法: rpm -ivh vnc-server-4.1.2-14.el5_5.4.i386.rpm --force --nodeps

CentOS7安装开发工具套件时报错解决方案

操作系统:CentOS 7.2 执行安装命令时显示以下信息: [[email protected] ~]# yum -y groupinstall "Development Tools" 已加载插件:langpacks, product-id, search-disabled-repos, subscription-manager This system is not registered to Red Hat Subscription Management. You can use