mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-27 07:09:38 +03:00
6533e235e8
nano.html git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3168 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
INSTRUCTIONS TO COMPILE AND INSTALL NANO CVS VERSIONS
|
|
-----------------------------------------------------
|
|
|
|
GNU nano is available from CVS, but building this needs a bit more care
|
|
than the official stable and unstable tarballs.
|
|
|
|
To successfully compile GNU nano from CVS, you'll need the following
|
|
packages:
|
|
|
|
- autoconf (version >= 2.54)
|
|
- automake (version >= 1.7)
|
|
- gettext (version >= 0.11.5)
|
|
- groff
|
|
- texinfo (version >= 4.0)
|
|
- cvs
|
|
- ssh (with support for the SSH version 2 protocol)
|
|
- glib 2.x (if your system doesn't have vsnprintf())
|
|
- make, gcc and the normal development libraries (curses or slang, etc.)
|
|
|
|
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.
|
|
|
|
First, you need to set up cvs to download the CVS tree using ssh. If
|
|
you're using a Bourne shell (e.g. bash or sh), do
|
|
$ 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:
|
|
$ 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_2_branch":
|
|
$ cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/nano checkout -r nano_1_2_branch nano
|
|
|
|
Once you have the sources in the "nano" directory, cd into it, and
|
|
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
|
|
$ ./configure [--add-options-here] && make
|
|
|
|
Once it's done compiling,
|
|
$ make install
|
|
(as root) should put the required files in their respective directories.
|
|
|
|
Please submit any bugs in the CVS branch to nano-devel@gnu.org.
|