ubuntu13-04安装ibus-rime出现的问题

系统安装、升级讨论
回复
zhouylf
帖子: 36
注册时间: 2011-05-08 1:32
送出感谢: 0
接收感谢: 0

ubuntu13-04安装ibus-rime出现的问题

#1

帖子 zhouylf » 2013-05-03 19:35

参考的是这个帖子:
http://ubuntuboy.diandian.com/post/2012-05-02/18339662
前面都没啥问题,最后一步
./install.sh过不去,系统是ubuntu13-04 64位

错误信息如下,求助
=========================================================================================
:~/rimeime/ibus-rime$ sudo ./install.sh
mkdir -p build
(cd build; cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_STATIC=OFF ..)
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- filesystem
-- regex
-- signals
-- system
-- thread
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Found yaml-cpp: /usr/local/lib/libyaml-cpp.a
-- Found kyotocabinet: /usr/local/lib/libkyotocabinet.so
-- Found opencc: /usr/lib/x86_64-linux-gnu/libopencc.so
CMake Warning at CMakeLists.txt:60 (message):
X11/keysym.h not found.


-- Configuring done
-- Generating done
-- Build files have been written to: /home/username/rimeime/librime/build
make -C build
make[1]: 正在进入目录 `/home/username/rimeime/librime/build'
make[2]: 正在进入目录 `/home/username/rimeime/librime/build'
make[3]: 正在进入目录 `/home/username/rimeime/librime/build'
make[3]:正在离开目录 `/home/username/rimeime/librime/build'
make[3]: 正在进入目录 `/home/username/rimeime/librime/build'
Linking CXX shared library ../lib/librime.so
/usr/bin/ld: /usr/local/lib/libyaml-cpp.a(emitter.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libyaml-cpp.a: 无法读取符号: 错误的值
collect2: 错误: ld 返回 1
make[3]: *** [lib/librime.so.0.9.1] 错误 1
make[3]:正在离开目录 `/home/username/rimeime/librime/build'
make[2]: *** [src/CMakeFiles/rime.dir/all] 错误 2
make[2]:正在离开目录 `/home/username/rimeime/librime/build'
make[1]: *** [all] 错误 2
make[1]:正在离开目录 `/home/username/rimeime/librime/build'
make: *** [librime] 错误 2
if [ -e build ]; then rm -R build; fi
#if [ ! -e cmake ]; then ln -s ../librime/cmake; fi
mkdir -p build
(cd build; cmake .. && make)
-- The C compiler identification is GNU 4.7.3
-- The CXX compiler identification is GNU 4.7.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for module 'ibus-1.0'
-- found ibus-1.0, version 1.4.2
CMake Error at CMakeLists.txt:13 (find_package):
By not providing "FindRime.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Rime", but
CMake did not find one.

Could not find a package configuration file provided by "Rime" with any of
the following names:

RimeConfig.cmake
rime-config.cmake

Add the installation prefix of "Rime" to CMAKE_PREFIX_PATH or set
"Rime_DIR" to a directory containing one of the above files. If "Rime"
provides a separate development package or SDK, be sure it has been
installed.


-- Configuring incomplete, errors occurred!
make: *** [ibus-engine-rime] 错误 1

=================================================================================
头像
b33e
论坛版主
帖子: 3866
注册时间: 2011-06-07 14:20
系统: Mint18
送出感谢: 16 次
接收感谢: 62 次

Re: ubuntu13-04安装ibus-rime出现的问题

#2

帖子 b33e » 2013-05-03 20:33

代码: 全选

sudo apt-get install ibus-rime
zhouylf
帖子: 36
注册时间: 2011-05-08 1:32
送出感谢: 0
接收感谢: 0

Re: ubuntu13-04安装ibus-rime出现的问题

#3

帖子 zhouylf » 2013-05-11 11:45

b33e 写了:

代码: 全选

sudo apt-get install ibus-rime
谢谢解答啊,不过有点郁闷,为啥很多安装类简单问题,有的人老喜欢搞的很复杂呢
头像
xzc8825745
帖子: 622
注册时间: 2011-06-04 20:24
送出感谢: 2 次
接收感谢: 18 次
联系:

Re: ubuntu13-04安装ibus-rime出现的问题

#4

帖子 xzc8825745 » 2013-05-11 12:18

zhouylf 写了:
b33e 写了:

代码: 全选

sudo apt-get install ibus-rime
谢谢解答啊,不过有点郁闷,为啥很多安装类简单问题,有的人老喜欢搞的很复杂呢
因为12.04没有这个软件包,只能手动编译。
回复

回到 “系统安装和升级”