QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1055|回复: 0

求助,安装Gaim问题,no acceptable C ..

[复制链接]
发表于 2006-5-4 23:08:29 | 显示全部楼层 |阅读模式
先到官方网站下载了四个rpm安装包:

gaim-1.5.0-0rh9.i386.rpm

gaim-devel-1.5.0-0rh9.i386.rpm

gaim-silc-1.5.0-0rh9.i386.rpm

gaim-tcl-1.5.0-0rh9.i386.rpm

使用命令rpm -ivh 安装 gaim-1.5.0-0rh9.i386.rpm

[root@localhost gaim]# rpm -ivh gaim-1.5.0-0rh9.i386.rpm
error: Failed dependencies:
    libgtkspell.so.0 is needed by gaim-1.5.0-0rh9




然后我到官方网站看了下FAQ:

I'm trying to install Gaim, but it complains that I don't have libgtkspell.so.0, from where can I get this?
libtgtkspell.so.0 is provided by gtkspell. This library is used by Gaim to provide the "Highlight misspelled words" feature. You can find an RPM of gtkspell at freshrpms.net. You can find the source and a non-Red Hat specific RPM at gtkspell.sourceforge.net.

接着,跑到gtkspell.sourceforge.net. 下载了一个gtkspell-2.0.11.tar.gz的源码包,然后解压安装如下:

