LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 704|回复: 5

yum insatll 问题(我是新手)

[复制链接]
发表于 2006-8-22 14:14:39 | 显示全部楼层 |阅读模式
[root@= ~]# yum install c++
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna                                                                [1/5]
core                                                                 [2/5]
updates                                                              [3/5]
freshrpms                                                            [4/5]
extras                                                               [5/5]
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: c++
Nothing to do
装不了服务,这是什么意思?
发表于 2006-8-22 14:25:07 | 显示全部楼层
c++是什么服务?
是不是想装gcc啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-22 14:42:09 | 显示全部楼层
是哦,gcc也要装哇,反正我要装一个字体,g++和gcc是它所依赖的呀,
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-22 14:43:08 | 显示全部楼层
[root@= fontconfig-2.3.2]# ./configure --disable-docs --sysconfdir=etc --prefix=/usr --mandir=/usr/share/man
configure: error: expected an absolute directory name for --sysconfdir: etc
[root@= fontconfig-2.3.2]# ./configure --disable-docs --sysconfdir=etc --prefix=/usr--mandir=/usr/share/man
configure: error: expected an absolute directory name for --sysconfdir: etc
[root@= fontconfig-2.3.2]# ./configure --disable-docs --sysconfdir=/etc --prefix=/usr--mandir=/usr/share/man
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
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 dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
回复 支持 反对

使用道具 举报

发表于 2006-8-22 15:48:24 | 显示全部楼层
yum install gcc*
回复 支持 反对

使用道具 举报

发表于 2006-8-23 00:10:43 | 显示全部楼层
推荐用pirut  图形化界面 很方便的
回复 支持 反对

使用道具 举报

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

本版积分规则

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