QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 619|回复: 10

configure卧题

[复制链接]
发表于 2004-9-29 21:40:29 | 显示全部楼层 |阅读模式
为什么我每似使 tar zxvf 文进
[root@localhost gthumb-2.5.0]# ls
aclocal.m4          configure     intltool-extract.in  mkinstalldirs
add-include-prefix  configure.in  intltool-merge.in    NEWS
AUTHORS             COPYING       intltool-update.in   omf.make
ChangeLog           data          libgthumb            po
components          depcomp       ltmain.sh            README
config.guess        doc           Makefile.am          src
config.h.in         INSTALL       Makefile.in          TODO
config.sub          install-sh    missing              xmldocs.make
[root@localhost gthumb-2.5.0]# ,/configure
bash: ,/configure: 没有那个文件或目录
[root@localhost gthumb-2.5.0]# 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
/usr/sbin/configure: line 1473: cd: contrib: 没有那个文件或目录
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[root@localhost gthumb-2.5.0]# make
make: *** No targets specified and no makefile found.  Stop.
发表于 2004-9-29 22:05:26 | 显示全部楼层
应该是./configure
你把.打成,了
回复

使用道具 举报

发表于 2004-9-29 22:08:18 | 显示全部楼层
gcc编译系统没有安装
回复

使用道具 举报

 楼主| 发表于 2004-9-29 22:44:09 | 显示全部楼层
fox_eagle2003,你说的对
刚刚是在红帽子上的网没有安装五笔所以不会打字
我每次下载过来的文件用tar解压后
然后用./configure命令
就会出错那你说我gcc编译系统没有安装 那要怎样安装呀我是菜鸟刚刚接触这个系统所以很多东西不懂你可否讲清楚点具体怎样安装gcc编译系统呀
我查了很多资料没有哪个人提到过gcc这个的东西
回复

使用道具 举报

 楼主| 发表于 2004-9-29 22:49:50 | 显示全部楼层
我的redhatliunx9是刚刚安装的
是不是他里面没有自带这个东西呀
那你们的gcc编译器都是自己安装的嘛
如果是那要怎样安装呢
我觉得安装rpm包多简单呀
rpm -ivh 文件名就ok啦
回复

使用道具 举报

 楼主| 发表于 2004-9-29 22:57:18 | 显示全部楼层
[root@localhost root]# rpm -qa | grep cc
compat-gcc-c++-7.3-2.96.118
libgcc-3.2.2-5
compat-gcc-7.3-2.96.118
回复

使用道具 举报

 楼主| 发表于 2004-9-29 22:58:43 | 显示全部楼层
这是刚刚用 rpm -qa | grep cc
查出来的结果应该好像是安装了gcc编译器吧
回复

使用道具 举报

发表于 2004-9-30 09:50:57 | 显示全部楼层
configure: error: no acceptable C compiler found in $PATH

你的gcc没有加载在系统默认的搜索路径中
whereis  gcc
再比较一下
echo $PATH就可以了
回复

使用道具 举报

 楼主| 发表于 2004-9-30 14:15:07 | 显示全部楼层
我刚刚用了wheris gcc
可是系统没有什么反应
这是什么回事呀
回复

使用道具 举报

发表于 2004-9-30 21:07:12 | 显示全部楼层
wheris gcc

whereis gcc
你好像少了个e吧
回复

使用道具 举报

发表于 2004-9-30 21:59:08 | 显示全部楼层
compat-gcc 里的gcc 好像文件名是 gcc296 之类的吧,如果不想装 gcc3 的话,先export CC=/usr/bin/gcc296 (具体路径和文件名自己查查看),或者 ln -s gcc296 /usr/bin/cc
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-27 23:34 , Processed in 0.043210 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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