blob: 69a3d930b10421e933526efb9d0f99746a841f3e [file] [log] [blame]
Jordi Mallach90453192002-01-23 13:20:20 +00001INSTRUCTIONS TO COMPILE AND INSTALL NANO CVS VERSIONS
2-----------------------------------------------------
3
David Lawrence Ramseydb85ac72004-10-18 14:13:28 +00004GNU nano is available from CVS, but building this needs a bit more care
5than the official stable and unstable tarballs.
Jordi Mallach90453192002-01-23 13:20:20 +00006
David Lawrence Ramseydb85ac72004-10-18 14:13:28 +00007To successfully compile GNU nano from CVS, you'll need the following
8packages:
Jordi Mallach90453192002-01-23 13:20:20 +00009
David Lawrence Ramsey9830d752004-05-13 17:19:54 +000010- autoconf (version >= 2.54)
11- automake (version >= 1.7)
Jordi Mallachb9475522003-01-15 18:16:54 +000012- gettext (version >= 0.11.5)
David Lawrence Ramsey188f1692004-11-20 16:16:47 +000013- groff
Jordi Mallach90453192002-01-23 13:20:20 +000014- texinfo
15- cvs
David Lawrence Ramsey831c6402004-11-21 18:44:23 +000016- ssh (with support for the SSH version 2 protocol)
David Lawrence Ramseydb85ac72004-10-18 14:13:28 +000017- glib 2.x (if your system doesn't have snprintf() and/or vsnprintf())
David Lawrence Ramsey1fc55a22005-03-19 21:33:13 +000018- make, gcc and the normal development libraries (curses or slang, etc.)
Jordi Mallach90453192002-01-23 13:20:20 +000019
David Lawrence Ramsey1fc55a22005-03-19 21:33:13 +000020These should be available on your GNU mirror. Note that you'll need a
21version of curses or slang with wide character support if you want nano
22to use UTF-8.
Jordi Mallach90453192002-01-23 13:20:20 +000023
David Lawrence Ramsey831c6402004-11-21 18:44:23 +000024First, you need to set up cvs to download the CVS tree using ssh. If
David Lawrence Ramseye56d9362004-11-21 18:51:30 +000025you're using a Bourne shell (e.g. bash or sh), do
David Lawrence Ramsey831c6402004-11-21 18:44:23 +000026$ export CVS_RSH=ssh
27If you're using a C shell (e.g. tcsh or csh), do
28$ setenv CVS_RSH ssh
29
30After it's set up, use the following command to download the CVS tree:
David Lawrence Ramseyb75763e2004-11-21 17:45:25 +000031$ cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/nano checkout nano
David Lawrence Ramseyb75763e2004-11-21 17:45:25 +000032
Jordi Mallach72bff8e2005-04-20 13:24:39 +000033If you want to download the stable CVS branch, add "-r nano_1_2_branch":
34$ cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/nano checkout -r nano_1_2_branch nano
Jordi Mallach90453192002-01-23 13:20:20 +000035
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +000036Once you have the sources in the "nano" directory, cd into it, and
David Lawrence Ramseydb85ac72004-10-18 14:13:28 +000037execute the "autogen.sh" script in the top directory. This will set up
38a configure script and Makefile.in, and you will be ready to compile
39with
Jordi Mallach90453192002-01-23 13:20:20 +000040$ ./configure [--add-options-here] && make
David Lawrence Ramseyb75763e2004-11-21 17:45:25 +000041
Jordi Mallach90453192002-01-23 13:20:20 +000042Once it's done compiling,
43$ make install
Jordi Mallach1fc9da62002-10-06 23:32:21 +000044(as root) should put the required files in their respective directories.
Jordi Mallach90453192002-01-23 13:20:20 +000045
Jordi Mallach3c5653d2002-02-23 18:23:43 +000046Please submit any bugs in the CVS branch to nano-devel@gnu.org.