README.CVS 1.69 KB
Newer Older
Jordi Mallach's avatar
Jordi Mallach committed
1
2
3
INSTRUCTIONS TO COMPILE AND INSTALL NANO CVS VERSIONS
-----------------------------------------------------

4
5
GNU nano is available from CVS, but building this needs a bit more care
than the official stable and unstable tarballs.
Jordi Mallach's avatar
Jordi Mallach committed
6

7
8
To successfully compile GNU nano from CVS, you'll need the following
packages:
Jordi Mallach's avatar
Jordi Mallach committed
9

10
11
- autoconf (version >= 2.54)
- automake (version >= 1.7)
Jordi Mallach's avatar
Jordi Mallach committed
12
- gettext (version >= 0.11.5)
13
- groff
Jordi Mallach's avatar
Jordi Mallach committed
14
15
- texinfo
- cvs
16
- ssh (with support for the SSH version 2 protocol)
17
- glib 2.x (if your system doesn't have snprintf() and/or vsnprintf())
18
- make, gcc and the normal development libraries (curses or slang, etc.)
Jordi Mallach's avatar
Jordi Mallach committed
19

20
21
22
These should be available on your GNU mirror.  Note that you'll need a
version of curses or slang with wide character support if you want nano
to use UTF-8.
Jordi Mallach's avatar
Jordi Mallach committed
23

24
First, you need to set up cvs to download the CVS tree using ssh.  If
25
you're using a Bourne shell (e.g. bash or sh), do
26
27
28
29
30
$ export CVS_RSH=ssh
If you're using a C shell (e.g. tcsh or csh), do
$ setenv CVS_RSH ssh

After it's set up, use the following command to download the CVS tree:
31
32
33
34
$ cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/nano checkout nano

If you want to download the stable CVS branch, add "-r nano_1_0_branch":
$ cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/nano checkout -r nano_1_0_branch nano
Jordi Mallach's avatar
Jordi Mallach committed
35

David Lawrence Ramsey's avatar
David Lawrence Ramsey committed
36
Once you have the sources in the "nano" directory, cd into it, and
37
38
39
execute the "autogen.sh" script in the top directory.  This will set up
a configure script and Makefile.in, and you will be ready to compile
with
Jordi Mallach's avatar
Jordi Mallach committed
40
$ ./configure [--add-options-here] && make
41

Jordi Mallach's avatar
Jordi Mallach committed
42
43
Once it's done compiling,
$ make install
44
(as root) should put the required files in their respective directories.
Jordi Mallach's avatar
Jordi Mallach committed
45

Jordi Mallach's avatar
Jordi Mallach committed
46
Please submit any bugs in the CVS branch to nano-devel@gnu.org.