如何编译指标终端?失败并显示“未找到所需包”消息

如何编译指标终端?失败并显示“未找到所需包”消息

我正在尝试从启动板编译该包:https://code.launchpad.net/~tombeckmann/+junk/indicator-terminal

我安装了 valac,因为该软件包中有一些 vala 代码。还有 CMake,因为有一个 CMakeList.txt,我用 bzr 下载了代码,并尝试用 cmake 进行编译:

biel@C3PO:~$ bzr branch lp:~tombeckmann/+junk/indicator-terminal
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
Branched 1 revision.                                                          
biel@C3PO:~$ cd indicator-terminal
biel@C3PO:~/indicator-terminal$ cmake CMakeLists.txt
-- 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
-- checking for modules 'granite;indicator3-0.4;keybinder-3.0;vte-2.90'
--   package 'granite' not found
--   package 'indicator3-0.4' not found
--   package 'keybinder-3.0' not found
--   package 'vte-2.90' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  CMakeLists.txt:39 (pkg_check_modules)



-- Found Vala: /usr/bin/valac 
-- checking for a minimum Vala version of 0.16.1
--   found Vala, version 0.20.1
CMake Error at CMakeLists.txt:76 (install):
  install TARGETS given no LIBRARY DESTINATION for shared library target
  "indicator-terminal".


-- Configuring incomplete, errors occurred!

我正在使用 Ubuntu 12.04。

答案1

您必须安装以下软件包:

sudo apt-get install pkg-config libgranite-dev libindicator3-dev libkeybinder-3.0-dev libvte-2.90-dev

这些是来自构建日志

相关内容