LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: poppyer

OpenQ for Gaim2.0.0beta2最新补丁 (修正不能编译, 不能登入)

[复制链接]
发表于 2006-1-27 21:51:28 | 显示全部楼层
Post by poppyer
就是QQ要求升级客户端版本
对于旧版本的不让登入
而openQ用的是QQ 2003的那个版本
所以要做的就是升级到2005的登入协议
除了改一些常量
在登入之前还要先request login token, 这个是新协议的要求


呵呵,那好,能不能发一份你的代码过来?你上传的我下不了。
gnap.an AT gmail.com
除了登录协议以外其他的协议是否改动?
回复 支持 反对

使用道具 举报

发表于 2006-1-27 22:53:28 | 显示全部楼层
你可到这里下载:
http://dl.textwiki.org/software/openq_patch_06-01-24.tar.gz

更多内容:
http://textwiki.org/wiki/OpenQ

另外,poppyer你以后可以将源码或者编译好的包(deb、rpm都可以),发到我的信箱,然后我再放到服务器上,以方便下载。

信箱:textwiki(AT)gmail(DOT)com
回复 支持 反对

使用道具 举报

发表于 2006-1-28 01:11:14 | 显示全部楼层
自主以后可不可以提供gaim 2.0 及openQ的。集合包啊。还要写明要什么库。安装。我感觉得openq也差不多做到尽头啦。现在eva lumaqq的功能十分强大啦 还会有人在意openQ吗?而且作者都因。学习。而不在开发啦。为什么。不可以集中几个团队一起开发一个东东。本来linux开发的人已经小啦。还有重复开发。唉。。浪费。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-28 04:06:25 | 显示全部楼层
to gnap:
     xgwu的地址写错了, 应该是http://dl.textwiki.org/software/openq_patch_06-01-24.tar.gz
    那个openQ的Q应该是小写q, 呵呵

to xgwu:
    其实是主要的问题是我不会用deb,rpm这些包, 呼呼, 不好意思了
    我用的是slackware, 最简单的....

to 88djy:
     其实现在几个不用的qq软件都有不同的针对性. lumaQQ用java优点是跨平台. eva的优点是用c++, 速度快. 这两个都以功能为先的. 适合对功能要求比较高的用户. openq的优点在于gaim的多协议, 适合像我这样不想同时运行多个软件但又想同时上msn, qq, gtalk, yahoo, icq, irc的人 (哈哈, 不可否认我比较变态), 我对功能的要求倒是不高的, 能稳定的进行文字聊天就好.
     我写openq的patch给gaim2.0完全是我自己的关系, 因为我想用它, 呵呵. 后来我把代码放出来, 起因是我有朋友看见我用gaim可以同时上这么多东东, 他们也很想用. 我就想既然写了, 贡献出来给想用的人用一用也是好事一件. 特别是前几天qq强迫升级协议, 这么多人跑出来说openq不能用了, 可见openq还是很有一些人喜欢的 (跟我一样变态? 哈哈, 说笑而已, 别打我)
     我想以后我也没什么时间做qq的开发的, 别对我抱太大希望. 前面也说了, 我的要求很低的, 现在openq的功能足够了, 关键是稳定性还不行. 我最多也就是发现什么bug自己改一改而已
回复 支持 反对

使用道具 举报

发表于 2006-1-28 09:58:51 | 显示全部楼层

make 时出错!

