发表于 : 2007-12-03 18:55
如果在win上能运行全套kde的软件,相信对推动kde乃至linux都有好处,而从win迁移到lin下来也会减少许多工作。
希望在win上使用的是kde套件,而不是几个孤零零的程序。
希望在win上使用的是kde套件,而不是几个孤零零的程序。
代码: 全选
de-l10n-zh_CN-3.96.0$ cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND -- broken
CMake Error: The C++ compiler "CMAKE_CXX_COMPILER-NOTFOUND" is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring done
代码: 全选
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/simon/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
-- Configuring done
呵呵,自己google出来了,需要安装kdebase-devel-kde4 这个包,failsafe 写了:cmake 提示有错误,不知道是什么原因:代码: 全选
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/simon/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps -- Configuring done
用此方法安装后,Okular不能打开带中文字的文件,即使很小的文件。英文大文件都没有问题安装不完整所致。
干脆从简吧,下载这个文件,解压到/usr/lib/kde4/share/locale下。
http://kdecn.org/test/zh_CN.tar.bz2
解压命令:tar jxvf zh_CN.tar.bz2 -C /usr/lib/kde4/share/locale/
然后可以在系统设置systemsettings里设定语言。