kernelhcy / gtkqq

a qq client based on gtk+ uses webqq protocol
http://code.google.com/p/gtk-qq/
GNU General Public License v3.0
181 stars 42 forks source link

ubuntu 10.04 编译不成功 #74

Open billzt opened 12 years ago

billzt commented 12 years ago

鉴于把 gtkqq port 到老版本的呼声极高,我自己在 ubuntu 10.04 上试了一下,首先把 configure.ac 里面的 PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.24] 改成 PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.20], 然后在 configure 时出错了,(已经安装 zlib1g-dev,版本是1.2.3.3)

checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ZLIB... configure: error: Package requirements (zlib >= 1.2) were not met:

No package 'zlib' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables ZLIB_CFLAGS and ZLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

看了一下,Ubuntu 10.04 的安装位置是: /. /usr /usr/include /usr/include/zconf.h /usr/include/zlib.h /usr/include/zlibdefs.h /usr/lib /usr/lib/libz.a /usr/lib/libz.so

而 Ubuntu 11.10 的安装位置却是: /. /usr /usr/include /usr/include/zconf.h /usr/include/zlib.h /usr/include/zlibdefs.h /usr/lib /usr/lib/i386-linux-gnu /usr/lib/i386-linux-gnu/libz.a /usr/lib/i386-linux-gnu/libz.so /usr/lib/i386-linux-gnu/pkgconfig /usr/lib/i386-linux-gnu/pkgconfig/zlib.pc

后者能编译,前者就不行

shwangdev commented 12 years ago

谁说要把gtkqq port到老版本的? 2012/2/12 billzt < reply@reply.github.com

鉴于把 gtkqq port 到老版本的呼声极高

*

Best Regards, **

Xiang Wang| Engineer of Linux

Gtalk: wxjeacen AT gmail DOT com wxjeacen@gmail.com

*

billzt commented 12 years ago

@wxjeacen 大家都有这个需求,你可以去 ubuntu 论坛看看

shwangdev commented 12 years ago

地址贴上来。 2012/2/12 billzt < reply@reply.github.com

@wxjeacen 大家都有这个需求,你可以去 ubuntu 论坛看看


Reply to this email directly or view it on GitHub: https://github.com/kernelhcy/gtkqq/issues/74#issuecomment-3927059

*

Best Regards, **

Xiang Wang| Engineer of Linux

Gtalk: wxjeacen AT gmail DOT com wxjeacen@gmail.com

*

billzt commented 12 years ago

@wxjeacen

http://forum.ubuntu.org.cn/viewtopic.php?f=73&t=358133

https://groups.google.com/forum/#!topic/gtkqq-dev/Mdks4XzayJ4

mathslinux commented 12 years ago

ؼ /usr/lib/i386-linux-gnu/pkgconfig ļ, ļһ.

2012212 6:43billzt < reply@reply.github.com

д

ڰ gtkqq port ϰ汾ĺߣԼ ubuntu 10.04 һ£Ȱ configure.ac PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.24] ij PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.20], Ȼ configure ʱˣѾװ zlib1g-dev汾1.2.3.3

checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ZLIB... configure: error: Package requirements (zlib >= 1.2) were not met:

No package 'zlib' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables ZLIB_CFLAGS and ZLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

һ£Ubuntu 10.04 İװλǣ /. /usr /usr/include /usr/include/zconf.h /usr/include/zlib.h /usr/include/zlibdefs.h /usr/lib /usr/lib/libz.a /usr/lib/libz.so

Ubuntu 11.10 İװλȴǣ /. /usr /usr/include /usr/include/zconf.h /usr/include/zlib.h /usr/include/zlibdefs.h /usr/lib /usr/lib/i386-linux-gnu /usr/lib/i386-linux-gnu/libz.a /usr/lib/i386-linux-gnu/libz.so /usr/lib/i386-linux-gnu/pkgconfig /usr/lib/i386-linux-gnu/pkgconfig/zlib.pc

ܱ룬ǰ߾Ͳ


Reply to this email directly or view it on GitHub: https://github.com/kernelhcy/gtkqq/issues/74

linuxer and emacser and pythoner living in xiamen blog: http://mathslinux.org twitter: https://twitter.com/mathslinux google+: https://plus.google.com/118129852578326338750

ekd123 commented 12 years ago

其实我一直等着上GTK3

crab2313 commented 12 years ago

楼上的哥们,我们一起动手上GTK3得了

billzt commented 12 years ago

@crab2313 不行啊,gtk3只有 Ubuntu 11.04 以后的版本才有相应的开发工具,以前的版本是没有的。

crab2313 commented 12 years ago

@billzt 用gtk3的也有需求阿, 同时开两个分支就行了, 共用一套 libqq, UI倒不怎么重要

billzt commented 12 years ago

@crab2313 但是现在大家精力也有限吧?因为还有好多很重要的功能没有完成

ekd123 commented 12 years ago

@billzt 其实核心功能在libqq里面实现了就可以吧

ekd123 commented 12 years ago

@crab2313 我试过用GTK3编译,果断失败了

crab2313 commented 12 years ago

@ekd123 我fork的那个里面有个gtk3-port,测试环境是gentoo搭gnome3 gtk-3.2.3,你试试

shwangdev commented 12 years ago

@crab2313 @ekd123 你们对gtkqq的底层了解多少? 知道message接受的机制吗?对message现有的接受机制有什么好的建议。 还有当login panel结束,开始show mainpanel之前,整个后台都干了什么?

crab2313 commented 12 years ago

额, 最后一句问的什么阿,是问的都干什么了么。那个libqq没看, 真心不想研究。message 是用的glib 的 main event loop吧。 建议不好说,自己没试之前我不会轻易说出来。

crab2313 commented 12 years ago

@wxjeacen 有个 login_state_machine 读取完用户信息之后 就会掉用那个 login_state_machine, 那个流程走完成功了就会 attach qq_mainpanel_update和 qq_mainwindow_show_mainpanel 失败了就会回 show loginpanel

crab2313 commented 12 years ago

@wxjeacen 我看过源码, 还没看完。正在看,时间问题

ekd123 commented 12 years ago

@wxjeacen 其实我不了解,但我不认为把feature扔进UI是个好做法,尤其是有相应的 lib 后

crab2313 commented 12 years ago

同意

crab2313 commented 12 years ago

@wxjeacen 如果作者你同意, 我希望给dev分支加上 --enable-gtk3 选项, 我动手改

shwangdev commented 12 years ago

@crab2313 我觉得你可以在你自己local build里面修改好了,然后提merge request, 我们会review的。

crab2313 commented 12 years ago

多谢, 我开干