URN Logo
UNIX Resources » Linux » China Linux Forum » Linux下的GUI软件开发 » 32 » 安装GTK+时,报错.:(请帮忙.
announcement 声明: 本页内容为中国Linux论坛的内容镜像,文章的版权以及其他所有的相关权利属于中国Linux论坛和相应文章的作者,如果转载,请注明文章来源及相关版权信息。
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.net
  业界新闻与评论
  自由软件杂谈
  IT 人生
  Linux软件快递
  翻译作坊
  Linux图书与评论
  GNU Emacs/XEmacs
  Linux 中文环境和中文化
  Linux桌面与办公软件
  Linux 多媒体与娱乐版
  自由之窗Mozilla
  笔记本电脑上的Linux
  Gentoo
  Debian 一族
  网络管理技术
  Linux 安装与入门
  WEB服务器和FTP服务器
  域名服务器和邮件服务器
  Linux防火墙和代理服务器应用
  文件及打印服务器
  技术培训与认证
  TI专版
  Linux内核技术
  Linux 嵌入技术
  Linux设备驱动程序
  Linux 集群技术
  LINUX平台数据库
  系统和网络安全
  CPU 与 编译器
  系统计算研究所专栏
  Linux下的GUI软件开发
  C/C++编程版
  PHP 技 术
  Java&jsp技术
  Shell编程技术
  Perl 编 程
  Python 编 程
  XML/Web Service 技术
  永远的Unix
  FreeBSD世界
   
安装GTK+时,报错.:(请帮忙.
安装GTK+时,报错.:(请帮忙. - freeia [2003-11-16 10:58 | 6,895 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - freeia [2003-11-16 11:02 | 156 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - _zld_ [2003-11-16 11:32 | 25 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - freeia [2003-11-16 11:53 | 91 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - freeia [2003-11-16 12:00 | 57 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - _zld_ [2003-11-16 12:06 | 127 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - freeia [2003-11-16 12:40 | 159 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - _zld_ [2003-11-16 14:00 | 10 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - _zld_ [2003-11-16 14:04 | 40 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - freeia [2003-11-16 15:13 | 118 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - _zld_ [2003-11-16 15:58 | 62 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - freeia [2003-11-16 16:18 | 115 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - _zld_ [2003-11-16 16:23 | 101 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - freeia [2003-11-16 16:26 | 471 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - freeia [2003-11-16 16:27 | 36 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - freeia [2003-11-16 18:50 | 179 byte(s)]
 
Re: 安装GTK+时,报错.:(请帮忙. - freeia [2003-11-16 18:58 | 145 byte(s)]
 
Subject: 安装GTK+时,报错.:(请帮忙.
Author: freeia    Posted: 2003-11-16 10:58    Length: 6,895 byte(s)
[Original] [Print] [Top]
[root@HWM pango-1.2.5]# ./configure
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-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... 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 c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-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 whether ln -s works... yes
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 how to run the C++ preprocessor... c++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for some Win32 platform... no
checking for native Win32... no
checking for perl5... no
checking for perl... perl
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking for fontconfig >= 1.0.1... Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
configure: WARNING: No fontconfig found, skipping tests for FreeType and Xft
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GLIB - version >= 2.1.3...
*** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.2.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** Glib 2.1.3 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.

----
后知后觉
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: freeia    Posted: 2003-11-16 11:02    Length: 156 byte(s)
[Original] [Print] [Top]
我机器系统是redhat9.0,里面已经有GTK+,但是我想升级为最新版本,但是好像GLib的源代码默认安装路径是 /usr/local/lib, 与原来的GLib的不在同一个目录, 应该怎么升级呢?
----
后知后觉
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: _zld_    Posted: 2003-11-16 11:32    Length: 25 byte(s)
[Original] [Print] [Top]
./configure --prefix=/usr
----
_zld_,男性,喜欢吃火锅,有相同嗜好者与我联系.&D
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: freeia    Posted: 2003-11-16 11:53    Length: 91 byte(s)
[Original] [Print] [Top]
请问一下,我怎么可以知道我当前系统中gtk+, glib的路径和版本号呢?
然后我想升级覆盖它!
----
后知后觉
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: freeia    Posted: 2003-11-16 12:00    Length: 57 byte(s)
[Original] [Print] [Top]
还有一问,我开始安装在/usr/local下的glib,我怎么删除他们呢?
----
后知后觉
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: _zld_    Posted: 2003-11-16 12:06    Length: 127 byte(s)
[Original] [Print] [Top]
./configure --prefix=/usr 以后直接装就可以覆盖

装完的可以直接delete

如果是rpm:rpm -e xxx
----
_zld_,男性,喜欢吃火锅,有相同嗜好者与我联系.&D
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: freeia    Posted: 2003-11-16 12:40    Length: 159 byte(s)
[Original] [Print] [Top]
太感谢楼上的兄弟, 我的意思是, 我以前默认安装的那些在/usr/local中的文件我怎么卸载掉呢?
直接 rm -rf /usr/local?

这里可以给专家分你吗?
----
后知后觉
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: _zld_    Posted: 2003-11-16 14:00    Length: 10 byte(s)
[Original] [Print] [Top]
yes.直接删
----
_zld_,男性,喜欢吃火锅,有相同嗜好者与我联系.&D
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: _zld_    Posted: 2003-11-16 14:04    Length: 40 byte(s)
[Original] [Print] [Top]
或者装到/usr/local也可以,可以建立个链接
----
_zld_,男性,喜欢吃火锅,有相同嗜好者与我联系.&D
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: freeia    Posted: 2003-11-16 15:13    Length: 118 byte(s)
[Original] [Print] [Top]
链接就等同于win下的快捷方式吧?
怎么建立链接到桌面呢?
我想把我安装的stardict建立一个快捷方式到桌面上.
----
后知后觉
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: _zld_    Posted: 2003-11-16 15:58    Length: 62 byte(s)
[Original] [Print] [Top]
example:

ln -s /usr/local/xxx ~/Desktop/xxx
----
_zld_,男性,喜欢吃火锅,有相同嗜好者与我联系.&D
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: freeia    Posted: 2003-11-16 16:18    Length: 115 byte(s)
[Original] [Print] [Top]
不成功:(

~号是什么意思?
~/Desktop指的是桌面?
在哪个绝对路径下面可以找到他们呢?
----
后知后觉
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: _zld_    Posted: 2003-11-16 16:23    Length: 101 byte(s)
[Original] [Print] [Top]
~指你的“home”

如果你的用户名是freeia
那么你的桌面在/home/freeia/Desktop
----
_zld_,男性,喜欢吃火锅,有相同嗜好者与我联系.&D
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: freeia    Posted: 2003-11-16 16:26    Length: 471 byte(s)
[Original] [Print] [Top]
谢谢你的耐心,问题是我的是 root登录的.

另外还有一个怪问题,

用rpm -ivh gtkspell-2.0.4-fr3.src.rpm时遇到警告,如何才能去掉该警

[root@HWM gaim]# rpm -ivh gtkspell-2.0.4-fr3.src.rpm
warning: gtkspell-2.0.4-fr3.src.rpm: V3 DSA signature: NOKEY, key ID e42d547b

好像是个数字签名,该怎么输入命令才行, 奇怪的是, 安装好像也成功了.

楼上的兄弟有MSN/ICQ吗?
我想把你加进来.
----
后知后觉
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: freeia    Posted: 2003-11-16 16:27    Length: 36 byte(s)
[Original] [Print] [Top]
gaim可以用了,显示版本也是0.72版本的.
----
后知后觉
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: freeia    Posted: 2003-11-16 18:50    Length: 179 byte(s)
[Original] [Print] [Top]
[root@HWM /]# ln -s ./usr/bin/stardict ~/Desktop/stardict
ln: creating symbolic link `/root/Desktop/stardict' to `./usr/bin/stardict': No such file or directory
----
后知后觉
[Original] [Print] [Top]
Subject: Re: 安装GTK+时,报错.:(请帮忙.
Author: freeia    Posted: 2003-11-16 18:58    Length: 145 byte(s)
[Original] [Print] [Top]
[root@HWM .gnome-desktop]# ln -s /usr/bin/stardict /root/.gnome-desktop/

that's ok.

thank you all the same
----
后知后觉
[Original] [Print] [Top]
« Previous thread
我怎么做可疑得到当前系统中安装的glib 和 gtk+的版本号?
Linux下的GUI软件开发
32
Next thread »
请问用KYLIX写CORBA程序是否合适
     

Copyright © 2007~2009 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
webmaster: webmaster@unixresources.net
This page created on 2009-09-07 16:42:51, cost 0.0230779647827 ms.