我安装的是gaim2-b2

  1. [hades@RedHat openq-0.3.2]$ ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
  2. checking build system type... i686-pc-linux-gnu
  3. checking host system type... i686-pc-linux-gnu
  4. checking target system type... i686-pc-linux-gnu
  5. checking for a BSD-compatible install... /usr/bin/install -c
  6. checking whether build environment is sane... yes
  7. checking for gawk... gawk
  8. checking whether make sets $(MAKE)... yes
  9. checking for sed... /bin/sed
  10. checking for style of include used by make... GNU
  11. checking for gcc... gcc
  12. checking for C compiler default output... a.out
  13. checking whether the C compiler works... yes
  14. checking whether we are cross compiling... no
  15. checking for suffix of executables...
  16. checking for suffix of object files... o
  17. checking whether we are using the GNU C compiler... yes
  18. checking whether gcc accepts -g... yes
  19. checking for gcc option to accept ANSI C... none needed
  20. checking dependency style of gcc... gcc3
  21. checking for ld used by GCC... /usr/bin/ld
  22. checking if the linker (/usr/bin/ld) is GNU ld... yes
  23. checking for /usr/bin/ld option to reload object files... -r
  24. checking for BSD-compatible nm... /usr/bin/nm -B
  25. checking for a sed that does not truncate output... /bin/sed
  26. checking whether ln -s works... yes
  27. checking how to recognise dependent libraries... pass_all
  28. checking command to parse /usr/bin/nm -B output... ok
  29. checking how to run the C preprocessor... gcc -E
  30. checking for egrep... grep -E
  31. checking for ANSI C header files... yes
  32. checking for sys/types.h... yes
  33. checking for sys/stat.h... yes
  34. checking for stdlib.h... yes
  35. checking for string.h... yes
  36. checking for memory.h... yes
  37. checking for strings.h... yes
  38. checking for inttypes.h... yes
  39. checking for stdint.h... yes
  40. checking for unistd.h... yes
  41. checking dlfcn.h usability... yes
  42. checking dlfcn.h presence... yes
  43. checking for dlfcn.h... yes
  44. checking for ranlib... ranlib
  45. checking for strip... strip
  46. checking for objdir... .libs
  47. checking for gcc option to produce PIC... -fPIC
  48. checking if gcc PIC flag -fPIC works... yes
  49. checking if gcc static flag -static works... yes
  50. checking if gcc supports -c -o file.o... yes
  51. checking if gcc supports -c -o file.lo... yes
  52. checking if gcc supports -fno-rtti -fno-exceptions... yes
  53. checking whether the linker (/usr/bin/ld) supports shared libraries... yes
  54. checking how to hardcode library paths into programs... immediate
  55. checking whether stripping libraries is possible... yes
  56. checking dynamic linker characteristics... GNU/Linux ld.so
  57. checking if libtool supports shared libraries... yes
  58. checking whether to build shared libraries... yes
  59. checking whether to build static libraries... no
  60. checking whether -lc should be explicitly linked in... no
  61. creating libtool
  62. checking for msgfmt... /usr/bin/msgfmt
  63. checking for gmsgfmt... /usr/bin/msgfmt
  64. checking for xgettext... /usr/bin/xgettext
  65. checking for msgmerge... /usr/bin/msgmerge
  66. checking for ranlib... (cached) ranlib
  67. checking for strerror in -lcposix... no
  68. checking for an ANSI C-conforming const... yes
  69. checking for inline... inline
  70. checking for off_t... yes
  71. checking for size_t... yes
  72. checking for working alloca.h... yes
  73. checking for alloca... yes
  74. checking for stdlib.h... (cached) yes
  75. checking for unistd.h... (cached) yes
  76. checking for getpagesize... yes
  77. checking for working mmap... yes
  78. checking whether we are using the GNU C Library 2.1 or newer... yes
  79. checking whether integer division by zero raises SIGFPE... yes
  80. checking for inttypes.h... yes
  81. checking for stdint.h... yes
  82. checking for unsigned long long... yes
  83. checking for inttypes.h... yes
  84. checking whether the inttypes.h PRIxNN macros are broken... no
  85. checking for ld used by GCC... /usr/bin/ld
  86. checking if the linker (/usr/bin/ld) is GNU ld... yes
  87. checking for shared library run path origin... /bin/sh: ./config.rpath: No such file or directory
  88. done
  89. checking argz.h usability... yes
  90. checking argz.h presence... yes
  91. checking for argz.h... yes
  92. checking limits.h usability... yes
  93. checking limits.h presence... yes
  94. checking for limits.h... yes
  95. checking locale.h usability... yes
  96. checking locale.h presence... yes
  97. checking for locale.h... yes
  98. checking nl_types.h usability... yes
  99. checking nl_types.h presence... yes
  100. checking for nl_types.h... yes
  101. checking malloc.h usability... yes
  102. checking malloc.h presence... yes
  103. checking for malloc.h... yes
  104. checking stddef.h usability... yes
  105. checking stddef.h presence... yes
  106. checking for stddef.h... yes
  107. checking for stdlib.h... (cached) yes
  108. checking for string.h... (cached) yes
  109. checking for unistd.h... (cached) yes
  110. checking sys/param.h usability... yes
  111. checking sys/param.h presence... yes
  112. checking for sys/param.h... yes
  113. checking for feof_unlocked... yes
  114. checking for fgets_unlocked... yes
  115. checking for getc_unlocked... yes
  116. checking for getcwd... yes
  117. checking for getegid... yes
  118. checking for geteuid... yes
  119. checking for getgid... yes
  120. checking for getuid... yes
  121. checking for mempcpy... yes
  122. checking for munmap... yes
  123. checking for putenv... yes
  124. checking for setenv... yes
  125. checking for setlocale... yes
  126. checking for stpcpy... yes
  127. checking for strcasecmp... yes
  128. checking for strdup... yes
  129. checking for strtoul... yes
  130. checking for tsearch... yes
  131. checking for __argz_count... yes
  132. checking for __argz_stringify... yes
  133. checking for __argz_next... yes
  134. checking for iconv... yes
  135. checking for iconv declaration...
  136.          extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *
  137. checking for nl_langinfo and CODESET... yes
  138. checking for LC_MESSAGES... yes
  139. checking for bison... bison
  140. checking version of bison... 1.875, ok
  141. checking whether NLS is requested... yes
  142. checking whether included gettext is requested... no
  143. checking for GNU gettext in libc... yes
  144. checking for pkg-config... /usr/bin/pkg-config
  145. checking for gaim... yes
  146. checking GAIM_CFLAGS... -I/usr/local/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
  147. checking GAIM_LIBS... -lglib-2.0
  148. checking for pkg-config... (cached) /usr/bin/pkg-config
  149. checking for GLIB - version >= 2.0.0... yes (version 2.4.7)
  150. checking for pkg-config... (cached) /usr/bin/pkg-config
  151. checking for GTK+ - version >= 2.0.0... yes (version 2.4.13)
  152. configure: creating ./config.status
  153. cmp: VERSION: No such file or directory
  154. touch: failed to get attributes of `VERSION.ac-save': No such file or directory
  155. config.status: creating Makefile
  156. config.status: creating VERSION
  157. config.status: creating openq.spec
  158. config.status: creating data/Makefile
  159. config.status: creating intl/Makefile
  160. config.status: creating nsis/Makefile
  161. config.status: creating nsis/translations/Makefile
  162. config.status: creating pixmaps/Makefile
  163. config.status: creating pixmaps/smileys/Makefile
  164. config.status: creating pixmaps/smileys/2003iii/Makefile
  165. config.status: creating pixmaps/status/Makefile
  166. config.status: creating pixmaps/status/default/Makefile
  167. config.status: creating po/Makefile.in
  168. config.status: creating src/Makefile
  169. config.status: creating config.h
  170. config.status: executing depfiles commands
  171. config.status: executing default-1 commands
  172. config.status: creating po/POTFILES
  173. config.status: creating po/Makefile

  174. Configuration complete

  175. Debugging enabled..............: no
  176. Deprecated API enabled.........: yes

  177. Type make to compile
  178. Thank you for choosing OpenQ

  179. [hades@RedHat openq-0.3.2]$ make
  180. make  all-recursive
  181. make[1]: Entering directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2'
  182. Making all in intl
  183. make[2]: Entering directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/intl'
  184. make[2]: Nothing to be done for `all'.
  185. make[2]: Leaving directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/intl'
  186. Making all in nsis
  187. make[2]: Entering directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/nsis'
  188. Making all in translations
  189. make[3]: Entering directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/nsis/translations'
  190. make[3]: Nothing to be done for `all'.
  191. make[3]: Leaving directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/nsis/translations'
  192. make[3]: Entering directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/nsis'
  193. make[3]: Nothing to be done for `all-am'.
  194. make[3]: Leaving directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/nsis'
  195. make[2]: Leaving directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/nsis'
  196. Making all in po
  197. make[2]: Entering directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/po'
  198. make[2]: Nothing to be done for `all'.
  199. make[2]: Leaving directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/po'
  200. Making all in src
  201. make[2]: Entering directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/src'
  202. source='utils.c' object='utils.lo' libtool=yes \
  203. depfile='.deps/utils.Plo' tmpdepfile='.deps/utils.TPlo' \
  204. depmode=gcc3 /bin/sh ../depcomp \
  205. /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -IENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usI/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/inlude/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gR6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/fre/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/local/include/gai0/include     -DDATADIR="/usr/local/share" -DLIBDIR="/usr/local/lib/gaim/" -DLOCALEDIR="/usr/locatc" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o utils.lo `test -f 'utils.c' || echo './'`utils.c
  206. utils.c: In function `str_ip_gen':
  207. utils.c:135: warning: implicit declaration of function `sscanf'
  208. source='packet_parse.c' object='packet_parse.lo' libtool=yes \
  209. depfile='.deps/packet_parse.Plo' tmpdepfile='.deps/packet_parse.TPlo' \
  210. depmode=gcc3 /bin/sh ../depcomp \
  211. /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -IENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usI/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/inlude/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gR6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/fre/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/local/include/gai0/include     -DDATADIR="/usr/local/share" -DLIBDIR="/usr/local/lib/gaim/" -DLOCALEDIR="/usr/locatc" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o packet_parse.lo `test -f 'packet_parse.c' || echo './
  212. source='buddy_info.c' object='buddy_info.lo' libtool=yes \
  213. depfile='.deps/buddy_info.Plo' tmpdepfile='.deps/buddy_info.TPlo' \
  214. depmode=gcc3 /bin/sh ../depcomp \
  215. /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -IENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usI/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/inlude/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gR6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/fre/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/local/include/gai0/include     -DDATADIR="/usr/local/share" -DLIBDIR="/usr/local/lib/gaim/" -DLOCALEDIR="/usr/locatc" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o buddy_info.lo `test -f 'buddy_info.c' || echo './'`bu
  216. source='buddy_list.c' object='buddy_list.lo' libtool=yes \
  217. depfile='.deps/buddy_list.Plo' tmpdepfile='.deps/buddy_list.TPlo' \
  218. depmode=gcc3 /bin/sh ../depcomp \
  219. /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -IENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usI/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/inlude/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gR6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/fre/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/local/include/gai0/include     -DDATADIR="/usr/local/share" -DLIBDIR="/usr/local/lib/gaim/" -DLOCALEDIR="/usr/locatc" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o buddy_list.lo `test -f 'buddy_list.c' || echo './'`bu
  220. source='buddy_opt.c' object='buddy_opt.lo' libtool=yes \
  221. depfile='.deps/buddy_opt.Plo' tmpdepfile='.deps/buddy_opt.TPlo' \
  222. depmode=gcc3 /bin/sh ../depcomp \
  223. /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -IENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usI/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/inlude/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gR6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/fre/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include                           0/include     -DDATADIR="/usr/local/share" -DLIBDIR="/usr/local/lib/gaim/\                         tc" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o buddy_opt.lo `test -f 'buddy
  224. source='buddy_status.c' object='buddy_status.lo' libtool=yes \
  225. depfile='.deps/buddy_status.Plo' tmpdepfile='.deps/buddy_status.TPlo' \
  226. depmode=gcc3 /bin/sh ../depcomp \
  227. /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -                         ENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -                         I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2                         lude/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MT                         R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/fre                         /lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include                           0/include     -DDATADIR="/usr/local/share" -DLIBDIR="/usr/local/lib/gaim/\                         tc" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o buddy_status.lo `test -f 'bu
  228. source='qq.c' object='qq.lo' libtool=yes \
  229. depfile='.deps/qq.Plo' tmpdepfile='.deps/qq.TPlo' \
  230. depmode=gcc3 /bin/sh ../depcomp \
  231. /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -                         ENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -                         I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2                         lude/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MT                         R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/fre                         /lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include                           0/include     -DDATADIR="/usr/local/share" -DLIBDIR="/usr/local/lib/gaim/\                         tc" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o qq.lo `test -f 'qq.c' || ech
  232. qq.c: In function `_qq_away_states':
  233. qq.c:348: error: `GAIM_STATUS_HIDDEN' undeclared (first use in this function)
  234. qq.c:348: error: (Each undeclared identifier is reported only once
  235. qq.c:348: error: for each function it appears in.)
  236. qq.c: In function `_qq_buddy_menu':
  237. qq.c:881: error: `GaimBlistNodeAction' undeclared (first use in this function
  238. qq.c:881: error: `act' undeclared (first use in this function)
  239. qq.c:884: warning: implicit declaration of function `gaim_blist_node_action_n
  240. qq.c: In function `_qq_chat_menu':
  241. qq.c:898: error: `GaimBlistNodeAction' undeclared (first use in this function
  242. qq.c:898: error: `act' undeclared (first use in this function)
  243. qq.c: At top level:
  244. qq.c:1014: warning: initialization from incompatible pointer type
  245. make[2]: *** [qq.lo] Error 1
  246. make[2]: Leaving directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/src
  247. make[1]: *** [all-recursive] Error 1
  248. make[1]: Leaving directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2'
  249. make: *** [all] Error 2
  250. [hades@RedHat openq-0.3.2]$      
