install_help.htrw 6.59 KB
Newer Older
1 2 3 4 5 6
<!--#include virtual="/includes/wgo-xhtml-init.xhtml" -->
<title>GIMP - Install Help</title>
<!--#include virtual="/includes/wgo-look-feel.xhtml" -->
<!--#include virtual="/includes/wgo-page-init.xhtml" -->

<h1>Install help</h1>
7

8 9 10 11
<!-- FIXME: this page should be removed soon.  The requirements will
go to the platform-specific sections and in the source section, and
the description of the compilation, installation and additional
packages will go to the source section. -->
12 13 14 15 16 17

<p><b>Note for Windows Users:</b> This page is for installation help
for the Unix version of GIMP.  If you need help with the installation
of Windows GIMP, see the <a href="/windows/">GIMP for Windows</a>
page.</p>

18 19 20 21 22 23
<ul>
  <li><a href="#requirements">Requirements</a></li>
  <li><a href="#comp-inst">GIMP Compilation and Installation</a></li>
  <li><a href="#add-pkg">Other Packages</a></li>
</ul>

Niklas Mattisson's avatar
Niklas Mattisson committed
24
<a name="requirements"><h1>Requirements</h1></a>
25 26 27 28 29 30 31 32 33 34 35 36 37 38
<h2>Main Requirements</h2>

<p>Well, it is necessary to have a C compiler and related tools to
compile and install the source package.  For the most part, GCC is
recommended, but a lot of effort has gone into making GIMP compile
with as many compilers as possible.</p>

<p>A fair amount of disk space is needed too.  For a full build with
debugging, at least 200 megs free is recomended.  Without debugging
and with static libs turned off, GIMP can be compiled in 20-30 megs of
space.  This will vary depending on architecture of course.  A full
GIMP install including all the gimp-data packs can be 20 megs or
more.</p>

39 40 41
<p>A full compile of the stable version takes 1-2 hours on a PPro
200 or K-6 200 with 64 megs of RAM. On a P4 or Athlon with 256 megs 
of RAM, a build can take 20-30 minutes.
42
In general, expect about 3-4 times as long as a Linux kernel 2.2
43
compile (for GNU/Linux systems of course).  In other words, its a long
44
compile.  That's what 300,000+ lines of code get you.</p>
45

46
<h2>Stable version (2.2.x)</h2>
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75

<ul>
  <li>
    A recent version of <b>pkg-config</b> is needed and you can grab
    them at <a href="http://www.freedesktop.org/software/pkgconfig/">
    http://www.freedesktop.org/software/pkgconfig/</a>
  </li>
  <li>
    <b>GTK+ 2.4.4</b> or better (Gimp Toolkit). The GIMP toolkit can be found at
    <a href="ftp://ftp.gtk.org/">ftp://ftp.gtk.org/</a> GTK+ 2.4.4 also needs
    the following packages. (Either the version listed or newer)
  <ul>
    <li><b>GLib 2.4.5</b></li>
    <li><b>Pango 1.4.0</b></li>
    <li><b>ATK</b></li>
  </ul></li>
  <li>
    <b>PangoFT2</b> a Pango backend that uses <b>FreeType2</b> 
    (Make sure you have FreeType2 installed before installing Pango).
    Downloads can be found at 
    <a href="http://www.freetype.org/">http://www.freetype.org/</a>
  </li>
  <li>
    <b>libart2</b> Grab the module libart_lgpl out of GNOME CVS or
    fetch the tarball from <a href="ftp://ftp.gnome.org/pub/gnome/sources/libart_lgpl/">
    ftp://ftp.gnome.org/pub/gnome/sources/libart_lgpl/</a>
  </li>
</ul>

Niklas Mattisson's avatar
Niklas Mattisson committed
76
<a name="comp-inst"><h1>GIMP Compilation and Installation</h1></a>
77 78 79 80 81

<p>After grabbing the GIMP distribution, you are ready to compile and
install.  The main site for the latest offical GIMP distribution is <a
href="ftp://ftp.gimp.org/pub/gimp/">ftp://ftp.gimp.org/pub/gimp/</a>
but you should consider using one of the mirrors listed on the <a
82
href="./">download page</a>.</p>
83 84 85 86 87

