QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3313|回复: 1

安装xpdf时出现错误

[复制链接]
发表于 2007-5-16 14:58:14 | 显示全部楼层 |阅读模式
安装xpdf时出现错误,我安装的 是解压缩的程序
当我输入make时就出错了
错误如下:


[root@localhost xpdf-3.02]# ./config
bash: ./config: 没有那个文件或目录
[root@localhost xpdf-3.02]# ./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
[root@localhost xpdf-3.02]# make
cd goo; make
make[1]: Entering directory `/root/software/xpdf-3.02/goo'
g++ -DHAVE_CONFIG_H -I.. -I. -c GHash.cc
make[1]: g++: Command not found
make[1]: *** [GHash.o] Error 127
make[1]: Leaving directory `/root/software/xpdf-3.02/goo'
make: *** [all] Error 2
发表于 2007-5-16 19:42:16 | 显示全部楼层
安装g++先
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-12-3 03:12 , Processed in 0.038189 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表