<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE refentry 
  PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="install-to-others">
<refmeta>
  <refentrytitle role="top_of_page" id="install-to-others.top_of_page">Install to other platform</refentrytitle>
  <refmiscinfo>CUTTER Library</refmiscinfo>
</refmeta>
<refnamediv>
  <refname>Install to other platform</refname>
  <refpurpose>How to install Cutter to other platform</refpurpose>
</refnamediv>
<refsect1>
  <title>Introduction</title>
  <para>
  This document explains how to install Cutter to platforms except 
  <link linkend="install-to-debian">Debian GNU/Linux</link>
  ,
  <link linkend="install-to-ubuntu">Ubuntu Linux</link>
  ,
  <link linkend="install-to-freebsd">FreeBSD</link>
  ,
  <link linkend="install-to-solaris">Solaris</link>
   and
  <link linkend="install-to-cygwin">Cygwin</link>
  .
</para>
</refsect1>

<refsect1>
  <title>Install GLib</title>
  <para>Cutter requires GLib 2.16 or later. We can install GLib that satisfies the condition by ourselves and use it if our system doesn't provide GLib that satisfies the condition. (e.g. CentOS)</para>
  <para>Here is an instruction to install GLib into ~/local/:</para>
  <programlisting>% mkdir -p ~/src
% cd ~/src
% wget http://ftp.gnome.org/pub/GNOME/sources/glib/2.22/glib-2.22.4.tar.gz
% tar xvfz glib-2.22.4.tar.gz
% cd glib-2.22.4
% ./configure --prefix=$HOME/local
% make
% make install</programlisting>
</refsect1>

<refsect1>
  <title>Install Cutter</title>
  <para>Cutter can be installed like other free software because Cutter uses GNU build tools:</para>
  <programlisting>% mkdir -p ~/src
% cd ~/src
% wget http://downloads.sourceforge.net/project/cutter/cutter-1.2.1.tar.gz
% tar xvzf cutter-1.2.1.tar.gz
% cd cutter-1.2.1
% ./configure
% make
% sudo make install</programlisting>
  <para>Here is an instruction to use GLib installed into ~/local/ by ourselves. In the instruction, Cutter is also installed into ~/local/:</para>
  <programlisting>% mkdir -p ~/src
% cd ~/src
% wget http://downloads.sourceforge.net/project/cutter/cutter-1.2.1.tar.gz
% tar xvzf cutter-1.2.1.tar.gz
% cd cutter-1.2.1
% ./configure PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig LD_LIBRARY_PATH=$HOME/local/lib --prefix=$HOME/local
% make
% make install</programlisting>
</refsect1>

<refsect1>
  <title>The next step</title>
  <para>
  Installation is completed. We should try
  <link linkend="tutorial">tutorial</link>
   with the installed Cutter.
</para>
</refsect1>
</refentry>