复制代码


谢谢!
回复 支持 反对

使用道具 举报

发表于 2006-1-28 11:05:42 | 显示全部楼层
Post by poppyer
to gnap:
     xgwu的地址写错了, 应该是http://dl.textwiki.org/software/openq_patch_06-01-24.tar.gz
    那个openQ的Q应该是小写q, 呵呵

to xgwu:
    其实是主要的问题是我不会用deb,rpm这些包, 呼呼, 不好意思了
    我用的是slackware, 最简单的....

to 88djy:
     其实现在几个不用的qq软件都有不同的针对性. lumaQQ用java优点是跨平台. eva的优点是用c++, 速度快. 这两个都以功能为先的. 适合对功能要求比较高的用户. openq的优点在于gaim的多协议, 适合像我这样不想同时运行多个软件但又想同时上msn, qq, gtalk, yahoo, icq, irc的人 (哈哈, 不可否认我比较变态), 我对功能的要求倒是不高的, 能稳定的进行文字聊天就好.
     我写openq的patch给gaim2.0完全是我自己的关系, 因为我想用它, 呵呵. 后来我把代码放出来, 起因是我有朋友看见我用gaim可以同时上这么多东东, 他们也很想用. 我就想既然写了, 贡献出来给想用的人用一用也是好事一件. 特别是前几天qq强迫升级协议, 这么多人跑出来说openq不能用了, 可见openq还是很有一些人喜欢的 (跟我一样变态? 哈哈, 说笑而已, 别打我)
     我想以后我也没什么时间做qq的开发的, 别对我抱太大希望. 前面也说了, 我的要求很低的, 现在openq的功能足够了, 关键是稳定性还不行. 我最多也就是发现什么bug自己改一改而已


