个人工具
登录
查看“UbuntuHelp:CompileGaim”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:CompileGaim”的源代码
来自Ubuntu中文
←
UbuntuHelp:CompileGaim
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/CompileGaim}} {{Languages|UbuntuHelp:CompileGaim}} This page is designed to help manually compile releases of the popular Gaim Instant Messenger client. This is used for compiling the latest release (if the Ubuntu package isn't yet available) or for testing Beta versions that are only available via source. '''Note: This requires downloading & manually installing a program from an outside source. This can potentially cause problems with your system.''' '''Note: Packages for gaim2 beta 3 may be found at http://people.ubuntu.com/~seb128/deb/, the personal website of ubuntu's maintainer. Should be easier than compiling.''' '''Note: Edgy (v6.10) includes gaim 2.0 beta 3.1; and gaim 2.0 beta 5 is available from http://people.ubuntu.com/~seb128/gaim-edgy/. Feisty (v.7.04) includes gaim 2.0 beta 6 or newer.''' === Dependencies === Gaim depends on a few other programs or packages to work correctly in Ubuntu. You will need to install (or verify installation) before being able to compile your own copy. Below are the dependent packages: You need the required compilers in order to manually compile a program, which can be found in the <code><nowiki>build-essential</nowiki></code> package. You also need checkinstall to generate a DEB package. This allows you to easily uninstall your new or Beta version in the future should the need arise. For this you will need the <code><nowiki>checkinstall</nowiki></code> package. This will check for & install any dependent package or library that is needed by gaim. This is the easiest way to make sure all dependencies are met. <pre><nowiki> sudo apt-get build-dep gaim </nowiki></pre> If the above doesn't work, the packages you need to install are: <pre><nowiki> libgnutls11-dev (or libgnutls10-dev distros before "Dapper") libgtk2.0-0 libgtk2.0-dev libxml-parser-perl libao-dev libaudiofile-dev </nowiki></pre> '''The below three steps can be ignored if using 6.06 "Dapper"''' To connect to MSN networks you will need SSL enabled. This is acquired thru another library <code><nowiki>libgnutls10-dev</nowiki></code> Also make sure you have installed the GTK libraries that gaim depends on. These are the <code><nowiki>libgtk2.0-0 libgtk2.0-dev</nowiki></code> packages. The latest beta 3 requires the Perl module for parsing XML files, found in the <code><nowiki>libxml-parser-perl</nowiki></code> package. === Getting the source === Download the latest source version from here: [http://gaim.sourceforge.net/downloads.php Downloads] or [http://sourceforge.net/project/showfiles.php?group_id=235&package_id=253&release_id=405479 Downloads] (for the current 2.0Beta download) (remember, you will want the source package. These are the .tar.bz2 or .tar.gz files) Unpack this file into your /tmp folder using Archive Manager === Compiling === There are two ways in installing your new or Beta version. You can opt to remove your current version and install your new or Beta version, or you could keep your current one and have both versions at the same time. ==== Replacing your current version ==== Before compiling your new or Beta version you will want to uninstall your current version. You'll need to remove this package: <pre><nowiki> gaim </nowiki></pre> Open a terminal. <pre><nowiki> cd /tmp/gaim[version] </nowiki></pre> <pre><nowiki> ./configure --enable-gnutls=yes </nowiki></pre> <pre><nowiki> make </nowiki></pre> Create a DEB package and install it using checkinstall. Supply the necessary information as checkinstall prompts you. <pre><nowiki> sudo checkinstall -D make install </nowiki></pre> ==== Alongside your current installation ==== Open a terminal. <pre><nowiki> cd /tmp/gaim[version] </nowiki></pre> Specify a different folder to install your new or Beta version. <pre><nowiki> ./configure --enable-gnutls=yes --prefix=/opt/gaim[version] </nowiki></pre> <pre><nowiki> make </nowiki></pre> Create a DEB package and install it using checkinstall. Supply the necessary information as checkinstall prompts you. <pre><nowiki> sudo checkinstall -D make install </nowiki></pre> Rename '''/usr/bin/gaim''' to '''/usr/bin/gaim.ubuntu'''. You can use this to run your current Gaim version. <pre><nowiki> sudo dpkg-divert --divert /usr/bin/gaim.ubuntu --rename /usr/bin/gaim </nowiki></pre> Create a link to '''/opt/gaim[version]/bin/gaim to /usr/bin/gaim'''. <pre><nowiki> sudo ln -s /opt/gaim[version]/bin/gaim /usr/bin/gaim </nowiki></pre> === Running === You can now run your new version of gaim using the same way you always have. Either through the menu or using '''gaim''' from the terminal. If you have replaced the default installation of Firefox with the latest version as per FirefoxNewVersion, you may have an issue when clicking on hypertext links within Gaim instant messages where you seemingly get no response when you expect Firefox to open them. The issue is that gnome-open is executing either /usr/lib/mozilla-firefox/run-mozilla.sh or /opt/firefox/run-mozilla.sh which then looks for the Firefox executable under the name mozilla-firefox-bin in its installation directory. You can run the command below to create a link that will fix the problem and allow you to avoid editing the run-mozilla.sh files. <pre><nowiki> sudo ln -s /opt/firefox/firefox-bin /opt/firefox/mozilla-firefox-bin </nowiki></pre> [[category:CategoryDocumentation]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:CompileGaim
。