安装GAIM时的问题
卸载了RH9带的5.9版,从网上下了6.0的源码包make&&make install的时候,出现以下问题:
# make
make: *** No targets specified and no makefile found.Stop.
# make install
make: *** No rule to make target `install'.Stop.
configure的时候就有问题了"
configure: error:
*** GLib 2.0 is required to build Gaim; please make sure you have the GLib
*** development headers installed. The latest version of GLib is
*** always available at http://www.gtk.org/.
提示缺的东西我该从哪儿下载了安装上,谢谢 Eeeeee....找了个代理,以1K/S的龟速去gtk.org拖了回来
不用麻烦大家了 问题依旧,
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error:
*** GLib 2.0 is required to build Gaim; please make sure you have the GLib
*** development headers installed. The latest version of GLib is
*** always available at http://www.gtk.org/.
我装的是GLIB2.2.1,难道必须2.0版的吗
这也太奇怪了
大家是怎么弄的亚 问题依旧,
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error:
*** GLib 2.0 is required to build Gaim; please make sure you have the GLib
*** development headers installed. The latest version of GLib is
*** always available at http://www.gtk.org/.
我装的是GLIB2.2.1,难道必须2.0版的吗
这也太奇怪了
大家是怎么弄的亚
是GLIB2.2-devel包
你找找你的RH盘中肯定有RPM的
一般的发行都是把运行库打成一个包,比如libglib2-***.rpm
然后将头文件和导出库等大成另一个包,如libglib2-devel-***.rpm
一般的应用程序,如果是已经编译好的,在你的系统中安装相关的运行库就好了
但你如果是下载的源代码在本机编译的话,就需要相关库的开发包了,因为需要头文件和库文件等的。 装上了你说的东西,问题依旧
我看了看现在的 GLIB版本
# rpm -q glib
glib-1.2.10-10
也就是我前面装的GLIB没装上,不知道怎么回事了 安装GAIM的RPM包:
# rpm -ivh gaim-0.60-3.i386.rpm
error: Failed dependencies:
libgtkspell.so.0 is needed by gaim-0.60-3
SRC RPM包:
# rpm -rebuild gaim-0.60-3.src.rpm
rpm: arguments to --root (-r) must begin with a /
命令有错误吗
哭死~~~~~~~~~~ 装上了你说的东西,问题依旧
我看了看现在的 GLIB版本
# rpm -q glib
glib-1.2.10-10
也就是我前面装的GLIB没装上,不知道怎么回事了
这是1.x的包,
RH9中应该有两个版本的包glib和glib2 Glib2我装了的
# rpm -q glib2
glib2-2.2.1-1
还有glibc-devel-2.3.2-11.9.i386.rpm也装了,呵
但还是不行,依旧 Glib2我装了的
# rpm -q glib2
glib2-2.2.1-1
还有glibc-devel-2.3.2-11.9.i386.rpm也装了,呵
但还是不行,依旧
不是glibc-devel
是glib2-devel或者libglib2-devel 恩,终于找到问题了,我看到有glib2-devel但是没装,现在装了就不报这个错了
虽然还说GTK没装,不过问题也就一样了
兄好有耐心啊,呵呵,比我好多了
还是linux的世界就是这样..............
thx 咔咔,问题真是多安装GTK+ devel
# rpm -ih /mnt/iso/RedHat/RPMS/gtk2-devel-2.2.1-4.i386.rpm
error: Failed dependencies:
XFree86-devel is needed by gtk2-devel-2.2.1-4
atk-devel >= 1.0.0-1 is needed by gtk2-devel-2.2.1-4
pango-devel >= 1.2.0-3 is needed by gtk2-devel-2.2.1-4
# rpm -ih /mnt/iso/RedHat/RPMS/XFree86-devel-4.3.0-2.i386.rpm
error: Failed dependencies:
Xft-devel conflicts with XFree86-devel-4.3.0-2
提示冲突,我该怎么办,卸载已有的包会影响系统吗 我卸载了XFT,装上所需东西之后开始编译安装
./config --prefix=/usr/tools/gaim
make
make check 就有几个ERROR
make install 当然也有ERROR
是不是安装失败了,#gaim 也不能运行
到/usr/tools/gaim也找不到运行的东西 我卸载了XFT,装上所需东西之后开始编译安装
./config --prefix=/usr/tools/gaim
make
make check 就有几个ERROR
make install 当然也有ERROR
是不是安装失败了,#gaim 也不能运行
到/usr/tools/gaim也找不到运行的东西
把错误的信息贴出来看看 这时make check时的
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libgdk-x11-2.0.so: undefined reference to `g_fprintf'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libgdk-x11-2.0.so: undefined reference to `g_get_application_name'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libgtk-x11-2.0.so: undefined reference to `g_sprintf'
collect2: ld returned 1 exit status
make: *** Error 1
make: Leaving directory `/home/bakup/gaim-0.60/src'
make: *** Error 1
make: Leaving directory `/home/bakup/gaim-0.60/src'
make: *** Error 1
另外的我没注意到了,太长了 安装GAIM的RPM包:
# rpm -ivh gaim-0.60-3.i386.rpm
error: Failed dependencies:
libgtkspell.so.0 is needed by gaim-0.60-3
SRC RPM包:
# rpm -rebuild gaim-0.60-3.src.rpm
rpm: arguments to --root (-r) must begin with a /
这2个怎么办,特别是第二个,是不是我命令错了
页:
[1]
2