现在我编译出来的 pidgin 为啥一定会有一个命令行窗口?

14 views
Skip to first unread message

Chunlin Zhang

unread,
Jan 13, 2010, 1:43:47 AM1/13/10
to OpenQ开发者邮件列表
我现在用的是 pidgin 2.6.5,openq 用的是 google code 上的版本
命令行输入如下,关掉这个窗口程序也关闭了.
能去掉这个命令行窗口吗?

Could not open reg subkey: SOFTWARE\GTK\2.0
Error: (2) 系统找不到指定的文件。

Could not open reg subkey: SOFTWARE\GTK\2.0
Error: (2) 系统找不到指定的文件。


GTK+ Path Registry Key not found. Assuming GTK+ is in the PATH.
Could not open reg subkey: SOFTWARE\pidgin
Error: (2) 系统找不到指定的文件。

Setting locale: LANG=zh_CN
Looking for Perl... found in 'C:\Perl\'.
Looking for MIT Kerberos... found in 'D:\GREEN\im.PidginPortable2.5.5\App\GTKLeg
acy\'.
New PATH: PATH=D:\GREEN\im.PidginPortable2.5.5\App\GTK\bin;C:\WINDOWS\system32;C
:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Thunder Network
\KanKan\Codecs;C:\Program Files\EgisTec BioExcess\;C:\Program Files\Intel\WiFi\b
in\;D:\Program Files\Lua\5.1;D:\Program Files\Lua\5.1\clibs;D:\Program Files\Tor
toiseHg;D:\Program Files\TortoiseSVN\bin;C:\utils\Perl\bin;D:\MYDLL;C:\Perl\bin;
D:\GREEN\im.PidginPortable2.5.5\App\GTKLegacy\bin;

Chunlin Zhang

unread,
Jan 13, 2010, 2:38:38 AM1/13/10
to OpenQ开发者邮件列表
用 pidgin 2.6.2 就不会.

2010/1/13 Chunlin Zhang <zhangc...@gmail.com>:

ccpaging

unread,
Jan 13, 2010, 2:46:30 AM1/13/10
to openq
改Makefile.mingw把perl和gtkperl相关的关掉,还有一个bonj...的插件,我也是关掉的。
 
 
2010-01-13

ccpaging

发件人: Chunlin Zhang
发送时间: 2010-01-13  14:44:02
收件人: OpenQ开发者邮件列表
抄送:
主题: [OpenQ-dev] 现在我编译出来的 pidgin 为啥一定会有一个命令行窗口?

Chunlin Zhang

unread,
Jan 13, 2010, 3:47:48 AM1/13/10
to op...@googlegroups.com
我去掉了,clean 完重新编译还是一样的现象.奇怪的时候命令行里还是要找 perl 和 MIT Kerberos

之前还特意在 config.h 里 #undef DEBUG 了,也还是一样.

我是这样改的:
pidgin-2.6.5\libpurple\plugins\Makefile.mingw

all: $(PURPLE_DLL).a plugins
# $(MAKE) -C $(PERL_PLUGIN) -f $(MINGW_MAKEFILE)
# $(MAKE) -C $(TCL_PLUGIN) -f $(MINGW_MAKEFILE)
$(MAKE) -C $(SSL_PLUGIN) -f $(MINGW_MAKEFILE)

install: all $(PURPLE_INSTALL_PLUGINS_DIR)
# $(MAKE) -C $(PERL_PLUGIN) -f $(MINGW_MAKEFILE) install
# $(MAKE) -C $(TCL_PLUGIN) -f $(MINGW_MAKEFILE) install
$(MAKE) -C $(SSL_PLUGIN) -f $(MINGW_MAKEFILE) install
cp *.dll $(PURPLE_INSTALL_PLUGINS_DIR)

2010/1/13 ccpaging <ccpa...@gmail.com>:

ccpaging

unread,
Jan 13, 2010, 4:20:38 AM1/13/10
to openq
注释掉pidgin-2.6.5\pidgin\plugins\makefile.mingw里边的gtkperl
 
 
2010-01-13

ccpaging

发件人: Chunlin Zhang
发送时间: 2010-01-13  16:48:02
收件人: openq
抄送:
主题: Re: [OpenQ-dev] 现在我编译出来的 pidgin 为啥一定会有一个命令行窗口?

Chunlin Zhang

unread,
Jan 13, 2010, 4:50:47 AM1/13/10
to op...@googlegroups.com
还是一样的,我使用的话还是用 2.6.2 算了...

2010/1/13 ccpaging <ccpa...@gmail.com>:

enst

unread,
Jan 13, 2010, 6:09:01 AM1/13/10
to op...@googlegroups.com
./configure --help
有很多参数,基本不用手工改
Makefile

./configure --disable-gtkui --disable-gstreamer --disable-meanwhile --disable-avahi --disable-nm --disable-perl --disable-tcl --disable-dbus

./configure --disable-gtkspell --disable-startup-notification --disable-screensaver --disable-gstreamer --disable-meanwhile --disable-avahi --disable-nm --disable-perl --disable-tcl --disable-dbus

