ppplc830813 发表于 2007-5-16 14:58:14

安装xpdf时出现错误

安装xpdf时出现错误,我安装的 是解压缩的程序
当我输入make时就出错了
错误如下:


# ./config
bash: ./config: 没有那个文件或目录
# ./configure
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 for library containing strerror... none required
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for OS/2 (with EMX)... no
checking for DOS (with DJGPP)... no
checking how to run the C preprocessor... gcc -E
checking for X... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for gethostbyname... no
checking for gethostbyname in -lbsd... no
checking select() and fd_set in sys/select.h and sys/bsdtypes.h... problem
checking FD_ZERO and strings.h or bstring.h... problem
checking for rewinddir... no
checking for rewinddir in -lcposix... no
checking for popen... no
checking for mkstemp... no
checking for mkstemps... no
checking whether select takes fd_set arguments... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... yes
checking for fseek64... no
checking for ftell64... no
checking whether to use t1 library... maybe
checking where to find the t1 header files...
checking t1lib.h usability... no
checking t1lib.h presence... no
checking for t1lib.h... no
not using t1 library
checking whether to use freetype2 library... maybe
checking where to find the freetype2 header files...
checking ft2build.h usability... no
checking ft2build.h presence... no
checking for ft2build.h... no
not using freetype2 library
checking whether to use libpaper library... maybe
checking where to find the libpaper header files...
checking paper.h usability... no
checking paper.h presence... no
checking for paper.h... no
not using libpaper library
configure: creating ./config.status
config.status: creating Makefile
config.status: creating goo/Makefile
config.status: creating fofi/Makefile
config.status: creating splash/Makefile
config.status: creating xpdf/Makefile
config.status: creating aconf.h
config.status: aconf.h is unchanged
configure: WARNING: Couldn't find X
configure: WARNING: Couldn't find Motif
configure: WARNING: Couldn't find FreeType
configure: WARNING: -- You will be able to compile pdftops, pdftotext,
      pdfinfo, pdffonts, and pdfimages, but not xpdf or pdftoppm
# make
cd goo; make
make: Entering directory `/root/software/xpdf-3.02/goo'
g++ -DHAVE_CONFIG_H -I.. -I. -c GHash.cc
make: g++: Command not found
make: *** Error 127
make: Leaving directory `/root/software/xpdf-3.02/goo'
make: *** Error 2

吴文官 发表于 2007-5-16 19:42:16

安装g++先
页: [1]
查看完整版本: 安装xpdf时出现错误