[root@localhost gaim]# mv gtkspell-2.0.11.tar.gz /usr/local/
[root@localhost gaim]# tar -zxvf gtkspell-2.0.11.tar.gz
gtkspell-2.0.11/
gtkspell-2.0.11/config.sub
gtkspell-2.0.11/NEWS
gtkspell-2.0.11/mkinstalldirs
gtkspell-2.0.11/ABOUT-NLS
gtkspell-2.0.11/config.guess
gtkspell-2.0.11/gtkspell.spec.in
gtkspell-2.0.11/README
gtkspell-2.0.11/INSTALL
gtkspell-2.0.11/aclocal.m4
gtkspell-2.0.11/gtkspell-2.0.pc.in
gtkspell-2.0.11/config.h.in
gtkspell-2.0.11/Makefile.am
gtkspell-2.0.11/Makefile.in
gtkspell-2.0.11/AUTHORS
gtkspell-2.0.11/configure.ac
gtkspell-2.0.11/examples/
gtkspell-2.0.11/examples/Makefile.am
gtkspell-2.0.11/examples/advanced.c
gtkspell-2.0.11/examples/Makefile.in
gtkspell-2.0.11/examples/simple.c
gtkspell-2.0.11/COPYING
gtkspell-2.0.11/missing
gtkspell-2.0.11/po/
gtkspell-2.0.11/po/pl.po
gtkspell-2.0.11/po/sr.po
gtkspell-2.0.11/po/ga.po
gtkspell-2.0.11/po/POTFILES.in
gtkspell-2.0.11/po/it.po
gtkspell-2.0.11/po/ru.po
gtkspell-2.0.11/po/vi.po
gtkspell-2.0.11/po/zh_CN.po
gtkspell-2.0.11/po/it.gmo
gtkspell-2.0.11/po/nl.gmo
gtkspell-2.0.11/po/es.po
gtkspell-2.0.11/po/zh_TW.gmo
gtkspell-2.0.11/po/el.gmo
gtkspell-2.0.11/po/pt_BR.gmo
gtkspell-2.0.11/po/mn.po
gtkspell-2.0.11/po/de.po
gtkspell-2.0.11/po/Makefile.in.in
gtkspell-2.0.11/po/fr.gmo
gtkspell-2.0.11/po/be.gmo
gtkspell-2.0.11/po/wa.gmo
gtkspell-2.0.11/po/vi.gmo
gtkspell-2.0.11/po/eo.po
gtkspell-2.0.11/po/be.po
gtkspell-2.0.11/po/ja.po
gtkspell-2.0.11/po/ro.gmo
gtkspell-2.0.11/po/fr.po
gtkspell-2.0.11/po/eu.po
gtkspell-2.0.11/po/pt_BR.po
gtkspell-2.0.11/po/sk.po
gtkspell-2.0.11/po/ChangeLog
gtkspell-2.0.11/po/zh_TW.po
gtkspell-2.0.11/po/mn.gmo
gtkspell-2.0.11/po/pl.gmo
gtkspell-2.0.11/po/rw.gmo
gtkspell-2.0.11/po/eu.gmo
gtkspell-2.0.11/po/sr.gmo
gtkspell-2.0.11/po/ru.gmo
gtkspell-2.0.11/po/el.po
gtkspell-2.0.11/po/gtkspell.pot
gtkspell-2.0.11/po/rm.gmo
gtkspell-2.0.11/po/zh_CN.gmo
gtkspell-2.0.11/po/ro.po
gtkspell-2.0.11/po/sk.gmo
gtkspell-2.0.11/po/eo.gmo
gtkspell-2.0.11/po/de.gmo
gtkspell-2.0.11/po/ga.gmo
gtkspell-2.0.11/po/es.gmo
gtkspell-2.0.11/po/wa.po
gtkspell-2.0.11/po/rw.po
gtkspell-2.0.11/po/rm.po
gtkspell-2.0.11/po/nl.po
gtkspell-2.0.11/po/ja.gmo
gtkspell-2.0.11/ChangeLog
gtkspell-2.0.11/gtkspell/
gtkspell-2.0.11/gtkspell/Makefile.am
gtkspell-2.0.11/gtkspell/Makefile.in
gtkspell-2.0.11/gtkspell/gtkspell.h
gtkspell-2.0.11/gtkspell/deprecated.c
gtkspell-2.0.11/gtkspell/gtkspell.c
gtkspell-2.0.11/configure
gtkspell-2.0.11/docs/
gtkspell-2.0.11/docs/tmpl/
gtkspell-2.0.11/docs/tmpl/gtkspell.sgml
gtkspell-2.0.11/docs/tmpl/deprecated.sgml
gtkspell-2.0.11/docs/tmpl/gtkspell-unused.sgml
gtkspell-2.0.11/docs/gtkspell-docs.sgml
gtkspell-2.0.11/docs/Makefile.am
gtkspell-2.0.11/docs/Makefile.in
gtkspell-2.0.11/docs/gtkspell.types
gtkspell-2.0.11/docs/sgml/
gtkspell-2.0.11/docs/html/
gtkspell-2.0.11/docs/html/index.html
gtkspell-2.0.11/docs/html/gtkspell-gtkspell.html
gtkspell-2.0.11/docs/html/chapter-tutorial.html
gtkspell-2.0.11/docs/html/tutorial-building.html
gtkspell-2.0.11/docs/html/reference.html
gtkspell-2.0.11/docs/html/tutorial.html
gtkspell-2.0.11/docs/html/index.sgml
gtkspell-2.0.11/docs/gtkspell-sections.txt
gtkspell-2.0.11/docs/tutorial.sgml
gtkspell-2.0.11/depcomp
gtkspell-2.0.11/install-sh
gtkspell-2.0.11/ltmain.sh
[root@localhost gtkspell-2.0.11]# ./configure
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 for style of include used by make... GNU
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
.

错误提示:在$PATH中没有找到可用的C编译器。
于是我又下了个GCC的rpm安装包。安装:

[root@localhost root]# rpm -ivh gcc-3.4.5-2.src.rpm
warning: gcc-3.4.5-2.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: cannot create %sourcedir /usr/src/redhat/SOURCES



又提示错误,不能创建源路径/usr/src/redhat/SOURCES
跑到/usr/src/ 底下看了看,没有redhat这个目录,于是想可能它默认不会自己创建目录,接着手动创建了这个目录,继续安装gcc,安装成功:

[root@localhost root]# mkdir /usr/src/redhat/
[root@localhost root]# rpm -ivh gcc-3.4.5-2.src.rpm
warning: gcc-3.4.5-2.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
  1:gcc             ########################################### [100%]



安装好了gcc,接着继续使用配置命令:

[root@localhost gtkspell-2.0.11]# ./configure
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 for style of include used by make... GNU
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.


结果还是提示错误,在$PSTH没有可用的C编译器!!!!

哪里出错了?要指定$PATH的环境变量吗?

我使用echo $PATH 命令的时候,输出为空。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-22 18:07 , Processed in 0.038272 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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