<p>GIMP makes use of the Gimp Toolkit (GTK+) and other libraries that
must be installed first. Look in Requirements above to find out
more.</p>

88 89
<p>Compile as a normal user using: <kbd>./configure &amp;&amp; make</kbd> 
and then as root <kbd>make install</kbd></p>
90 91 92 93

<p>If all goes well, a good while later, you will have a brand
spanking new GIMP to play with.  Unfortunately, it has been rumored
that it isn't always that easy.  So, here are a few common problems
94
and some solutions ...</p>
95 96 97 98 99 100 101 102 103 104

<p>For some more specific info, you may want to read the <a
href="INSTALL">INSTALL</a> file from the main GIMP distribution.</p>

<a name="add-pkg"><h1>Other Packages</h1></a>

<h2>Print plug-in does not compile</h2>

<p>Starting with version 1.2.4, the print plug-in depends on
libgimpprint, which is now distributed as a separate package.  The
105
previous versions of GIMP (up to 1.2.3) included all files as part
106
of the GIMP distribution, but you should now download and install
107
libgimpprint 4.2.6 separately from the Gimp-Print site:</p>
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155

<p><a href="http://gimp-print.sourceforge.net/">http://gimp-print.sourceforge.net/</a></p>

<p>Once the lib is compiled and installed, run <kbd>ldconfig</kbd> as root and the print plug-in should compile.</p>

<h2>JPEG plug-in does not compile</h2>

<p>The jpeg plug-in requires the jpeg library.  If you don't have it
installed or you have a very old version, then you need to get a
recent jpeg library.  The places to look are:</p>

<p><a href="ftp://ftp.uu.net/graphics/jpeg/">ftp://ftp.uu.net/graphics/jpeg/</a><br />
<a href="ftp://ftp.gimp.org/pub/gimp/libs/">ftp://ftp.gimp.org/pub/gimp/libs/</a></p>

<p>Once the lib is compiled and installed, run <kbd>ldconfig</kbd> as
root and the jpeg plug-in should compile.</p>

<h2>TIFF plug-in does not compile</h2>

<p>The tiff plug-in requires the tiff library.  See the jpeg problem
mentioned above.  Same deal, different lib.  The places to look are
at:</p>

<p><a href="ftp://ftp.sgi.com/graphics/tiff/">ftp://ftp.sgi.com/graphics/tiff/</a><br />
<a href="ftp://ftp.gimp.org/pub/gimp/libs/">ftp://ftp.gimp.org/pub/gimp/libs/</a></p>

<p>Once the lib is compiled and installed, run <kbd>ldconfig</kbd> as
root and the tiff plug-in should compile.</p>

<h2>PNG plug-in does not compile</h2>

<p>The png plug-in requires libpng and libz (zlib).  See the jpeg
problem mentioned above.  Same deal, different lib.  The places to
look are at:</p>

<p><a href="ftp://ftp.uu.net/graphics/png/src/">ftp://ftp.uu.net/graphics/png/src/</a><br />
<a href="ftp://ftp.gimp.org/pub/gimp/libs/">ftp://ftp.gimp.org/pub/gimp/libs/</a></p>

<p>Once the lib is compiled and installed, run <kbd>ldconfig</kbd> as
root and the png plug-in should compile.</p>

<h2>XPM plug-in does not compile</h2>

<p>The xpm plug-in requires the xpm library.  See the jpeg problem
above.  Same deal, different lib.  The places to look are at:</p>

<p><a href="ftp://ftp.x.org/contrib/libraries/">ftp://ftp.x.org/contrib/libraries/</a></p>
  
156 157 158 159 160 161 162
<h2>I have no SVG support</h2>

<p>SVG support requires at least version 2.2 of the rsvg library from 
gnome.org. This can be found at:</p>

<p><a href="ftp://ftp.gnome.org/mirror/gnome.org/sources/librsvg/2.6/">ftp://ftp.gnome.org/mirror/gnome.org/sources/librsvg/</a></p>

163 164
<!--#include virtual="/includes/wgo-page-fini.xhtml" -->
<!--#include virtual="/includes/wgo-xhtml-fini.xhtml" -->