个人工具
登录
查看“UbuntuHelp:GIMP2 4-on-Feisty”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:GIMP2 4-on-Feisty”的源代码
来自Ubuntu中文
←
UbuntuHelp:GIMP2 4-on-Feisty
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/GIMP2%2e4-on-Feisty}} {{Languages|UbuntuHelp:GIMP2%2e4-on-Feisty}} == GIMP 2.4 on Ubuntu Feisty Fawn == === Introduction === GIMP 2.4 came out a few days ago, as of the 26th of October 2007, and I decided, hey, I really want that. Unfortunately, I was informed over IRC it probably ''would not'' be coming to Feisty Fawn's repositories, even though it hit Gutsy's a few days ago. I decided that was a little mean and began hoping it would just take a while. Either way, it left me with three choices, build it myself, upgrade, or cross my fingers and wait. I decided to attempt to compile. === Preperation === * You will need the GIMP 2.4 source, which can be grabbed from ftp://ftp.gimp.org/pub/gimp/v2.4/ You will also need approximately 88 megabytes of packages, and all the repositories enabled for safe measure. It's good practice to sudo apt-get update before all of the installing as well. The command I ran to install the GIMP's dependencies is as follows: <pre><nowiki>sudo apt-get install build-essential subversion make gcc libglib2.0-dev libgtk2.0-dev intltool automake1.9 libtool gtk-doc-tools g++-3.3 libart-2.0-dev libtiff4-dev libexif-dev libxmu-dev libjpeg62-dev libmng-dev libpng12-dev librsvg2-dev libgutenprintui2-dev libaa1-dev python2.5-dev python-gtk2-dev libaa1-dev libxpm-dev libwmf-bin libwmf-dev libgtkhtml2-dev</nowiki></pre> Which, dependencies and all, prompted me if I was ready to install these packages: <pre><nowiki>autoconf automake1.7 automake1.9 autotools-dev cpp-3.3 docbook docbook-dsssl docbook-to-man docbook-xsl g++-3.3 gcc-3.3 gnome-common gtk-doc-tools intltool jade libaa1-dev libart-2.0-dev libbz2-dev libcroco3-dev libexif-dev libgail-dev libgnomecanvas2-dev libgsf-1-dev libgtk2.0-dev libgtkhtml2-dev libgutenprintui2-dev liblcms1-dev libmng-dev libncurses5-dev libpopt-dev librsvg2-dev libslang2-dev libsp1c2 libstdc++5-3.3-dev libtool libwmf-bin libwmf-dev libxcursor-dev libxext-dev libxfixes-dev libxi-dev libxinerama-dev libxml2-dev libxmu-dev libxmu-headers libxpm-dev libxrandr-dev libxt-dev m4 python-gobject-dev python-gtk2-dev python2.5-dev sp x11proto-fixes-dev x11proto-randr-dev x11proto-xext-dev</nowiki></pre> After installing all of this, I tried to run the GIMP's configure script with: <pre><nowiki>cd gimp-2.4.0 ./configure </nowiki></pre> It ran for a small eternity, and eventually tripped up when trying to configure the test GTK+ program. I thought, "touche, GIMP, but I have tricks as well!", and ran the script like this: <code><nowiki>./configure --disable-gtktest</nowiki></code> It worked, kind of. It did disable the test GTK+ program (which is made to ensure GTK+ is stable and running on your system), '''HOWEVER''', it then just stumbled over the fact that I don't have GTK+-2.10.13 or newer, and stopped configuring. '''''YOU NEED GTK+-2.10.13 OR NEWER''''' Unless of course you can find a pre-built package, or you're on Gutsy Gibbon, you'll need to build a version of GTK+ yourself. This guide is for Feisty, though. While you're at it, I might as well mention that '''''GTK will not compile without recent versions of the pango or glib libraries''''', as seen by this text (which rolled across my screen trying to ./configure GTK+-2.12.0): <pre><nowiki>checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.13.5 atk >= 1.9.0 pango >= 1.17.3 cairo >= 1.2.0) were not met: Requested 'glib-2.0 >= 2.13.5' but version of GLib is 2.12.11 Requested 'pango >= 1.17.3' but version of Pango is 1.16.2 </nowiki></pre> You can find all of this at ftp://ftp.gtk.org/pub/ Use the installation instructions provided inside each of the tarballs to configure and compile each of these libraries. It will be a daunting task, not apt for the light-hearted. At this point, I quit. If you follow through all of this, please contribute your experiences here. Once you have compiled and installed newer versions of Pango and GLib, the newer version of GTK+ should configure and install correctly as well. Hooray. ''Beware, I was never properly informed, and I still don't know, if installing the newer versions of each library would overwrite the old ones and *possibly* cause compatibility issues'' === Compiling === Once you have everything set up, just run the configure script inside GIMP's 2.4 folder. Inside the INSTALL file is extra information on compiling, and a very handy list of options you can use in the configure command, such as --with-desktop-dir=[/path/to/the/directory/you/want/gimp/to/use/such/as/~/.gimp-2.2] (The default is ~/.gimp-2.4) The standard procedure to all of this, is, of course <pre><nowiki> ./configure make sudo make install</nowiki></pre> '''''BE WARNED''''', that the new version of GIMP will overwrite old libraries, which will, in turn, lead to older versions of The GIMP trying to use the newer libraries, which could lead to instability. If you need to keep the older versions, consider running <code><nowiki>./configure</nowiki></code> as something like <code><nowiki>./configure --prefix=/PATH/TO/NEW/INSTALL/DIRECTORY</nowiki></code> ---- [[category:CategoryDocumentation]] [[category:CategoryDocumentation]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:GIMP2 4-on-Feisty
。