织梦CMS - 轻松建站从此开始!

沙龙国际网上娱乐-沙龙国际娱乐-沙龙国际网上娱乐官网

当前位置: 主页 > 沙龙国际365 >

centos 6.6 x86_64 安装 mysql 5.5.32出错

时间:2017-07-06 19:06来源:未知 作者:admin 点击:
安装命令如下 cmake -DCMAKE_INSTALL_PREFIX=/application/mysql-5.5.32 \-DMYSQL_DATADIR=/application/mysql-5.5.32/data \-DMYSQL_UNIX_ADDR=/application/mysql-5.5.32/tmp/mysql.sock \-DDEFAULT_CHARSET=utf8 \-DDEFAULT_COLLATION=utf8_general_

安装命令如下

cmake -DCMAKE_INSTALL_PREFIX=/application/mysql-5.5.32 \
-DMYSQL_DATADIR=/application/mysql-5.5.32/data \
-DMYSQL_UNIX_ADDR=/application/mysql-5.5.32/tmp/mysql.sock \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci \
-DEXTRA_CHARSETS=gbk,gb2312,utf8,ascii \
-DENABLED_LOCAL_INFILE=ON \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_FEDERATED_STORAGE_ENGINE=1 \
-DWITH_BLACKHOLE_STORAGE_ENGINE=1 \
-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \
-DWITH_FAST_MUTEXES=1 \
-DWITH_ZLIB=bundled \
-DENABLED_LOCAL_INFILE=1 \
-DWITH_READLINE=1 \
-DWITH_EMBEDDED_SERVER=1 \
-DWITH_DEBUG=0 \
-DWITHOUT_PARTITION_STORAGE_ENGINE=1 \ 
-DWITH_MYISAM_STORAGE_ENGINE=1 \
-DWITH_ARCHIVE_STORAGE_ENGINE=1 \
-DENABLED_LOCAL_INFILE=1 \
-DEXTRA_CHARSETS=all

出错代码如下

Linking CXX static library libsql.a
[ 84%] Built target sql
Scanning dependencies of target explain_filename-t
[ 84%] Building CXX object unittest/mysys/CMakeFiles/explain_filename-t.dir/explain_filename-t.cc.o
Linking CXX executable explain_filename-t
../../sql/libsql.a(handler.cc.o): In function `get_ha_partition(partition_info*)':
/root/download/mysql-5.5.32/sql/handler.cc:347: undefined reference to `ha_partition::ha_partition(handlerton*, partition_info*)'
/root/download/mysql-5.5.32/sql/handler.cc:349: undefined reference to `ha_partition::initialize_partition(st_mem_root*)'
../../sql/libsql.a(sql_partition_admin.cc.o): In function `Alter_table_truncate_partition_statement::execute(THD*)':
/root/download/mysql-5.5.32/sql/sql_partition_admin.cc:167: undefined reference to `ha_partition::truncate_partition(Alter_info*, bool*)'
collect2: ld returned 1 exit status
make[2]: *** [unittest/mysys/explain_filename-t] Error 1
make[1]: *** [unittest/mysys/CMakeFiles/explain_filename-t.dir/all] Error 2
make: *** [all] Error 2

织梦二维码生成器
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:点击我更换图片
栏目列表
推荐内容