mirror of git://git.sv.gnu.org/nano.git
docs: mention that libncursesw5-dev is needed for building from git
In addition, tweak some of the wording.
This commit is contained in:
parent
eb5968f845
commit
95253231e8
31
README.GIT
31
README.GIT
|
@ -1,39 +1,42 @@
|
||||||
INSTRUCTIONS TO COMPILE AND INSTALL NANO GIT VERSIONS
|
INSTRUCTIONS FOR COMPILING AND INSTALLING NANO FROM GIT
|
||||||
=====================================================
|
=======================================================
|
||||||
|
|
||||||
The latest version of GNU nano is available via git, but building this needs
|
The latest changes and fixes for GNU nano are available via git, but
|
||||||
a bit more care than the official stable and unstable tarballs.
|
building this needs a bit more care than the official tarballs.
|
||||||
|
|
||||||
|
|
||||||
Prerequisites
|
Prerequisites
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
To successfully compile GNU nano from the git repo, you'll need the following
|
To successfully compile GNU nano from git, you'll need the following
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
- autoconf (version >= 2.61)
|
- autoconf (version >= 2.61)
|
||||||
- automake (version >= 1.7)
|
- automake (version >= 1.7)
|
||||||
|
- autopoint (version >= 0.11.5)
|
||||||
- gettext (version >= 0.11.5)
|
- gettext (version >= 0.11.5)
|
||||||
- git (version >= 2.7.4)
|
- git (version >= 2.7.4)
|
||||||
- groff (version >= 1.12)
|
- groff (version >= 1.12)
|
||||||
- pkg-config (version >= 0.22)
|
- pkg-config (version >= 0.22)
|
||||||
- texinfo (version >= 4.0)
|
- texinfo (version >= 4.0)
|
||||||
- glib 2.x (in case your system doesn't have vsnprintf(), which the
|
- gcc (any version)
|
||||||
configure script will check for)
|
- make (any version)
|
||||||
- make, gcc, and
|
|
||||||
- the normal development libraries (curses or slang, etc.)
|
If you want UTF-8 support, you will also need libncursesw5-dev installed
|
||||||
|
(version >= 5.7, or something equivalent if you use --with-slang).
|
||||||
|
If your system doesn't have 'vsnprintf' (which the configure script will
|
||||||
|
check for), you will also need glib-2.x installed.
|
||||||
|
|
||||||
These should all be available in your distro's package manager or software
|
These should all be available in your distro's package manager or software
|
||||||
center, or otherwise on any GNU mirror. Note that you'll need a version of
|
center, or otherwise on any GNU mirror.
|
||||||
curses or slang with wide character support if you want nano to use UTF-8.
|
|
||||||
|
|
||||||
|
|
||||||
Download the source
|
Download the source
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
To obtain the current nano development code (called 'master', or sometimes
|
To obtain the current nano development branch (called 'master'), use the
|
||||||
'trunk'), use the following command. It will create a copy of the files in
|
following command. It will create in your current working directory a
|
||||||
a subdirectory of your current working directory called 'nano':
|
subdirectory called 'nano' containing a copy of all of the files:
|
||||||
|
|
||||||
$ git clone git://git.savannah.gnu.org/nano.git nano
|
$ git clone git://git.savannah.gnu.org/nano.git nano
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue