Screen shoot of emesene with WebQQ protocol integrated

66 views
Skip to first unread message

Xiang Wang

unread,
Aug 5, 2012, 11:21:28 PM8/5/12
to gtkqq-dev, njlug
Inline image 1

--

Best Regards~


Xiang Wang

CDC, TrendMicro


image.png

Y C

unread,
Aug 5, 2012, 11:47:50 PM8/5/12
to gtkq...@googlegroups.com
怎么了?

Xiang Wang

unread,
Aug 6, 2012, 12:17:47 AM8/6/12
to gtkq...@googlegroups.com
帅气不帅气?

On Mon, Aug 6, 2012 at 11:47 AM, Y C <linux....@gmail.com> wrote:
怎么了?

Weitian Leung

unread,
Aug 6, 2012, 12:18:51 AM8/6/12
to gtkq...@googlegroups.com
话说要怎么安装?
放到/usr/share/emesene/emesene/plugins、~/.config/emesene2/plugins都不行
make install更不用想了。。。

On Mon 06 Aug 2012 11:47:50 AM CST, Y C wrote:
> 怎么了?

--
Weitian

Xiang Wang

unread,
Aug 6, 2012, 12:19:38 AM8/6/12
to gtkq...@googlegroups.com
不需要安装。


看这里的说明。

Weitian Leung

unread,
Aug 6, 2012, 12:25:31 AM8/6/12
to gtkq...@googlegroups.com
好吧,但是开始蛋疼了
出现core dumped,我用的是ubuntu 12.04 32
最多能显示一下界面,还没来的及操作

貌似每次都不一样,不过看到一个double的。。。
*** glibc detected *** python: double free or corruption (fasttop):
0xaebfa4a8 ***


9fde4000-9fde5000 rw-p 00176000 08:05 922636
/usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
9fde5000-a03d8000 r--p 00000000 08:05 136447
/usr/share/fonts/truetype/takao-gothic/TakaoPGothic.ttf
a03d8000-a0ab5000 r-xp 00000000 08:05 948399
/usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53.35.0
a0ab5000-a0ab6000 r--p 006dc000 08:05 948399
/usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53.35.0
a0ab6000-a0ac5000 rw-p 006dd000 08:05 948399
/usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53.35.0
a0ac5000-a1033000 rw-p 00000000 00:00 0
a1033000-a144b000 r--p 00000000 08:05 5568
/usr/share/fonts/truetype/nanum/NanumGothicBold.ttf
a144b000-a17c4000 r--p 00000000 08:05 1066835
/usr/share/fonts/truetype/droid/DroidSansFallback.ttf
a17c4000-a1be9000 r--p 00000000 08:05 5567
/usr/share/fonts/truetype/nanum/NanumGothic.ttfAborted (core dumped)

a0762000-a0772000 r-xp 00000000 08:05 948394
/usr/lib/i386-linux-gnu/libva.so.1.3200.0
a0772000-a0773000 r--p 0000f000 08:05 948394
/usr/lib/i386-linux-gnu/libva.so.1.3200.0
a0773000-a0774000 rw-p 00010000 08:05 948394
/usr/lib/i386-linux-gnu/libva.so.1.3200.0
a0774000-a0778000 rw-p 00000000 00:00 0
a0778000-a0784000 r-xp 00000000 08:05 948389
/usr/lib/libgsm.so.1.0.12Aborted (core dumped)




