LinuxSir.cn,穿越时空的Linuxsir!

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

arch下尝试安装gaim2.0 beta 3.1失败,请大家帮助(问题以解决)

[复制链接]
发表于 2006-10-6 10:07:44 | 显示全部楼层 |阅读模式
先说说我做了什么:
1.在此站下了gaim2.0的代码 http://www.gaimcn.com/download.php
Gaim 2.0beta3.1 源码包
2.按照此页的手册来安装  http://gaim.sourceforge.net/downloads.php
3.文档中写到“Before you begin, make sure you have libtool, gettext, automake, and autoconf installed.”
我已经pacman 这几个包了 。
然后我安文档写的 “svn co https://svn.sourceforge.net/svnroot/gaim/trunk gaim”
呵呵,由于我没安装过svn,所以提示svn:command not found .于是,我pacman -Ss svn
,然后安装了subversion.
再次执行svn co https://svn.sourceforge.net/svnroot/gaim/trunk gaim ,pass了。
4.接下来按手册说的
cd gaim
./autogen.sh
失败了。提示出错信息如下:
[root@myhost gaim]# ./autogen.sh
Generating configuration files for Gaim, please wait....

Running libtoolize, please ignore non-fatal messages....
Putting files in AC_CONFIG_AUX_DIR, `..'.
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

You should update your 'aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, '..'.
intltoolize: 'po/Makefile.in.in' is out of date: use '--force' to overwrite
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for sed... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... 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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
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 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 static flag -static 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 dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
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 g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /bin/install -c
checking for perl... /usr/bin/perl
checking for XML:arser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  am ar az bg bn bs ca ca@valencia cs da de el en_AU en_CA en_GB es et eu fa fi fr gl gu he hi hu it ja ka ko ku lt mk my_MM nb ne nl nn pa pl pt_BR pt ro ru sk sl sq sr sr@Latn sv ta te th tr uk vi xh zh_CN zh_TW
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/nameser_compat.h usability... yes
checking arpa/nameser_compat.h presence... yes
checking for arpa/nameser_compat.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for locale.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for time_t... yes
checking size of time_t... 4
checking whether byte ordering is bigendian... no
checking return type of signal handlers... void
checking for strftime... yes
checking for strdup... yes
checking for strstr... yes
checking for atexit... yes
checking for setlocale... yes
checking for getopt_long... yes
checking for inet_aton... yes
checking for __res_query in -lresolv... yes
checking for gethostent in -lnsl... yes
checking for socket... yes
checking for getaddrinfo... yes
checking for socklen_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for the %z format string in strftime()... yes
./configure: line 26235: syntax error near unexpected token `GLIB,'
./configure: line 26235: `PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0.0 gobject-2.0 gmodule-2.0 gthread-2.0, ,'

我自己还在迷惑中,不知道出错的原因。怀疑是不是我的GLIB不合格,版本不够高。
还有一个问题就是,文档下面还提到gmake命令,我执行命令也提示command not fount.
不知道该怎么安装gmake呵呵,pacman -Ss gmake 也没找到相关包。
大家帮帮忙了。有什么需要我提供的信息尽管开口。:)
发表于 2006-10-6 10:16:03 | 显示全部楼层
我認為應該是到ABS找到編譯好的gaim PKGBUILD來改比較妥當。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-6 10:27:46 | 显示全部楼层
呵呵,我是想找通用的办法。
回复 支持 反对

使用道具 举报

发表于 2006-10-6 10:27:53 | 显示全部楼层
gaim-beta、gaim-svn在aur都有的下载
回复 支持 反对

使用道具 举报

发表于 2006-10-6 12:31:37 | 显示全部楼层
为什么不把AUR中的PKGBUILD看看呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-6 12:58:04 | 显示全部楼层
为什么要逃避问题呢?能力问题?水平问题?
回复 支持 反对

使用道具 举报

发表于 2006-10-6 13:47:54 | 显示全部楼层
什么是“通用的办法”?
./configure && make && make install ?
回复 支持 反对

使用道具 举报

发表于 2006-10-6 16:52:10 | 显示全部楼层
Could the following PKGBUILD give you any clues? Your problem seems related to lack of pkg-config though.
# Adapted from the PKGBUILD by Lucien Immink <l.immink@student.fnt.hvu.nl>
# and dorphell <dorphell@archlinux.org>  
pkgname=gaim-devel
pkgver=2.0.0beta3
pkgrel=1
pkgdesc="A GTK+-based messaging client, Beta Version"
url="http://gaim.sourceforge.net"
depends=('startup-notification' 'libao'  'nss' 'tk' 'gtkspell' 'audiofile' 'perlxml')
source=(http://dl.sourceforge.net/sourceforge/gaim/gaim-$pkgver.tar.bz2)
conflicts=('gaim')
md5sums=('c077655e4dd251cf22c406777c985a74')

build() {
  cd $startdir/src/gaim-$pkgver
  # Stripping out features that add dependencies beyond what is required in
  # gaim 1.5.  To enable such features, remove the appropriate "--disable-*"
  # entry from the configure line, and add to "depends" line.  The Bonjour
  # Protocol plugin requires howl, which has no configure line tag, so just
  # add it to the depends line.
  # Gaim 2.0.0beta2 refuses to against with GNUTLS, so using Mozilla NSS
  ./configure --prefix=/usr --enable-gtkspell --enable-gnutls=no \
  --enable-nss=yes --disable-gevolution --disable-dbus --disable-mono \
  --disable-debug
  make || return 1
  make DESTDIR=$startdir/pkg install
  rm $startdir/pkg/usr/lib/perl5/*/$CARCH-linux-thread-multi/perllocal.pod
  mv $startdir/pkg/usr/lib/perl5/?.?.? $startdir/pkg/usr/lib/perl5/current

  find $startdir/pkg -name '*.la' -exec rm {} \;
}
According to comments, gaim2 beta3 seems strangely to place some files under /.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-6 18:12:47 | 显示全部楼层
flycraft,我就是想要按照gaim官方的文档来做
回复 支持 反对

使用道具 举报

发表于 2006-10-6 18:28:29 | 显示全部楼层
gaim官方跟aur的pkgbuild没什么区别嘛,只是arch打了个包,维护起来更方便而已
回复 支持 反对

使用道具 举报

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

本版积分规则

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