回复:libwebqq在arch下运行autogen.sh错误

52 views
Skip to first unread message

evilのdoer

unread,
Jul 18, 2012, 11:53:30 PM7/18/12
to gtkqq-dev
系统:
Linux archer 3.4.4-2-ARCH #1 SMP PREEMPT Sun Jun 24 18:59:47 CEST 2012 x86_64 GNU/Linux


------------------ 原始邮件 ------------------
发件人: "flyer "<9099...@qq.com>;
发送时间: 2012年7月19日(星期四) 中午11:50
收件人: "gtkqq-dev"<gtkq...@googlegroups.com>;
主题: libwebqq在arch下运行autogen.sh错误

[evildoer@archer libwebqq]$ ./autogen.sh
+ aclocal
+ autoconf
+ libtoolize --copy --force --automake
+ autoreconf --install
configure.ac:21: installing 'build-aux/config.guess'
configure.ac:21: installing 'build-aux/config.sub'
configure.ac:6: installing 'build-aux/install-sh'
configure.ac:6: installing 'build-aux/missing'
automake: warnings are treated as errors
/usr/share/automake-1.12/am/library.am: warning: 'libjsoncpp.a': linking libraries using a non-POSIX
/usr/share/automake-1.12/am/library.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
jsoncpp/src/Makefile.am:1:   while processing library 'libjsoncpp.a'
jsoncpp/src/Makefile.am: installing 'build-aux/depcomp'
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libwebqq.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:1:   while processing Libtool library 'libwebqq.la'
autoreconf: automake failed with exit status: 1
[evildoer@archer libwebqq]$

Chunfeng Zhang

unread,
Jul 19, 2012, 12:05:05 AM7/19/12
to gtkq...@googlegroups.com

archiver requires 'AM_PROG_AR' in 'configure.ac'

Y C

unread,
Jul 20, 2012, 9:34:46 PM7/20/12
to gtkq...@googlegroups.com
问题解决了吗?
如何解决的?
我也遇到这个问题了

2012/7/19 Chunfeng Zhang <crazy...@gmail.com>

崔灏 (CUI Hao)

unread,
Aug 5, 2012, 9:27:42 PM8/5/12
to gtkq...@googlegroups.com
目前我用了个 sed -i 's/LT_INIT/AM_PROG_AR\nLT_INIT/' configure.ac 通过了 autogen.sh。

然后是arch的python版本问题:
第一,sed -i 's/python setup.py/python2 setup.py/' wrappers/python/Makefile.am
第二,./configure 前设置环境变量 PYTHON='/usr/bin/python2'

最后还有编译问题: http://pastebin.com/ukAJnkkK
我尝试在 CXXFLAGS 加上 -fPIC,这样编译通过了,但 emesene 貌似识别不了:
Errors occurred while importing webqq backend:
/usr/share/emesene2/e3/webqq/_libwebqqpython.so: 错误 ELF 类: ELFCLASS32

到此我实在搞不定了…… 估计是 -fPIC 的副作用?
开发者帮忙看看吧。
gcc 4.7.1
automake 1.12.2
python2 2.7.3
swig 2.0.7
boost 1.50.0

2012/7/21 Y C <linux....@gmail.com>:
Reply all
Reply to author
Forward
0 new messages