On Mon 06 Aug 2012 12:19:38 PM CST, Xiang Wang wrote:
> *不需要安装。*
> *
> *
> http://forum.ubuntu.org.cn/viewtopic.php?f=73&t=383064
>
> 看这里的说明。
>
> On Mon, Aug 6, 2012 at 12:18 PM, Weitian Leung <weitia...@gmail.com
> <mailto:weitia...@gmail.com>> wrote:
>
> 话说要怎么安装?
> 放到/usr/share/emesene/emesene/plugins、~/.config/emesene2/plugins
> 都不行
> make install更不用想了。。。
>
> On Mon 06 Aug 2012 11:47:50 AM CST, Y C wrote:
> > 怎么了?
>
> --
> Weitian
>
>
>
>
> --
>
> */Best Regards~/*
>
>
> */Xiang Wang/*
>
> */CDC, TrendMicro/*
>
>

--
Weitian

Xiang Wang

unread,
Aug 6, 2012, 12:29:01 AM8/6/12
to gtkq...@googlegroups.com
不可能吧,我在gentoo下测试的很顺利。

你把生成的coredump发给我看看。

Xiang Wang

unread,
Aug 6, 2012, 12:31:42 AM8/6/12
to gtkq...@googlegroups.com
https://github.com/linuxqq/libwebqq 

你去把这个项目拿下来编译下。

然后替换 libwebqq/wrapper/python/_libwebqqpython.so 和 libwebqq/wrapper/python/libwebqqpython.py 到emesene/emesene/e3/webqq/ 目录下的两个同名文件。

Y C

unread,
Aug 6, 2012, 12:35:35 AM8/6/12
to gtkq...@googlegroups.com
如何编译?  写出具体的编译步骤

2012/8/6 Xiang Wang <wxje...@gmail.com>

Xiang Wang

unread,
Aug 6, 2012, 12:37:44 AM8/6/12
to gtkq...@googlegroups.com
git clone https://github.com/linuxqq/libwebqq.git
cd libwebqqpython
./autogen.sh
./configure
make

2012/8/6 Y C <linux....@gmail.com>

Y C

unread,
Aug 6, 2012, 12:43:30 AM8/6/12
to gtkq...@googlegroups.com
1、登陆的时候出现:No on message event adapter loaded. (QQTask.cpp,200)
据说是emesene的问题,现在这个问题解决了吗?

2、安装git、emesene这两个软件的时候,是用ppa安装的好,还是用软件中心的好?我是ubuntu 11.1 系统。

3、libwebqq支持代理上网吗?

Weitian Leung

unread,
Aug 6, 2012, 12:55:02 AM8/6/12
to gtkq...@googlegroups.com
复制自己编译的过去,
Errors occurred while importing webqq backend: dynamic module does not
define init function (init_libwebqqpython)
咋回事?
--
Weitian

Xiang Wang

unread,
Aug 6, 2012, 12:55:40 AM8/6/12
to gtkq...@googlegroups.com
目前我还没跟emesene的主branch做merge. 稍后就会跟emesene的维护者协商。

所以你如果要用我写的这个支持webqq 的emesene 只能从我的项目主页上下。

libwebqq支持代理的接口已经写好了。只等emesene开放调用。

2012/8/6 Y C <linux....@gmail.com>

Weitian Leung

unread,
Aug 6, 2012, 1:07:43 AM8/6/12
to gtkq...@googlegroups.com
�ðɣ��ٱ���wrppers����ģ���������
Errors occurred while importing webqq backend:
/media/workspace/src/emesene/emesene/e3/webqq/_libwebqqpython.so:
undefined symbol: curl_easy_reset

����ʱ�����Ѿ�-lcurl�˵ģ�lddȴû��
ldd _libwebqqpython.so
linux-gate.so.1 => (0xb7700000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb7503000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb74e5000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb74c9000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7324000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb72f8000)
/lib/ld-linux.so.2 (0xb7701000)

On 08/06/2012 12:55 PM, Weitian Leung wrote:
> �����Լ�����Ĺ�ȥ��
> Errors occurred while importing webqq backend: dynamic module does not
> define init function (init_libwebqqpython)
> զ���£�
>
> On Mon 06 Aug 2012 12:43:30 PM CST, Y C wrote:
>> 1����½��ʱ�����:No on message event adapter loaded. (QQTask.cpp,200)
>> ��˵��emesene�����⣬�����������������
>>
>> 2����װgit��emesene�����������ʱ������ppa��װ�ĺã�������������ĵ�
>> �ã�����ubuntu 11.1 ϵͳ��
>>
>> 3��libwebqq֧�ִ���������
> --
> Weitian

--
Weitian

Xiang Wang

unread,
Aug 6, 2012, 1:14:46 AM8/6/12
to gtkq...@googlegroups.com
你的系统是个神奇的系统。。

On Mon, Aug 6, 2012 at 1:07 PM, Weitian Leung <weitia...@gmail.com> wrote:
好吧,再编译wrppers下面的,结果是这个

Errors occurred while importing webqq backend:
/media/workspace/src/emesene/emesene/e3/webqq/_libwebqqpython.so:
undefined symbol: curl_easy_reset

编译时明明已经-lcurl了的,ldd却没有

ldd _libwebqqpython.so
linux-gate.so.1 => (0xb7700000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb7503000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb74e5000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb74c9000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7324000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb72f8000)
/lib/ld-linux.so.2 (0xb7701000)

On 08/06/2012 12:55 PM, Weitian Leung wrote:
> 复制自己编译的过去,

> Errors occurred while importing webqq backend: dynamic module does not
> define init function (init_libwebqqpython)
> 咋回事?

>
> On Mon 06 Aug 2012 12:43:30 PM CST, Y C wrote:
>> 1、登陆的时候出现:No on message event adapter loaded. (QQTask.cpp,200)

>> 据说是emesene的问题,现在这个问题解决了吗?
>>
>> 2、安装git、emesene这两个软件的时候,是用ppa安装的好,还是用软件中心的
>> 好?我是ubuntu 11.1 系统。
>>
>> 3、libwebqq支持代理上网吗?
> --
> Weitian

--
Weitian

Weitian Leung

unread,
Aug 6, 2012, 1:22:28 AM8/6/12
to gtkq...@googlegroups.com
但是make install出来的那个libwebqq.so是有的,只不过没入口点。。。
看来真是个神奇的系统。。。

On Mon 06 Aug 2012 01:14:46 PM CST, Xiang Wang wrote:
> *你的系统是个神奇的系统。。
> *

Y C

unread,
Aug 6, 2012, 1:33:03 AM8/6/12
to gtkq...@googlegroups.com
你的意思是:
1、git clone https://github.com/linuxqq/emesene.git    去下载你项目中的emesene

2、git clone https://github.com/linuxqq/libwebqq.git    再下载你项目中的libwebqq

3、编译
emesene、libwebqq

方法是:
   
emesene  不需要编译,只需要进入相应目录
libwebqq :
   
cd libwebqqpython
./autogen.sh
./configure
make & make install

是这样吗? 这两个软件没有先后顺序的区别吧?

4、已经写好了的话代理接口,大概什么时候才能被emesene调用?  因为我的网络是代理网络。

Xiang Wang

unread,
Aug 6, 2012, 1:35:32 AM8/6/12
to gtkq...@googlegroups.com
无需make install 在编译libwebqq的时候。

只要把wrapper/python下的那两个文件放到emesene/emesene/e3/webqq/的目录下即可。

没有任何先后关系。

代理的接口,请等我跟emesene的维护者协商。

这个我的项目以后肯定是要合到emesene的主项目上去的。
这样大家使用就没那么复杂了。

2012/8/6 Y C <linux....@gmail.com>

Y C

unread,
Aug 6, 2012, 4:19:41 AM8/6/12
to gtkq...@googlegroups.com
下载了libwebqq,开始源码编译,在进行了./autogen.sh及./configure 的操作后,终端中的主要内容如下:
o@O:~/下载/QQ/linuxqq-libwebqq-baae713$ ./autogen.sh
+ aclocal
+ autoconf
+ libtoolize --copy --force --automake
+ autoreconf --install
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/config.guess'
libtoolize: copying file `build-aux/config.sub'
libtoolize: copying file `build-aux/install-sh'
configure.ac:6: installing `build-aux/missing'
jsoncpp/src/Makefile.am: installing `build-aux/depcomp'
o@O:~/下载/QQ/linuxqq-libwebqq-baae713$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
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 dependency style of g++... (cached) gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
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 fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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... yes
checking how to run the C++ preprocessor... g++ -E
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 -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pthread_create in -lpthread... yes
checking for compress in -lzlib... no
checking for swig... MISSING
configure: WARNING: Could not locate the swig command so NO wrappers can be built.
  If it exists, add it to your PATH otherwise install the swig package
  (or see http://www.swig.org for download details)
o@O:~/下载/QQ/linuxqq-libwebqq-baae713$
==========================================================================
1、最后的这个WARNING的提示是什么意图?
2、你说在编译的时候不需要make install , 那么除子make install之外的语句是不是都是需要的?换言之就是在进行到make的时候,就不再输入命令了,而是将这时的wrappers/python/文件夹下的所有内容复制到emesene/emesene/e3/webqq/的目录下,之后就可以启动emesene程序了是吧?

注:我的网络是代理网络。    1中的问题是不是因为代理网络而导致的?

Xiang Wang

unread,
Aug 6, 2012, 4:30:16 AM8/6/12
to gtkq...@googlegroups.com
意思你要安装swig.

Y C

unread,
Aug 6, 2012, 4:44:53 AM8/6/12
to gtkq...@googlegroups.com
configure: error:
libcurl development headers not found.



安龙

unread,
Aug 6, 2012, 5:20:24 AM8/6/12
to gtkq...@googlegroups.com
应该是对应的dev包买装吧

2012/8/6 Y C <linux....@gmail.com>

configure: error:
libcurl development headers not found.






--
安龙

Xiang Wang

unread,
Aug 6, 2012, 5:32:53 AM8/6/12
to gtkq...@googlegroups.com
装curl

On Mon, Aug 6, 2012 at 4:44 PM, Y C <linux....@gmail.com> wrote:
configure: error:
libcurl development headers not found.






Y C

unread,
Aug 7, 2012, 12:41:08 AM8/7/12
to gtkq...@googlegroups.com
我系统中早就有curl了,貌似不是因为这个才出现
libcurl development headers not found

2012/8/6 Xiang Wang <wxje...@gmail.com>

Xiang Wang

unread,
Aug 7, 2012, 12:46:43 AM8/7/12
to gtkq...@googlegroups.com
libcurl

Y C

unread,
Aug 7, 2012, 1:40:51 AM8/7/12
to gtkq...@googlegroups.com
呵呵,sudo apt-get install libcurl ----->

正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
E: 未发现软件包 libcurl


不会是这么简单的,不然我自己就可以解决了。

2012/8/7 Xiang Wang <wxje...@gmail.com>
libcurl


李建涛

unread,
Aug 7, 2012, 1:41:52 AM8/7/12
to gtkq...@googlegroups.com
dev

Xiang Wang

unread,
Aug 10, 2012, 6:45:02 AM8/10/12
to gtkq...@googlegroups.com
你的系统是64bit 的吧?

我重写了64bit的lib,你可以拿最新的代码重新试验下。

应该是可以了。

On Mon, Aug 6, 2012 at 1:07 PM, Weitian Leung <weitia...@gmail.com> wrote:
好吧,再编译wrppers下面的,结果是这个

Errors occurred while importing webqq backend:
/media/workspace/src/emesene/emesene/e3/webqq/_libwebqqpython.so:
undefined symbol: curl_easy_reset

编译时明明已经-lcurl了的,ldd却没有

ldd _libwebqqpython.so
linux-gate.so.1 => (0xb7700000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb7503000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb74e5000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb74c9000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7324000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb72f8000)
/lib/ld-linux.so.2 (0xb7701000)

On 08/06/2012 12:55 PM, Weitian Leung wrote:
> 复制自己编译的过去,

> Errors occurred while importing webqq backend: dynamic module does not
> define init function (init_libwebqqpython)
> 咋回事?

>
> On Mon 06 Aug 2012 12:43:30 PM CST, Y C wrote:
>> 1、登陆的时候出现:No on message event adapter loaded. (QQTask.cpp,200)

>> 据说是emesene的问题,现在这个问题解决了吗?
>>
>> 2、安装git、emesene这两个软件的时候,是用ppa安装的好,还是用软件中心的
>> 好?我是ubuntu 11.1 系统。
>>
>> 3、libwebqq支持代理上网吗?
> --
> Weitian

--
Weitian

Reply all
Reply to author
Forward
0 new messages