LinuxSir.cn,穿越时空的Linuxsir!

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

mandrake的gcc-g++在哪里?

[复制链接]
发表于 2004-10-6 00:20:54 | 显示全部楼层 |阅读模式
original title:
lib/cpp senity error?


为什么用./configure 编译时,都会说lib/cpp senity error?
是gcc编译系统的问题?
 楼主| 发表于 2004-10-6 00:50:50 | 显示全部楼层

这是编译rpm时的信息

creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for minix/config.h... no
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc  ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
发表于 2004-10-6 00:53:58 | 显示全部楼层
我帮你转到基础版去,也许会更快有答案。
发表于 2004-10-6 00:57:42 | 显示全部楼层
没有gcc-g++啊
 楼主| 发表于 2004-10-6 01:33:45 | 显示全部楼层
请问哪里有g++的rpm包可以下载
发表于 2004-10-6 01:47:53 | 显示全部楼层
是gcc-g++,在mandrake安装盘里应该有
 楼主| 发表于 2004-10-6 08:32:34 | 显示全部楼层
找过了,就是没gcc-g++,还望大虾把下载地址贴出来,巨谢
发表于 2004-10-6 14:09:32 | 显示全部楼层
没用过mandrake,不知道在哪里.......
帮你移
发表于 2004-10-6 14:34:48 | 显示全部楼层
Mandrakelinux的RPM叫gcc-c++。因为不知道你用的是什么版本,所以没法给你下载地址。

10.0 Official中使用的rpm在这里:
http://ftp.sunet.se/pub/Linux/di ... 3.3.2-6mdk.i586.rpm

可能还要有更多的依赖性,建议从控制台执行urpmi gcc-c++。
 楼主| 发表于 2004-10-6 17:02:10 | 显示全部楼层
谢了,gcc-g++是装好了,又发现找不到glib
glib>=2.0.0 is needed
偶装了2.5.3后还是如此,也许没有正确安装
有人装过吗?怎么配置参数??
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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