I am trying to compile my favorite nano
command-line text editor with some of the options.
Actually, most of the options in order to enable all features.
First, I go to Downloads directory and download the tarball:
cd Downloads
wget --continue https://www.nano-editor.org/dist/v2.8/nano-2.8.0.tar.xz
Then, I verify its integrity:
wget --continue https://www.nano-editor.org/dist/v2.8/nano-2.8.0.tar.xz.asc
gpg --verify nano-2.8.0.tar.xz.asc
It should say:
gpg: Good signature from "Benno Schulenberg <bensberg@justemail.net>"
I have tried to run the configuration script as follows:
./configure --enable-nanorc --enable-color --enable-extra --enable-multibuffer --enable-utf8 --enable-libmagic --enable-speller --disable-wrapping-as-root
After compilation, I end up with this; directly executed in the compiled directory:
Compiled options: --disable-libmagic ...
I stress the:
--disable-libmagic
As I specifically configured it with:
--enable-libmagic
After no success:
I delete the folder to start the process over:
rm -rf nano-2.8.0/
I extract again the archive:
tar -xJf nano-2.8.0.tar.xz
I have tried different combinations of options, but no luck.
Is there anything missing in the system or am I just doing something wrong?
Direct execution after the compilation:
user@computer ~/Downloads/nano-2.8.0/src $ ./nano --version
GNU nano, version 2.8.0 (C) 1999..2016 Free Software Foundation, Inc. (C) 2014..2017 the contributors to nano Email: nano@nano-editor.org Web: https://nano-editor.org/ Compiled options: --disable-libmagic --disable-wrapping-as-root --enable-utf8