LinuxSir.cn,穿越时空的Linuxsir!

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

a problem about glib2

[复制链接]
发表于 2003-11-13 09:50:32 | 显示全部楼层 |阅读模式
I have installed all gtk pkgs in Yast,but it seems no effect

angel:/usr/src/packages/SPECS # rpmbuild -ba pango.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.60327
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf pango-1.2.5
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/pango-1.2.5.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pango-1.2.5
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0 (pango-1.2.5-style.patch):'
Patch #0 (pango-1.2.5-style.patch):
+ patch -p1 -s
+ echo 'Patch #1 (pango-1.2.5-add_ft2build_header.patch):'
Patch #1 (pango-1.2.5-add_ft2build_header.patch):
+ patch -p1 -s
+ echo 'Patch #2 (pango-1.2.5-ft216_ftmodule.patch):'
Patch #2 (pango-1.2.5-ft216_ftmodule.patch):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.85374
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd pango-1.2.5
+ export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:/usr/X11R6/lib64/pkgconfig
+ PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:/usr/X11R6/lib64/pkgconfig
+ pkg-config --exists xft
+ CFLAGS=-O2 -g -march=i586 -mcpu=i686 -fmessage-length=0
+ export CFLAGS
+ CXXFLAGS=-O2 -g -march=i586 -mcpu=i686 -fmessage-length=0
+ export CXXFLAGS
+ FFLAGS=-O2 -g -march=i586 -mcpu=i686 -fmessage-length=0
+ export FFLAGS
+ ./configure --host=i686-suse-linux --build=i686-suse-linux --target=i586-suse-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --without-qt --disable-gtk-doc
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... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking for i686-suse-linux-gcc... no
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 for i686-suse-linux-g++... (cached) c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking build system type... i686-suse-linux-gnu
checking host system type... i686-suse-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/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
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 i686-suse-linux-g77... no
checking for i686-suse-linux-f77... no
checking for i686-suse-linux-xlf... no
checking for i686-suse-linux-frt... no
checking for i686-suse-linux-pgf77... no
checking for i686-suse-linux-fl32... no
checking for i686-suse-linux-af77... no
checking for i686-suse-linux-fort77... no
checking for i686-suse-linux-f90... no
checking for i686-suse-linux-xlf90... no
checking for i686-suse-linux-pgf90... no
checking for i686-suse-linux-epcf90... no
checking for i686-suse-linux-f95... no
checking for i686-suse-linux-fort... no
checking for i686-suse-linux-xlf95... no
checking for i686-suse-linux-lf95... no
checking for i686-suse-linux-g95... no
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 nm output from gcc object... ok
checking for objdir... .libs
checking for i686-suse-linux-ar... no
checking for ar... ar
checking for i686-suse-linux-ranlib... no
checking for ranlib... ranlib
checking for i686-suse-linux-strip... no
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
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/i586-suse-linux/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/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/i586-suse-linux/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/i586-suse-linux/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/i586-suse-linux/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/bin/pkg-config
checking for fontconfig >= 1.0.1... yes
checking FONTCONFIG_CFLAGS...
checking FONTCONFIG_LIBS... -lfontconfig
checking for freetype-config... /usr/bin/freetype-config
checking for FT_Get_Next_Char in -lfreetype... yes
checking for xft >= 2.0.0... yes
checking XFT_CFLAGS... -I/usr/X11R6/include -I/usr/include/freetype2
checking XFT_LIBS... -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.1.3... 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.1.3 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
error: Bad exit status from /var/tmp/rpm-tmp.85374 (%build)
:confused: :confused:
发表于 2003-11-13 10:23:32 | 显示全部楼层
去下载新版,你的可能低于这个版本号,YAST更新不代表某软件当前的最新版,厂家都会根据自己的需求进行调整。
发表于 2003-11-13 16:46:54 | 显示全部楼层
还是删除后重新安装吧!

This usually means GLIB is incorrectly installed.
发表于 2003-11-13 17:55:59 | 显示全部楼层

你有很多东西没装阿

你有很多东西没装阿。
 楼主| 发表于 2003-11-13 21:05:35 | 显示全部楼层

:)

汗~~我看默认的几个开发工具都装上了就没有在仔细装开发包,SuSE少什么就给什么^_^|||
RPMrebuild的时候出错,可GLIB已经完全安装好了的~改用源代码包编译就没有问题了~~
 楼主| 发表于 2003-11-13 21:10:39 | 显示全部楼层

:)

汗~~我看默认的几个开发工具都装上了就没有在仔细装开发包,SuSE少什么就给什么^_^|||
RPMrebuild的时候出错,可GLIB已经完全安装好了的~改用源代码包编译就没有问题了~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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