2002-01-23 16:20:20 +03:00
|
|
|
INSTRUCTIONS TO COMPILE AND INSTALL NANO CVS VERSIONS
|
|
|
|
-----------------------------------------------------
|
|
|
|
|
2004-10-18 18:13:28 +04:00
|
|
|
GNU nano is available from CVS, but building this needs a bit more care
|
|
|
|
than the official stable and unstable tarballs.
|
2002-01-23 16:20:20 +03:00
|
|
|
|
2004-10-18 18:13:28 +04:00
|
|
|
To successfully compile GNU nano from CVS, you'll need the following
|
|
|
|
packages:
|
2002-01-23 16:20:20 +03:00
|
|
|
|
2004-05-13 21:19:54 +04:00
|
|
|
- autoconf (version >= 2.54)
|
|
|
|
- automake (version >= 1.7)
|
2003-01-15 21:16:54 +03:00
|
|
|
- gettext (version >= 0.11.5)
|
2004-11-20 19:16:47 +03:00
|
|
|
- groff
|
2002-01-23 16:20:20 +03:00
|
|
|
- texinfo
|
|
|
|
- cvs
|
2004-11-21 21:44:23 +03:00
|
|
|
- ssh (with support for the SSH version 2 protocol)
|
2004-10-18 18:13:28 +04:00
|
|
|
- glib 2.x (if your system doesn't have snprintf() and/or vsnprintf())
|
2005-03-20 00:33:13 +03:00
|
|
|
- make, gcc and the normal development libraries (curses or slang, etc.)
|
2002-01-23 16:20:20 +03:00
|
|
|
|
2005-03-20 00:33:13 +03:00
|
|
|
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.
|
2002-01-23 16:20:20 +03:00
|
|
|
|
2004-11-21 21:44:23 +03:00
|
|
|
First, you need to set up cvs to download the CVS tree using ssh. If
|
2004-11-21 21:51:30 +03:00
|
|
|
you're using a Bourne shell (e.g. bash or sh), do
|
2004-11-21 21:44:23 +03:00
|
|
|
$ 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:
|
2004-11-21 20:45:25 +03:00
|
|
|
$ cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/nano checkout nano
|
|
|
|
|
2005-04-20 17:24:39 +04:00
|
|
|
If you want to download the stable CVS branch, add "-r nano_1_2_branch":
|
|
|
|
$ cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/nano checkout -r nano_1_2_branch nano
|
2002-01-23 16:20:20 +03:00
|
|
|
|
2002-11-04 19:05:42 +03:00
|
|
|
Once you have the sources in the "nano" directory, cd into it, and
|
2004-10-18 18:13:28 +04:00
|
|
|
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
|
2002-01-23 16:20:20 +03:00
|
|
|
$ ./configure [--add-options-here] && make
|
2004-11-21 20:45:25 +03:00
|
|
|
|
2002-01-23 16:20:20 +03:00
|
|
|
Once it's done compiling,
|
|
|
|
$ make install
|
2002-10-07 03:32:21 +04:00
|
|
|
(as root) should put the required files in their respective directories.
|
2002-01-23 16:20:20 +03:00
|
|
|
|
2002-02-23 21:23:43 +03:00
|
|
|
Please submit any bugs in the CVS branch to nano-devel@gnu.org.
|