<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Meow and Grrr of a Stray Cat &#187; compile</title>
	<atom:link href="http://kuihuadi.com/snow/tag/compile%e7%bc%96%e8%af%91/feed/" rel="self" type="application/rss+xml" />
	<link>http://kuihuadi.com/snow</link>
	<description>Snow.Hellsing's personal blog</description>
	<lastBuildDate>Thu, 11 Mar 2010 09:33:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Debian下编译2.6.28内核</title>
		<link>http://kuihuadi.com/snow/2009/01/15/debian%e4%b8%8b%e7%bc%96%e8%af%912628%e5%86%85%e6%a0%b8/</link>
		<comments>http://kuihuadi.com/snow/2009/01/15/debian%e4%b8%8b%e7%bc%96%e8%af%912628%e5%86%85%e6%a0%b8/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 22:21:00 +0000</pubDate>
		<dc:creator>Snow.Hellsing</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[2.6.28]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[kernel/内核]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://snowhellsing.wordpress.com/2009/01/15/debian%e4%b8%8b%e7%bc%96%e8%af%912628%e5%86%85%e6%a0%b8/</guid>
		<description><![CDATA[参考文章金步国先生的Linux 2.6.19.x 内核编译配置选项简介深度论坛的帖子本人编译内核2.6.28手记 编译过程比较顺利，昨晚一晚上读金步国先生的文章和看make menuconfig里的帮助文档原文，今天把那1mol个选项一个一个配过去然后编译，第一次编译大约花了半小时。安装完以后更新系统的时候提示必须打开hibernate(是挂起到硬盘，和ORM没有关系^^)。于是打开hibernate又编译了一次，一切顺利。于是现在我的系统内核是linux-image-2.6.28-snow_0.1.4_amd64.deb~~vmliuz大小1.9mb,initrd.img大小4.3mb可以心满意足去睡觉了~不过大概会高兴地睡不着吧]]></description>
			<content:encoded><![CDATA[<p>参考文章<br />金步国先生的<a href="http://lamp.linux.gov.cn/Linux/kernel_options.html">Linux 2.6.19.x 内核编译配置选项简介</a><br />深度论坛的帖子<a href="http://os.deepin.org/read-htm-tid-892919.html">本人编译内核2.6.28手记</a></p>
<p>编译过程比较顺利，昨晚一晚上读金步国先生的文章和看make menuconfig里的帮助文档原文，今天把那1mol个选项一个一个配过去然后编译，第一次编译大约花了半小时。安装完以后更新系统的时候提示必须打开hibernate(是挂起到硬盘，和ORM没有关系^^)。于是打开hibernate又编译了一次，一切顺利。于是现在我的系统内核是linux-image-2.6.28-snow_0.1.4_amd64.deb~~vmliuz大小1.9mb,initrd.img大小4.3mb<br />可以心满意足去睡觉了~不过大概会高兴地睡不着吧</p>
]]></content:encoded>
			<wfw:commentRss>http://kuihuadi.com/snow/2009/01/15/debian%e4%b8%8b%e7%bc%96%e8%af%912628%e5%86%85%e6%a0%b8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iBus安装笔记</title>
		<link>http://kuihuadi.com/snow/2009/01/15/ibus%e5%ae%89%e8%a3%85%e7%ac%94%e8%ae%b0/</link>
		<comments>http://kuihuadi.com/snow/2009/01/15/ibus%e5%ae%89%e8%a3%85%e7%ac%94%e8%ae%b0/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 08:39:00 +0000</pubDate>
		<dc:creator>Snow.Hellsing</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amd64]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ibus]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[安装]]></category>

		<guid isPermaLink="false">http://snowhellsing.wordpress.com/2009/01/15/ibus%e5%ae%89%e8%a3%85%e7%ac%94%e8%ae%b0/</guid>
		<description><![CDATA[参考帖子 ibus for 8.04 deb包 20080901版dbus-python 0.83以及编译方法（1016修订） ubuntu8.10从源码库获取最新源码，安装iBus拼音输入法全过程！ 我在Debian lenny的i386和amd64的版本上都装过ibus，每一次都很曲折，把值得记录的东西写在这里。安装编译和运行ibus需要的软件包另两个帖子都是一个apt-get语句安装一个包，我倾向于两个语句装完所有包，以后如果要重新配置ibus，只需要检索history中的一条语句。要说明的是，我的.bashrc配置了alias ap=&#8217;aptitude&#8217;，所以如果要复制粘贴我的shell命令，记得把ap改成apt-get或者aptitude。 ap install git git-core cvs automakeap install python-enchant python-gtk2-dev libgtk2.0-dev libdbus-1-dev libdbus-glib-1-dev libgconf2-dev python-dbus libtool gtk-doc-tools iso-codes python-xdg libdbus-1-dev libdbus-glib-1-dev 其中gtk-doc-tools、iso-codes和python-xdg三个包在以前的资料里都没有提到要安装。libdbus-1-dev libdbus-glib-1-dev是后面编译dbus-python需要的。 准备好dbus-python第一次安装ibus的时候我并没有做这一步，也可以运行。后来装过几次都要，可能是以前的老系统带来dbus-python 编译dubs-python：到http://dbus.freedesktop.org/releases/dbus-python/下载dbus-python 0.83源码编译，依赖libdbus-1-dev libdbus-glib-1-dev两个文件。解压缩源代码，进入目录执行：./configure &#8211;prefix=/usrmakesudo make install 下载ibus git clone git://github.com/phuang/ibus.git ibusgit clone git://github.com/phuang/ibus-pinyin.git ibus-pinyin 编译安装 cd ibus./autogen.sh &#8211;prefix=/usr &#8211;with-gtk-im-module-dir=/usr/lib/gtk-2.0/2.10.0/immodules/ &#8211;enable-pygconfmake;make install;update-gtk-immodules [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:130%"><b>参考帖子</b></span>
<ul>
<li><a href="http://forum.ubuntu.org.cn/viewtopic.php?f=8&amp;t=147333&amp;start=0&amp;hilit=ibus">ibus for 8.04 deb包 20080901版dbus-python 0.83以及编译方法（1016修订）</a></li>
<p>
<li><a href="http://forum.ubuntu.org.cn/viewtopic.php?f=8&amp;t=167881&amp;start=0&amp;hilit=ibus">ubuntu8.10从源码库获取最新源码，安装iBus拼音输入法全过程！</a></li>
</ul>
<p><span style="font-size:130%"><span style="font-size:78%">我在Debian lenny的i386和amd64的版本上都装过ibus，每一次都很曲折，把值得记录的东西写在这里。</span><br /><b><br />安装编译和运行ibus需要的软件包</b></span><br />另两个帖子都是一个apt-get语句安装一个包，我倾向于两个语句装完所有包，以后如果要重新配置ibus，只需要检索history中的一条语句。<br />要说明的是，我的.bashrc配置了alias ap=&#8217;aptitude&#8217;，所以如果要复制粘贴我的shell命令，记得把ap改成apt-get或者aptitude。<br />
<blockquote>ap install git git-core cvs automake<br />ap install python-enchant python-gtk2-dev libgtk2.0-dev libdbus-1-dev libdbus-glib-1-dev libgconf2-dev python-dbus libtool gtk-doc-tools iso-codes python-xdg libdbus-1-dev libdbus-glib-1-dev </p></blockquote>
<p><span style="font-size:78%">其中gtk-doc-tools、iso-codes和python-xdg三个包在以前的资料里都没有提到要安装。</span>libdbus-1-dev libdbus-glib-1-dev是后面编译dbus-python需要的。</p>
<p> <span style="font-size:130%"><b><br />准备好dbus-python</b></span><br />第一次安装ibus的时候我并没有做这一步，也可以运行。后来装过几次都要，可能是以前的老系统带来dbus-python<br />
<blockquote>编译dubs-python：<br />到<a class="postlink" href="http://dbus.freedesktop.org/releases/dbus-python/">http://dbus.freedesktop.org/releases/dbus-python/</a>下载dbus-python 0.83源码编译，依赖libdbus-1-dev libdbus-glib-1-dev两个文件。<br />解压缩源代码，进入目录执行：<br />./configure &#8211;prefix=/usr<br />make<br />sudo make install</p></blockquote>
<p><span style="font-size:130%"><b>下载ibus</b></span><br />
<blockquote>git clone git://github.com/phuang/ibus.git ibus<br />git clone git://github.com/phuang/ibus-pinyin.git ibus-pinyin</p></blockquote>
<p><span style="font-size:130%"><b>编译安装</b></span><br />
<blockquote>cd ibus<br />./autogen.sh &#8211;prefix=/usr &#8211;with-gtk-im-module-dir=/usr/lib/gtk-2.0/2.10.0/immodules/ &#8211;enable-pygconf<br />make;make install;<br />update-gtk-immodules `uname -i`</p>
<p>cd ../ibus-pinyin<br />./autogen.sh &#8211;prefix=/usr<br />make;make install</p></blockquote>
<p><span style="font-size:130%"><b>配置</b></span><br />运行ibus-setup检查是否安装成功，成功的话就<br />编辑<br />
<blockquote>/usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules</p></blockquote>
<p>添加<br />
<blockquote>&#8220;/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so&#8221;<br />&#8220;ibus&#8221; &#8220;X Input Method&#8221; &#8220;gtk20&#8243; &#8220;/usr/share/locale&#8221; &#8220;zh&#8221;</p></blockquote>
<p>编辑~/.profile和~/.bashrc，在这两个文件里添加<br />
<blockquote>export XMODIFIERS=@im=ibus<br />export GTK_IM_MODULE=ibus<br />export QT_IM_MODULE=ibus</p></blockquote>
<p><span style="font-size:130%"><b>KDE4的问题</b></span><br />我在debian-lenny-i386-kde4环境下安装过ibus，手工编译安装，可以运行ibus，在各种kde应用程序中输入汉字没有问题。但是ibus的图标都是红叉<br />尝试了添加cn99的ubuntu源到debian然后通过源安装，问题依旧。并且，apt把ibus依赖的很多包装了ubuntu的版本，虽然这些包可以手工安装debian自己的版本。<br />后来装gnome，装了之后发现ibus的图标都正常显示了。<br />于是推断ibus的图标显示依赖某个gnome中的包或者某个因为gnome依赖而自动安装的包。有人知道是哪一个么？<br />后来我再没有遇到过这个问题了。Shawn.P.Huang给我回邮件说可能是libsvg的问题。</p>
]]></content:encoded>
			<wfw:commentRss>http://kuihuadi.com/snow/2009/01/15/ibus%e5%ae%89%e8%a3%85%e7%ac%94%e8%ae%b0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