我下到了,在他的wiki上。我想帮忙维护openq,如果能多留一些“财产”给我的话,我就不用从零开始了。
回复 支持 反对

使用道具 举报

发表于 2006-1-31 04:03:49 | 显示全部楼层
Post by hades
我安装的是gaim2-b2

  1. [hades@RedHat openq-0.3.2]$ ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
  2. checking build system type... i686-pc-linux-gnu
  3. checking host system type... i686-pc-linux-gnu
  4. checking target system type... i686-pc-linux-gnu
  5. checking for a BSD-compatible install... /usr/bin/install -c
  6. checking whether build environment is sane... yes
  7. checking for gawk... gawk
  8. checking whether make sets $(MAKE)... yes
  9. checking for sed... /bin/sed
  10. checking for style of include used by make... GNU
  11. checking for gcc... gcc
  12. checking for C compiler default output... a.out
  13. checking whether the C compiler works... yes
  14. checking whether we are cross compiling... no
  15. checking for suffix of executables...
  16. checking for suffix of object files... o
  17. checking whether we are using the GNU C compiler... yes
  18. checking whether gcc accepts -g... yes
  19. checking for gcc option to accept ANSI C... none needed
  20. checking dependency style of gcc... gcc3
  21. checking for ld used by GCC... /usr/bin/ld
  22. checking if the linker (/usr/bin/ld) is GNU ld... yes
  23. checking for /usr/bin/ld option to reload object files... -r
  24. checking for BSD-compatible nm... /usr/bin/nm -B
  25. checking for a sed that does not truncate output... /bin/sed
  26. checking whether ln -s works... yes
  27. checking how to recognise dependent libraries... pass_all
  28. checking command to parse /usr/bin/nm -B output... ok
  29. checking how to run the C preprocessor... gcc -E
  30. checking for egrep... grep -E
  31. checking for ANSI C header files... yes
  32. checking for sys/types.h... yes
  33. checking for sys/stat.h... yes
  34. checking for stdlib.h... yes
  35. checking for string.h... yes
  36. checking for memory.h... yes
  37. checking for strings.h... yes
  38. checking for inttypes.h... yes
  39. checking for stdint.h... yes
  40. checking for unistd.h... yes
  41. checking dlfcn.h usability... yes
  42. checking dlfcn.h presence... yes
  43. checking for dlfcn.h... yes
  44. checking for ranlib... ranlib
  45. checking for strip... strip
  46. checking for objdir... .libs
  47. checking for gcc option to produce PIC... -fPIC
  48. checking if gcc PIC flag -fPIC works... yes
  49. checking if gcc static flag -static works... yes
  50. checking if gcc supports -c -o file.o... yes
  51. checking if gcc supports -c -o file.lo... yes
  52. checking if gcc supports -fno-rtti -fno-exceptions... yes
  53. checking whether the linker (/usr/bin/ld) supports shared libraries... yes
  54. checking how to hardcode library paths into programs... immediate
  55. checking whether stripping libraries is possible... yes
  56. checking dynamic linker characteristics... GNU/Linux ld.so
  57. checking if libtool supports shared libraries... yes
  58. checking whether to build shared libraries... yes
  59. checking whether to build static libraries... no
  60. checking whether -lc should be explicitly linked in... no
  61. creating libtool
  62. checking for msgfmt... /usr/bin/msgfmt
  63. checking for gmsgfmt... /usr/bin/msgfmt
  64. checking for xgettext... /usr/bin/xgettext
  65. checking for msgmerge... /usr/bin/msgmerge
  66. checking for ranlib... (cached) ranlib
  67. checking for strerror in -lcposix... no
  68. checking for an ANSI C-conforming const... yes
  69. checking for inline... inline
  70. checking for off_t... yes
  71. checking for size_t... yes
  72. checking for working alloca.h... yes
  73. checking for alloca... yes
  74. checking for stdlib.h... (cached) yes
  75. checking for unistd.h... (cached) yes
  76. checking for getpagesize... yes
  77. checking for working mmap... yes
  78. checking whether we are using the GNU C Library 2.1 or newer... yes
  79. checking whether integer division by zero raises SIGFPE... yes
  80. checking for inttypes.h... yes
  81. checking for stdint.h... yes
  82. checking for unsigned long long... yes
  83. checking for inttypes.h... yes
  84. checking whether the inttypes.h PRIxNN macros are broken... no
  85. checking for ld used by GCC... /usr/bin/ld
  86. checking if the linker (/usr/bin/ld) is GNU ld... yes
  87. checking for shared library run path origin... /bin/sh: ./config.rpath: No such file or directory
  88. done
  89. checking argz.h usability... yes
  90. checking argz.h presence... yes
  91. checking for argz.h... yes
  92. checking limits.h usability... yes
  93. checking limits.h presence... yes
  94. checking for limits.h... yes
  95. checking locale.h usability... yes
  96. checking locale.h presence... yes
  97. checking for locale.h... yes
  98. checking nl_types.h usability... yes
  99. checking nl_types.h presence... yes
  100. checking for nl_types.h... yes
  101. checking malloc.h usability... yes
  102. checking malloc.h presence... yes
  103. checking for malloc.h... yes
  104. checking stddef.h usability... yes
  105. checking stddef.h presence... yes
  106. checking for stddef.h... yes
  107. checking for stdlib.h... (cached) yes
  108. checking for string.h... (cached) yes
  109. checking for unistd.h... (cached) yes
  110. checking sys/param.h usability... yes
  111. checking sys/param.h presence... yes
  112. checking for sys/param.h... yes
  113. checking for feof_unlocked... yes
  114. checking for fgets_unlocked... yes
  115. checking for getc_unlocked... yes
  116. checking for getcwd... yes
  117. checking for getegid... yes
  118. checking for geteuid... yes
  119. checking for getgid... yes
  120. checking for getuid... yes
  121. checking for mempcpy... yes
  122. checking for munmap... yes
  123. checking for putenv... yes
  124. checking for setenv... yes
  125. checking for setlocale... yes
  126. checking for stpcpy... yes
  127. checking for strcasecmp... yes
  128. checking for strdup... yes
  129. checking for strtoul... yes
  130. checking for tsearch... yes
  131. checking for __argz_count... yes
  132. checking for __argz_stringify... yes
  133. checking for __argz_next... yes
  134. checking for iconv... yes
  135. checking for iconv declaration...
  136.          extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *
  137. checking for nl_langinfo and CODESET... yes
  138. checking for LC_MESSAGES... yes
  139. checking for bison... bison
  140. checking version of bison... 1.875, ok
  141. checking whether NLS is requested... yes
  142. checking whether included gettext is requested... no
  143. checking for GNU gettext in libc... yes
  144. checking for pkg-config... /usr/bin/pkg-config
  145. checking for gaim... yes
  146. checking GAIM_CFLAGS... -I/usr/local/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
  147. checking GAIM_LIBS... -lglib-2.0
  148. checking for pkg-config... (cached) /usr/bin/pkg-config
  149. checking for GLIB - version >= 2.0.0... yes (version 2.4.7)
  150. checking for pkg-config... (cached) /usr/bin/pkg-config
  151. checking for GTK+ - version >= 2.0.0... yes (version 2.4.13)
  152. configure: creating ./config.status
  153. cmp: VERSION: No such file or directory
  154. touch: failed to get attributes of `VERSION.ac-save': No such file or directory
  155. config.status: creating Makefile
  156. config.status: creating VERSION
  157. config.status: creating openq.spec
  158. config.status: creating data/Makefile
  159. config.status: creating intl/Makefile
  160. config.status: creating nsis/Makefile
  161. config.status: creating nsis/translations/Makefile
  162. config.status: creating pixmaps/Makefile
  163. config.status: creating pixmaps/smileys/Makefile
  164. config.status: creating pixmaps/smileys/2003iii/Makefile
  165. config.status: creating pixmaps/status/Makefile
  166. config.status: creating pixmaps/status/default/Makefile
  167. config.status: creating po/Makefile.in
  168. config.status: creating src/Makefile
  169. config.status: creating config.h
  170. config.status: executing depfiles commands
  171. config.status: executing default-1 commands
  172. config.status: creating po/POTFILES
  173. config.status: creating po/Makefile

  174. Configuration complete

  175. Debugging enabled..............: no
  176. Deprecated API enabled.........: yes

  177. Type make to compile
  178. Thank you for choosing OpenQ

  179. [hades@RedHat openq-0.3.2]$ make
  180. make  all-recursive
  181. make[1]: Entering directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2'
  182. Making all in intl
  183. make[2]: Entering directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/intl'
  184. make[2]: Nothing to be done for `all'.
  185. make[2]: Leaving directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/intl'
  186. Making all in nsis
  187. make[2]: Entering directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/nsis'
  188. Making all in translations
  189. make[3]: Entering directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/nsis/translations'
  190. make[3]: Nothing to be done for `all'.
  191. make[3]: Leaving directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/nsis/translations'
  192. make[3]: Entering directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/nsis'
  193. make[3]: Nothing to be done for `all-am'.
  194. make[3]: Leaving directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/nsis'
  195. make[2]: Leaving directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/nsis'
  196. Making all in po
  197. make[2]: Entering directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/po'
  198. make[2]: Nothing to be done for `all'.
  199. make[2]: Leaving directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/po'
  200. Making all in src
  201. make[2]: Entering directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/src'
  202. source='utils.c' object='utils.lo' libtool=yes \
  203. depfile='.deps/utils.Plo' tmpdepfile='.deps/utils.TPlo' \
  204. depmode=gcc3 /bin/sh ../depcomp \
  205. /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -IENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usI/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/inlude/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gR6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/fre/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/local/include/gai0/include     -DDATADIR="/usr/local/share" -DLIBDIR="/usr/local/lib/gaim/" -DLOCALEDIR="/usr/locatc" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o utils.lo `test -f 'utils.c' || echo './'`utils.c
  206. utils.c: In function `str_ip_gen':
  207. utils.c:135: warning: implicit declaration of function `sscanf'
  208. source='packet_parse.c' object='packet_parse.lo' libtool=yes \
  209. depfile='.deps/packet_parse.Plo' tmpdepfile='.deps/packet_parse.TPlo' \
  210. depmode=gcc3 /bin/sh ../depcomp \
  211. /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -IENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usI/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/inlude/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gR6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/fre/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/local/include/gai0/include     -DDATADIR="/usr/local/share" -DLIBDIR="/usr/local/lib/gaim/" -DLOCALEDIR="/usr/locatc" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o packet_parse.lo `test -f 'packet_parse.c' || echo './
  212. source='buddy_info.c' object='buddy_info.lo' libtool=yes \
  213. depfile='.deps/buddy_info.Plo' tmpdepfile='.deps/buddy_info.TPlo' \
  214. depmode=gcc3 /bin/sh ../depcomp \
  215. /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -IENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usI/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/inlude/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gR6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/fre/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/local/include/gai0/include     -DDATADIR="/usr/local/share" -DLIBDIR="/usr/local/lib/gaim/" -DLOCALEDIR="/usr/locatc" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o buddy_info.lo `test -f 'buddy_info.c' || echo './'`bu
  216. source='buddy_list.c' object='buddy_list.lo' libtool=yes \
  217. depfile='.deps/buddy_list.Plo' tmpdepfile='.deps/buddy_list.TPlo' \
  218. depmode=gcc3 /bin/sh ../depcomp \
  219. /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -IENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usI/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/inlude/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gR6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/fre/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/local/include/gai0/include     -DDATADIR="/usr/local/share" -DLIBDIR="/usr/local/lib/gaim/" -DLOCALEDIR="/usr/locatc" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o buddy_list.lo `test -f 'buddy_list.c' || echo './'`bu
  220. source='buddy_opt.c' object='buddy_opt.lo' libtool=yes \
  221. depfile='.deps/buddy_opt.Plo' tmpdepfile='.deps/buddy_opt.TPlo' \
  222. depmode=gcc3 /bin/sh ../depcomp \
  223. /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -IENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usI/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/inlude/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gR6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/fre/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include                           0/include     -DDATADIR="/usr/local/share" -DLIBDIR="/usr/local/lib/gaim/\                         tc" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o buddy_opt.lo `test -f 'buddy
  224. source='buddy_status.c' object='buddy_status.lo' libtool=yes \
  225. depfile='.deps/buddy_status.Plo' tmpdepfile='.deps/buddy_status.TPlo' \
  226. depmode=gcc3 /bin/sh ../depcomp \
  227. /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -                         ENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -                         I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2                         lude/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MT                         R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/fre                         /lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include                           0/include     -DDATADIR="/usr/local/share" -DLIBDIR="/usr/local/lib/gaim/\                         tc" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o buddy_status.lo `test -f 'bu
  228. source='qq.c' object='qq.lo' libtool=yes \
  229. depfile='.deps/qq.Plo' tmpdepfile='.deps/qq.TPlo' \
  230. depmode=gcc3 /bin/sh ../depcomp \
  231. /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -                         ENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -                         I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2                         lude/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MT                         R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/fre                         /lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include                           0/include     -DDATADIR="/usr/local/share" -DLIBDIR="/usr/local/lib/gaim/\                         tc" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o qq.lo `test -f 'qq.c' || ech
  232. qq.c: In function `_qq_away_states':
  233. qq.c:348: error: `GAIM_STATUS_HIDDEN' undeclared (first use in this function)
  234. qq.c:348: error: (Each undeclared identifier is reported only once
  235. qq.c:348: error: for each function it appears in.)
  236. qq.c: In function `_qq_buddy_menu':
  237. qq.c:881: error: `GaimBlistNodeAction' undeclared (first use in this function
  238. qq.c:881: error: `act' undeclared (first use in this function)
  239. qq.c:884: warning: implicit declaration of function `gaim_blist_node_action_n
  240. qq.c: In function `_qq_chat_menu':
  241. qq.c:898: error: `GaimBlistNodeAction' undeclared (first use in this function
  242. qq.c:898: error: `act' undeclared (first use in this function)
  243. qq.c: At top level:
  244. qq.c:1014: warning: initialization from incompatible pointer type
  245. make[2]: *** [qq.lo] Error 1
  246. make[2]: Leaving directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2/src
  247. make[1]: *** [all-recursive] Error 1
  248. make[1]: Leaving directory `/home/linux-tool/qq/openq-0.3.2-1/openq-0.3.2'
  249. make: *** [all] Error 2
  250. [hades@RedHat openq-0.3.2]$      
复制代码


谢谢!

我的編譯結果跟你一樣, 試了 cvs及 beta 2; 32 bit debian 及 64bit gentoo 上也是一樣;
看來openq還要再修正一下才能在普遍平台上編譯
回复 支持 反对

使用道具 举报

发表于 2006-1-31 04:07:05 | 显示全部楼层
附加一點, 同時亦試過用 gcc 4.02 及 gcc 3.4.5, 錯誤訊息一樣
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-31 05:46:11 | 显示全部楼层
不好意思, 是我慢了
我不知道gaim出了b2了
我还是在用b1, 呵呵
正在改中
争取一两天尽快把b2的patch放上来
回复 支持 反对

使用道具 举报

发表于 2006-1-31 22:30:20 | 显示全部楼层
首先多谢各位!
我使用MDK COOKER, 已经升级使用gaim 2.0 beta2, 能不能提供mdk使用的rpm安装包。
谢谢!

我在mdk cooker/2006.1使用configure出现下面的错误
checking for pkg-config... /usr/bin/pkg-config
checking for gaim... Package gaim was not found in the pkg-config search path. Perhaps you should add the directory containing `gaim.pc' to the PKG_CONFIG_PATH environment variable No package 'gaim' found
configure: error: Library requirements (gaim) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

[root@MyHost openq-0.3.2]# rpm -qa|grep gaim
gaim-2.0.0-0.beta2.2mdk
gaim-openq-0.3.2-1mdk
gaim-client-2.0.0-0.beta2.2mdk
回复 支持 反对

使用道具 举报

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

本版积分规则

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