我常用的两个

不知道身边对你有帮助


2010/1/13 Chunlin Zhang <zhangc...@gmail.com>

ccpaging

unread,
Jan 13, 2010, 8:37:51 AM1/13/10
to OpenQ开发者邮件列表
我一直按照下文编译调试:
https://groups.google.com/group/openq/web/windowspidgin

只是修改Makefile.mingw,跳过了以下三个软件:
perl-5.10.0
tcl-8.4.5
Bonjour_SDK

On 1月13日, 下午7时09分, enst <enst.b...@gmail.com> wrote:
> ./configure --help
> 有很多参数,基本不用手工改
> Makefile
>
> ./configure --disable-gtkui --disable-gstreamer --disable-meanwhile
> --disable-avahi --disable-nm --disable-perl --disable-tcl --disable-dbus
>
> ./configure --disable-gtkspell --disable-startup-notification
> --disable-screensaver --disable-gstreamer --disable-meanwhile
> --disable-avahi --disable-nm --disable-perl --disable-tcl --disable-dbus
>
> 我常用的两个
>
> 不知道身边对你有帮助
>

> 2010/1/13 Chunlin Zhang <zhangchun...@gmail.com>
>
>
>
> > 还是一样的,我使用的话还是用 2.6.2 算了...
>
> > 2010/1/13 ccpaging <ccpag...@gmail.com>:

enst

unread,
Jan 13, 2010, 8:53:05 AM1/13/10
to op...@googlegroups.com
--disable-perl --disable-tcl
这两个应该有用

Bonjour_SDK不知道是什么
我一直只用linux

现在是用的2.6.4

2010/1/13 ccpaging <ccpa...@foxmail.com>

SHiNE

unread,
Jan 13, 2010, 9:20:13 AM1/13/10
to op...@googlegroups.com
我正在编写TortoiseHg的简单使用方法。
http://code.google.com/p/openq-ng/wiki/TortoiseHg_Simple_Usage

关于MSYS下使用MinGW编译pidgin,请看看这个补丁。
http://code.google.com/p/openq-ng/source/browse/patches/pidgin/pidgin2.5.4_compact_build.patch
编译前请搜搜groups里面的关于如何编译的帖子和相关补丁。

SHiNE
2010/1/13 enst <enst...@gmail.com>:

--
~~-~~-~~-~~-~~-~~-~~-~~-~~-~~-~~
First the truth, then the freedom!
~~-~~-~~-~~-~~-~~-~~-~~-~~-~~-~~

Chunlin Zhang

unread,
Jan 13, 2010, 9:24:57 AM1/13/10
to op...@googlegroups.com
我正在下载 2.5.4,我觉得是 pidgin 版本的原因,之后看看 2.6.4 会不会

2010/1/13 enst <enst...@gmail.com>:

enst

unread,
Jan 13, 2010, 9:27:42 AM1/13/10
to op...@googlegroups.com
这个是比git更强大的版本控制工具吗

out了,,之前没听说过 呵

2010/1/13 SHiNE <csy...@gmail.com>

SHiNE

unread,
Jan 13, 2010, 10:41:38 AM1/13/10
to op...@googlegroups.com
@enst
hg, mtn, git都是差不多的东西。

@Chunlin
是的,我的补丁是for 2.5.4的,不过其实每次版本变动,修改的都差不多。有些变量你要按照自己的环境来修改一下。

2010/1/13 enst <enst...@gmail.com>:

Chunlin Zhang

unread,
Jan 13, 2010, 9:43:06 PM1/13/10
to op...@googlegroups.com
我按照你的 patch 改了还是一样的.
我看了一下 configure,应该是这个:
--disable-consoleui compile without console user interface
可是 mingw 不能直接用 configure 吧, configure.h.mingw 里又找不到对应的.

不过不行的话我就用 2.6.2 好了.

2010/1/13 SHiNE <csy...@gmail.com>:

Flos Lonicerae

unread,
Jan 13, 2010, 10:35:38 PM1/13/10
to op...@googlegroups.com
@Chunlin
应该不是这个参数。
你确定是在msys+mingw下面编译吗?你能否把你这个命令:
pkg-config --cflags --libs gtk+-2.0
结果贴出来?

2010/1/14 Chunlin Zhang <zhangc...@gmail.com>:

--
Flos

Flos Lonicerae

unread,
Jan 13, 2010, 10:52:58 PM1/13/10
to op...@googlegroups.com
compact_build_patch已经更新到适合pidgin2.6.5了,可以从仓库里面拿下来。
我的msys+mingw的编译日志和截图如附件。


2010/1/14 Flos Lonicerae <loni...@gmail.com>:

--
Flos

pg265build.zip
pg265.PNG

Chunlin Zhang

unread,
Jan 14, 2010, 12:07:30 AM1/14/10
to op...@googlegroups.com
$ pkg-config -cflags --libs gtk+2.0
sh: pkg-config: command not found

mingw 是我最近换新电脑以后用 MinGW-5.1.6.exe 装的

2010/1/14 Flos Lonicerae <loni...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages