构建令人敬畏的WM,缺少依赖关系
试图在11.04编译Awesome Window Manager,我已经完成了apt-get build-dep非常棒但仍然遇到缺少依赖关系的错误:
$ make 正在运行cmake ...... - 猫 - > / bin / cat - ln - > / bin / ln - grep - > / bin / grep - git - > / usr / bin / git - hostname - > / bin / hostname - asciidoc - > / usr / bin / asciidoc - xmlto - > / usr / bin / xmlto - gzip - > / bin / gzip - lua - > / usr / bin / lua - luadoc - > / usr / bin / luadoc - 转换 - > / usr / bin / convert - 检查模块'glib-2.0; cairo; x11; oocairo; oopango; xcb-randr; xcb-xtest; xcb-xinerama; xcb-util> = 0.3.8; xcb-keysyms> = 0.3.4; xcb- ICCCM> = 0.3.8; XCB图像> = 0.3.0;开罗-XCB; libstartup通知-1.0> = 0.10; xproto> = 7.0.15; libxdg-BASEDIR> = 1.0.0' - 找不到包'oocairo' - 找不到包'oopango' - 找不到包'xcb-util> = 0.3.8' - 找不到包'xcb-icccm> = 0.3.8' /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266中的CMake错误(消息): 找不到所需的包裹
我没有在回购中看到这些库的任何迹象。
我尝试了http://ubuntuforums.org/showthread.php?t=960841上的说明,但也失败了:
$ cd util && ./autogen.sh && make && sudo make install autoreconf:输入目录`。' autoreconf:configure.ac:不使用Gettext autoreconf:running:aclocal -I m4 autoreconf:configure.ac:tracing autoreconf:configure.ac:不使用Libtool autoreconf:running:/ usr / bin / autoconf autoreconf:configure.ac:not使用Autoheader autoreconf:running:automake --add-missing --copy --no-force configure.ac:5:安装`./install-sh'configure.ac:5:安装`./missing'src / Makefile。 am:1:使用Libtool库但是'LIBTOOL'未定义src / Makefile.am:1:定义`LIBTOOL'的常用方法是将`AC_PROG_LIBTOOL'src / Makefile.am:1:添加到`configure.ac'和再次运行`aclocal'和`autoconf'。 src / Makefile.am:1:如果`AC_PROG_LIBTOOL'在`configure.ac'中,请确保src / Makefile.am:1:它的定义在aclocal的搜索路径中。 src / Makefile.am:安装`./depcomp'src / Makefile.am:13:使用`xcbinclude_HEADERS',但是'xcbincludedir'未定义Makefile.am:6:`pkgconfig_DATA'但是`pkgconfigdir'未定义autoreconf: automake因退出状态失败:1
我需要做什么才能编译?
看起来你需要安装libxcb-icccm1-dev
软件包。
你不需要编译,反正像@enzotib说的那样,你只应该这样做
apt-get source
只是用
sudo aptitude install awesome
基本上,你会错过很多-dev
包。
在你的情况下,像
libxcb-util*-dev
(基于xcb-utils
报告丢失的包)
libxcb-icccmX-dev
由tdi建议,但在我的情况下是libxcb-icccm4-dev
和一些*oocairo*
和*oopango*
包(可能是-dev
)。