各位大佬,我先对tilda进行了编译
[root@localhost tilda-0.9.6]# ./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /bin/msgfmt
checking for gmsgfmt... /bin/msgfmt
checking for xgettext... /bin/xgettext
checking for msgmerge... /bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... configure: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:No package 'gtk+-2.0' foundConsider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
但是提示没有找到包,在安装了包后我又进行编译,结果
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /bin/msgfmt
checking for gmsgfmt... /bin/msgfmt
checking for xgettext... /bin/xgettext
checking for msgmerge... /bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking for GTHREAD... yes
checking for LIBGLADE... yes
checking for VTE... configure: error: Package requirements (vte) were not met:No package 'vte' foundConsider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.Alternatively, you may set the environment variables VTE_CFLAGS
and VTE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
可是又提示没有包
在找到包后编译,输入make命令又跳出如下报错。。
[root@localhost confuse-2.6]# make
make  all-recursive
make[1]: 进入目录“/home/ZJH/tools/confuse-2.6”
Making all in m4
make[2]: 进入目录“/home/ZJH/tools/confuse-2.6/m4”
make[2]: 对“all”无需做任何事。
make[2]: 离开目录“/home/ZJH/tools/confuse-2.6/m4”
Making all in po
make[2]: 进入目录“/home/ZJH/tools/confuse-2.6/po”
make[2]: 对“all”无需做任何事。
make[2]: 离开目录“/home/ZJH/tools/confuse-2.6/po”
Making all in src
make[2]: 进入目录“/home/ZJH/tools/confuse-2.6/src”
if /bin/sh ../libtool --mode=compile gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..    -Wall -Werror -g -O2 -MT confuse.lo -MD -MP -MF ".deps/confuse.Tpo" -c -o confuse.lo confuse.c; \
then mv -f ".deps/confuse.Tpo" ".deps/confuse.Plo"; else rm -f ".deps/confuse.Tpo"; exit 1; fi
 gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror -g -O2 -MT confuse.lo -MD -MP -MF .deps/confuse.Tpo -c confuse.c -o confuse.o
if /bin/sh ../libtool --mode=compile gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..    -Wall -Werror -g -O2 -MT lexer.lo -MD -MP -MF ".deps/lexer.Tpo" -c -o lexer.lo lexer.c; \
then mv -f ".deps/lexer.Tpo" ".deps/lexer.Plo"; else rm -f ".deps/lexer.Tpo"; exit 1; fi
 gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror -g -O2 -MT lexer.lo -MD -MP -MF .deps/lexer.Tpo -c lexer.c -o lexer.o
lexer.c:1582:16: error: 'input' defined but not used [-Werror=unused-function]
     static int input  (void)
                ^
cc1: all warnings being treated as errors
make[2]: *** [lexer.lo] 错误 1
make[2]: 离开目录“/home/ZJH/tools/confuse-2.6/src”
make[1]: *** [all-recursive] 错误 1
make[1]: 离开目录“/home/ZJH/tools/confuse-2.6”
make: *** [all] 错误 2
[root@localhost confuse-2.6]# ./configure --prefux=/usr
configure: error: unrecognized option: --prefux=/usr
Try `./configure --help' for more information.这是在安装confuse时的错误
在安装vte时又出现下面的错误
checking for glib-2.0 gobject-2.0 gdk-pixbuf-2.0 gtk+-2.0 pangox fontconfig xft... Package pangox was not found in the pkg-config search path. Perhaps you should add the directory containing `pangox.pc' to the PKG_CONFIG_PATH environment variable No package 'pangox' found
configure: error: Library requirements (glib-2.0 gobject-2.0 gdk-pixbuf-2.0 gtk+-2.0 pangox fontconfig xft) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
[root@localhost vte-0.10.5]# yum install glib-2.0 gobject-2.0 gdk-pixbuf-2.0 gtk+-2.0 pangox fontconfig xft
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.ustc.edu.cn
 * epel: fedora.cs.nctu.edu.tw
 * extras: centos.ustc.edu.cn
 * updates: centos.ustc.edu.cn
没有可用软件包 glib-2.0。
没有可用软件包 gobject-2.0。
没有可用软件包 gdk-pixbuf-2.0。
没有可用软件包 gtk+-2.0。
没有可用软件包 pangox。
软件包 fontconfig-2.13.0-4.3.el7.x86_64 已安装并且是最新版本
没有可用软件包 xft。
无须任何处理
大佬救命阿!!!