LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 998|回复: 5

安装桌面小程序总是失败,内帖message,请帮忙看看什么毛病,谢谢!

[复制链接]
发表于 2009-1-4 14:46:36 | 显示全部楼层 |阅读模式
www.kde-look.org下载的桌面小程序,解压后按照readme进行安装,不管什么程序,每次都是一样的问题。
一到CMAKE就报错:
---------------------------------------

[color="Navy"]cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` --debug-output ..
Running with debug output on.
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:84 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /root/.kde4/share/apps;/usr/share/kde4/apps;/etc/kde4/share/apps
Call Stack (most recent call first):
  CMakeLists.txt:7 (find_package)


   Called from: [2]     /usr/share/cmake/Modules/FindKDE4.cmake
                [1]     /root/soft/plasma-weatherforecast-0.5/CMakeLists.txt
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.

   Called from: [1]     /root/soft/plasma-weatherforecast-0.5/CMakeLists.txt
-- Configuring incomplete, errors occurred!



--------------------------------------
这是什么问题阿?谢谢!
 楼主| 发表于 2009-1-5 14:38:05 | 显示全部楼层
没人知道么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-6 09:28:03 | 显示全部楼层
继续等待答案,谢谢!
回复 支持 反对

使用道具 举报

发表于 2009-1-6 20:40:34 | 显示全部楼层
修改configure的cmake -DCMAKE_INSTALL_PREFIX=这一行:
去掉: --debug-output
加上:-Wno-dev
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-7 11:26:00 | 显示全部楼层
恩,仔细看了log,确实是楼上说的那样,非常感谢你的帮助。
不过最终我还是选择了google的侧边栏工具。

谢谢你!
回复 支持 反对

使用道具 举报

发表于 2009-3-24 12:01:56 | 显示全部楼层
Post by ggghai;1934986
修改configure的cmake -DCMAKE_INSTALL_PREFIX=这一行:
去掉: --debug-output
加上:-Wno-dev


是在哪个文档里改啊!!!!我也遇到这样的问题,可我不知道你说的那一行在哪个文档里!!!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表