在Debian和Ubuntu系统上利用apt-file查询缺失软件包 2007-03-02 18:59:35
分类: LINUX
在Debian和Ubuntu系统上利用apt-file查询缺失软件包
1、初始情况
我想大家都可能有过这样的经历:从源代码编译软件包时,编译过程会因为某个你从没听过的文件的缺失而致使编译过程终止:
root@falko-desktop:~/avant-window-navigator-0.1.1# make
make all-recursive
make[1]: Entering directory `/root/avant-window-navigator-0.1.1′
Making all in src
make[2]: Entering directory `/root/avant-window-navigator-0.1.1/src’
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/libwnck-1.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -DDATADIR=””/usr/local/share”””” -DGNOMELOCALEDIR=””””/usr/local/share/locale”””” -g -O2 -Wall -pedantic -std=c99 -fno-strict-aliasing -fmessage-length=0 -D_FORTIFY_SOURCE=2 -MT main.o -MD -MP -MF “”.deps/main.Tpo”” -c -o main.o main.c;
then mv -f “”.deps/main.Tpo”” “”.deps/main.Po””; else rm -f “”.deps/main.Tpo””; exit 1; fi
main.c:21:21: error: gtk/gtk.h: No such file or directory
In file included from main.c:25:
awn-gconf.h:69: error: expected a)a before a*a token
In file included from main.c:26:
awn-bar.h:43: error: expected specifier-qualifier-list before aGtkWindowa
awn-bar.h:45: warning: struct has no members
awn-bar.h:48: error: expected specifier-qualifier-list before aGtkWindowClassa
awn-bar.h:49: warning: struct has no members
awn-bar.h:51: error: expected a=a
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!