summaryrefslogblamecommitdiffstats
path: root/files/manual.chunked/ar01s03.html
blob: cdb3d95f5c0563302bd6698047b2dfd6680c6313 (plain) (tree)
1
2
3
4
5
6
7

                                                                                                                         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                   

                                                                                                                                                                                                                                                                                                                                                                






                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                                                                                     

                                                                                                                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>3. Installation</title><link rel="stylesheet" type="text/css" href="docbook-xsl.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.77.1" /><link rel="home" href="index.html" title="CALCURSE - text-based organizer" /><link rel="up" href="index.html" title="CALCURSE - text-based organizer" /><link rel="prev" href="ar01s02.html" title="2. Overview" /><link rel="next" href="ar01s04.html" title="4. calcurse basics" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><td width="20%" align="left"><a accesskey="p" href="ar01s02.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s04.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_installation"></a>3. Installation</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_requirements"></a>3.1. Requirements</h3></div></div></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="_ncurses_library"></a>ncurses library</h4></div></div></div><p><code class="literal">Calcurse</code> requires only a <code class="literal">C</code> compiler, such as <code class="literal">cc</code> or <code class="literal">gcc</code>, and the
<code class="literal">ncurses</code> library.  It would be very surprising not to have a valid <code class="literal">ncurses</code>
library already installed on your computer, but if not, you can find it at the
following url: <a class="ulink" href="http://ftp.gnu.org/pub/gnu/ncurses/" target="_top">http://ftp.gnu.org/pub/gnu/ncurses/</a></p><div class="note" style="margin-left: 0; margin-right: 10%;"><h3 class="title">Note</h3><p>It is also possible to link <code class="literal">calcurse</code> against the <code class="literal">ncursesw</code> library
      (ncurses with support for unicode).</p></div></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="install_requirements_gettext"></a>gettext library</h4></div></div></div><p><code class="literal">calcurse</code> supports internationalization (<span class="strong"><strong>i18n</strong></span> hereafter) through the
<code class="literal">gettext</code> utilities. This means <code class="literal">calcurse</code> can produce multi-lingual messages
if compiled with native language support (i.e. <span class="strong"><strong>NLS</strong></span>).</p><p>However, <span class="strong"><strong>NLS</strong></span> is optionnal and if you do not want to have support for
multi-lingual messages, you can disable this feature.  This is done by giving
the <code class="literal">--disable-nls</code> option to <code class="literal">configure</code> (see section
<a class="link" href="ar01s03.html#install_process" title="3.2. Install process">Install process</a>).  To check if the <code class="literal">gettext</code> utilities are
installed on your system, you can search for the <code class="literal">libintl.h</code> header file for
instance:</p><pre class="screen">$ locate libintl.h</pre><p>If this header file is not found, then you can obtain the <code class="literal">gettext</code> sources at
the following url : <a class="ulink" href="http://ftp.gnu.org/pub/gnu/gettext/" target="_top">http://ftp.gnu.org/pub/gnu/gettext/</a></p><div class="note" style="margin-left: 0; margin-right: 10%;"><h3 class="title">Note</h3><p>Even if <code class="literal">libintl.h</code> is found on your system, it can be wise to specify
      its location during the <a class="link" href="ar01s03.html#install_process" title="3.2. Install process">install process</a>, by using the
      <code class="literal">--with-libintl-prefix</code> option with <code class="literal">configure</code>. Indeed, the <code class="literal">configure</code>
      could fail to locate this library if installed in an uncommon place.</p></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="install_process"></a>3.2. Install process</h3></div></div></div><p>First you need to gunzip and untar the source archive:</p><pre class="screen">$ tar zxvf calcurse-3.0.0.tar.gz</pre><p>Once you meet the requirements and have extracted the archive, the install
process is quite simple, and follows the standard three steps process:</p><pre class="screen">$ ./configure
$ make
$ make install    # (may require root privilege)</pre><p>Use <code class="literal">./configure --help</code> to obtain a list of possible options.</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s02.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>