dell inspiron B130适合安什么linux系统
时间:2011-12-23
来源:互联网
紧急求助(都是用源码编译的):
我先编译了cmake软件包,然后想用cmake来编译mysql,编译步骤是这样的:
cmake -DCMAKE_INSTALL_PREFIX=/iCSP/res/mysql \
-DMYSQL_UNIX_ADDR=/tmp/mysql.sock \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci \
-DWITH_EXTRA_CHARSETS:STRING=utf8,gbk \
-DWITH_MYISAM_STORAGE_ENGINE=1 \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_MEMORY_STORAGE_ENGINE=1 \
-DWITH_READLINE=1 \
-DENABLED_LOCAL_INFILE=1 \
-DMYSQL_DATADIR=/var/mysql/data \
-DMYSQL_USER=mysql
但是一按回车就出现以下问题了,不知道坛里哪位大侠知道能不能有办法解决,先谢谢了
CMake Error at CMakeLists.txt:493 (INCLUDE):
include could not find load file:
/pkg/mysql/Tests/CMakeInstall.cmake
CMake Error at CMakeLists.txt:497 (INCLUDE):
include could not find load file:
CompileFlags.cmake
CMake Error at CMakeLists.txt:228 (ADD_SUBDIRECTORY):
add_subdirectory given source "Source/kwsys" which is not an existing
directory.
Call Stack (most recent call first):
CMakeLists.txt:522 (CMAKE_BUILD_UTILITIES)
CMake Error: File /pkg/mysql/cmake_uninstall.cmake.in does not exist.
CMake Error at CMakeLists.txt:577 (CONFIGURE_FILE):
configure_file Problem configuring file
CMake Error at CMakeLists.txt:584 (INCLUDE):
include could not find load file:
CMakeCPack.cmake
CMake Error: File /pkg/mysql/Templates/CTestScript.cmake.in does not exist.
CMake Error at CMakeLists.txt:160 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:587 (CMAKE_SETUP_TESTING)
CMake Error: File /pkg/mysql/DartLocal.conf.in does not exist.
CMake Error at CMakeLists.txt:588 (CONFIGURE_FILE):
configure_file Problem configuring file
CMake Error at CMakeLists.txt:599 (ADD_SUBDIRECTORY):
add_subdirectory given source "Source" which is not an existing directory.
CMake Error at CMakeLists.txt:600 (ADD_SUBDIRECTORY):
add_subdirectory given source "Utilities" which is not an existing
directory.
CMake Error at CMakeLists.txt:601 (ADD_SUBDIRECTORY):
add_subdirectory given source "Tests" which is not an existing directory.
-- Configuring incomplete, errors occurred!
我先编译了cmake软件包,然后想用cmake来编译mysql,编译步骤是这样的:
cmake -DCMAKE_INSTALL_PREFIX=/iCSP/res/mysql \
-DMYSQL_UNIX_ADDR=/tmp/mysql.sock \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci \
-DWITH_EXTRA_CHARSETS:STRING=utf8,gbk \
-DWITH_MYISAM_STORAGE_ENGINE=1 \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_MEMORY_STORAGE_ENGINE=1 \
-DWITH_READLINE=1 \
-DENABLED_LOCAL_INFILE=1 \
-DMYSQL_DATADIR=/var/mysql/data \
-DMYSQL_USER=mysql
但是一按回车就出现以下问题了,不知道坛里哪位大侠知道能不能有办法解决,先谢谢了
CMake Error at CMakeLists.txt:493 (INCLUDE):
include could not find load file:
/pkg/mysql/Tests/CMakeInstall.cmake
CMake Error at CMakeLists.txt:497 (INCLUDE):
include could not find load file:
CompileFlags.cmake
CMake Error at CMakeLists.txt:228 (ADD_SUBDIRECTORY):
add_subdirectory given source "Source/kwsys" which is not an existing
directory.
Call Stack (most recent call first):
CMakeLists.txt:522 (CMAKE_BUILD_UTILITIES)
CMake Error: File /pkg/mysql/cmake_uninstall.cmake.in does not exist.
CMake Error at CMakeLists.txt:577 (CONFIGURE_FILE):
configure_file Problem configuring file
CMake Error at CMakeLists.txt:584 (INCLUDE):
include could not find load file:
CMakeCPack.cmake
CMake Error: File /pkg/mysql/Templates/CTestScript.cmake.in does not exist.
CMake Error at CMakeLists.txt:160 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:587 (CMAKE_SETUP_TESTING)
CMake Error: File /pkg/mysql/DartLocal.conf.in does not exist.
CMake Error at CMakeLists.txt:588 (CONFIGURE_FILE):
configure_file Problem configuring file
CMake Error at CMakeLists.txt:599 (ADD_SUBDIRECTORY):
add_subdirectory given source "Source" which is not an existing directory.
CMake Error at CMakeLists.txt:600 (ADD_SUBDIRECTORY):
add_subdirectory given source "Utilities" which is not an existing
directory.
CMake Error at CMakeLists.txt:601 (ADD_SUBDIRECTORY):
add_subdirectory given source "Tests" which is not an existing directory.
-- Configuring incomplete, errors occurred!
作者: mswwjick 发布时间: 2011-12-23




作者: mswwjick 发布时间: 2011-12-23
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28