在红旗6.2里安装KDE4.2.1,在cmake KDELIBS时出现问题,失败了,有懂的来看看啊!!都快结束了,哎!!!
时间:2009-03-24
来源:互联网
cmakeKDELIBS失败,提示如下,难道又嫌CMAKE版本太高?没搞懂!!!
[kde-devel@localhost kdelibs]$ cmakekde
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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
CMake Error at cmake/modules/FindKDE4Internal.cmake:247 (cmake_minimum_required):
CMake 2.6.2 or higher is required. You are running version 2.6.1
Call Stack (most recent call first):
CMakeLists.txt:33 (find_package)
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.6)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
make: *** 没有指明目标并且找不到 makefile。 停止。
[kde-devel@localhost kdelibs]$ cmakekde
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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
CMake Error at cmake/modules/FindKDE4Internal.cmake:247 (cmake_minimum_required):
CMake 2.6.2 or higher is required. You are running version 2.6.1
Call Stack (most recent call first):
CMakeLists.txt:33 (find_package)
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.6)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
make: *** 没有指明目标并且找不到 makefile。 停止。
作者: lxflhy 发布时间: 2009-03-24
有懂的帮我看看阿,这段话啥意思阿,快安装结束了阿!!!!
我在网上搜到有人对类似问题的回复是
修改configure的cmake -DCMAKE_INSTALL_PREFIX=这一行:
去掉: --debug-output
加上:-Wno-dev
[http://www.linuxsir.org] 4楼
可是我找不到那句话!!!
在哪个文档里找啊!!!
我在网上搜到有人对类似问题的回复是
修改configure的cmake -DCMAKE_INSTALL_PREFIX=这一行:
去掉: --debug-output
加上:-Wno-dev
[http://www.linuxsir.org] 4楼
可是我找不到那句话!!!
在哪个文档里找啊!!!
作者: lxflhy 发布时间: 2009-03-24
引用:
作者: lxflhy
cmakeKDELIBS失败,提示如下,难道又嫌CMAKE版本太高?没搞懂!!!
CMake Error at cmake/modules/FindKDE4Internal.cmake:247 (cmake_minimum_required): CMake 2.6.2 or higher is required. You are running version 2.6.1 Call Stack (most recent call first): CMakeLists.txt:33 (find_package) |
而kde4.2.1需要2.6.2,也就是你的cmake版本太低,而不是太高,升级cmake就可以了。
PS:不是红旗用户,所以无法给出具体的升级方法。2.6.2依赖xmlrpc-c
http://xmlrpc-c.sourceforge.net/
引用:
作者: lxflhy
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.6) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. |
作者: blucidy 发布时间: 2009-03-24
我安装了2.6.2版的,那个问题解决了,但又来新问题了,下面是输出:
输出如下:
[kde-devel@localhost KDE]$ cd kdelibs
[kde-devel@localhost kdelibs]$ cmakekde
-- Found Qt-Version 4.5.0 (using /home/kde-devel/qt-copy/bin/qmake)
-- Found X11: /usr/lib/libX11.so
CMake Error at /usr/local/share/cmake-2.6/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
Did not find automoc4 (part of kdesupport). Searched for
Automoc4Config.cmake in using suffixes automoc4 lib/automoc4
lib64/automoc4. (missing: AUTOMOC4_EXECUTABLE)
Call Stack (most recent call first):
cmake/modules/FindAutomoc4.cmake:56 (find_package_handle_standard_args)
cmake/modules/FindKDE4Internal.cmake:294 (find_package)
CMakeLists.txt:33 (find_package)
-- Configuring incomplete, errors occurred!
make: *** 没有指明目标并且找不到 makefile。 停止。
是不是缺少automoc4或者版本低?
输出如下:
[kde-devel@localhost KDE]$ cd kdelibs
[kde-devel@localhost kdelibs]$ cmakekde
-- Found Qt-Version 4.5.0 (using /home/kde-devel/qt-copy/bin/qmake)
-- Found X11: /usr/lib/libX11.so
CMake Error at /usr/local/share/cmake-2.6/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
Did not find automoc4 (part of kdesupport). Searched for
Automoc4Config.cmake in using suffixes automoc4 lib/automoc4
lib64/automoc4. (missing: AUTOMOC4_EXECUTABLE)
Call Stack (most recent call first):
cmake/modules/FindAutomoc4.cmake:56 (find_package_handle_standard_args)
cmake/modules/FindKDE4Internal.cmake:294 (find_package)
CMakeLists.txt:33 (find_package)
-- Configuring incomplete, errors occurred!
make: *** 没有指明目标并且找不到 makefile。 停止。
是不是缺少automoc4或者版本低?
作者: lxflhy 发布时间: 2009-03-25
我觉得主要是这句:
CMake Error at /usr/local/share/cmake-2.6/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
Did not find automoc4 (part of kdesupport).
没有装automoc4
找个automoc-1.0装上试试
CMake Error at /usr/local/share/cmake-2.6/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
Did not find automoc4 (part of kdesupport).
没有装automoc4
找个automoc-1.0装上试试
作者: FreeOrDie 发布时间: 2009-03-25
我在网上找了个FC的rpm包,安装了,需要的依赖太多,没办法装,我又找了个automoc的源码包,好像是要用cmake编译,可我对这个不懂,如何作呢?
作者: lxflhy 发布时间: 2009-03-27
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28