分页: 1 / 1

各位帮我看一下 到底是什么 错误

发表于 : 2007-06-30 12:39
fantlam
fantasy@fantasy-desktop:~$ cd kchmviewer-2.5
fantasy@fantasy-desktop:~/kchmviewer-2.5$ ls
acinclude.m4 configure kchmviewer.kdevelop.pcs README
aclocal.m4 configure.files kchmviewer.kdevses src
admin configure.in kio-msits stamp-h.in
am_edit configure.in.in Makefile.am subdirs
ChangeLog COPYING Makefile.cvs svn-commit.tmp
chmlib Doxyfile Makefile.in
config.log kchmviewer.kdevelop po
fantasy@fantasy-desktop:~/kchmviewer-2.5$ ./configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
fantasy@fantasy-desktop:~/kchmviewer-2.5$

现在装软件总是出现这样的错误,

发表于 : 2007-06-30 12:51
BigSnake.NET
sudo apt-get install build-essential

发表于 : 2007-06-30 22:35
fantlam
fantasy@fantasy-desktop:~$ cd kchmviewer-2.5
fantasy@fantasy-desktop:~/kchmviewer-2.5$ ls
acinclude.m4 configure kchmviewer.kdevelop.pcs README
aclocal.m4 configure.files kchmviewer.kdevses src
admin configure.in kio-msits stamp-h.in
am_edit configure.in.in Makefile.am subdirs
ChangeLog COPYING Makefile.cvs svn-commit.tmp
chmlib Doxyfile Makefile.in
config.log kchmviewer.kdevelop po
fantasy@fantasy-desktop:~/kchmviewer-2.5$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
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 ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
checking whether g++ supports -Wl,--no-undefined... yes
checking whether g++ supports -Wl,--allow-shlib-undefined... yes
checking for X... no
configure: error: You need to have the X11 libraries and headers installed
楼上的兄弟 我按你的做了 还是不行 还有我不知道你是要我下什么源 请再指点

发表于 : 2007-07-01 1:30
drivel
configure: error: You need to have the X11 libraries and headers installed
不是很清楚的告诉你了?

发表于 : 2007-07-01 11:56
fantlam
我知道阿 但是我不知道怎么解决 大哥 俺是新手阿 多多包涵

发表于 : 2007-07-01 12:01
BigSnake.NET
kchmviewer 源里面有

发表于 : 2007-07-01 14:42
fantlam
kchmviewer 看不了那个CHM 我

发表于 : 2007-07-01 23:16
fantlam
大家能不能给我提供个chm阅读的详细安装过程呢
谢谢拉 急需啊
kchmviewer 装了 但是显示不了啊

发表于 : 2007-07-01 23:19
eexpress
aptitude search chm