1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Unix and Linux</title><meta name="generator" content="DocBook XSL Stylesheets V1.64.1"><link rel="home" href="index.html" title="Programming with gtkmm2"><link rel="up" href="ch02.html" title="Chapter2.Installation"><link rel="previous" href="ch02.html" title="Chapter2.Installation"><link rel="next" href="ch02s03.html" title="Microsoft Windows"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Unix and Linux</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02.html">Prev</a></td><th width="60%" align="center">Chapter2.Installation</th><td width="20%" align="right"><a accesskey="n" href="ch02s03.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2445200"></a>Unix and Linux</h2></div></div><div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2445206"></a>From Source</h3></div></div><div></div></div><p>
gtkmm and its dependencies can be built and installed with the following sequence of commands:
</p><pre class="programlisting">
# ./configure
# make
# make install
</pre><p>
</p><p>
On some systems you will need to install to a different location. For instance, on Red Hat Linux systems you might use the <tt class="literal">--prefix</tt> option with configure, like so:
</p><pre class="programlisting">
# ./configure --prefix=/usr
</pre><p>
</p><p>
The configure script will warn you if you have not installed any of the other packages that it needs.
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2445247"></a>Prebuilt Packages</h3></div></div><div></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2445253"></a>Debian GNU/Linux</h4></div></div><div></div></div><p>On Debian GNU/Linux, gtkmm 2.0 is available in unstable/sid. You can install gtkmm by typing this on the command-line:
</p><pre class="programlisting">
apt-get install libgtkmm2.0-dev
</pre><p>
If you use stable/woody however, you'll have to compile gtkmm2 yourself.
</p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2443374"></a>Red Hat Linux</h4></div></div><div></div></div><p>RedHat do not yet provide RPMs of gtkmm. We hope they will do this soon.</p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2443385"></a>Mandrake Linux</h4></div></div><div></div></div><p>TODO. gtkmm is in the betas.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="ch02s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter2.Installation</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">Microsoft Windows</td></tr></table></div></body></html>
|