我从 0.26 版本获得坎培拉图书馆网站,运行make
给出:
make[2]: *** No rule to make target `README', needed by `all-am'. Stop.
make[2]: Leaving directory `/home/wena/src/gnome/libcanberra-0.26/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wena/src/gnome/libcanberra-0.26'
make: *** [all] Error 2
输出./configure
:
prefix: /usr/local
sysconfdir: ${prefix}/etc
localstatedir: ${prefix}/var
Compiler: gcc -std=gnu99
CFLAGS: -g -O2 -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -fno-strict-aliasing
C++-Compiler: g++
CXXFLAGS: -g -O2
Builtin DSO: yes
Enable PulseAudio: yes
Builtin PulseAudio: no
Enable ALSA: yes
Builtin ALSA: no
Enable OSS: yes
Builtin OSS: no
Enable GStreamer: yes
Builtin GStreamer: no
Enable Null Output: yes
Builtin Null Output: no
Enable tdb: no
Enable lookup cache: no
Enable GTK+: yes
GTK Modules Directory: ${exec_prefix}/lib/gtk-2.0/modules
Enable GTK3+: yes
GTK3 Modules Directory: ${exec_prefix}/lib/gtk-3.0/modules
更新:我不再遇到这个问题,也不知道如何解决它。
答案1
你可能错过了GTK-文档生成文档的工具。
找出这些依赖关系的一种方法是查看发行版如何构建包。例如关于德班, 在debian/control
,依赖项(除了 Debian 特定的东西)是
m4、libltdl-dev | libltdl7-dev (>= 2.2.6)、libasound2-dev、libvorbis-dev、libgtk2.0-dev (>= 2.20)、tdb-dev (> 1.1)、gtk-doc-tools、libpulse-dev (>= 0.9.11), libgstreamer0.10-dev (>= 0.10.15)