bugGNU nano - Bugs: bug #49761, compiling Nano editor with options


You are not allowed to post comments on this tracker with your current authentication level.

bug #49761: compiling Nano editor with options

Submitted by:  Vlastimil Burian <burianvlastimil>
Submitted on:  Sat 03 Dec 2016 03:47:35 PM UTC  
Severity:  2 - Minor Status:  Works For Me
Assigned to:  Benno Schulenberg <bens> Open/Closed:  Closed

Sun 04 Dec 2016 04:38:16 AM UTC, comment #3: 

Thank you for the clarification and pointing me to the bug #47437.

Vlastimil Burian <burianvlastimil>
Sat 03 Dec 2016 04:58:39 PM UTC, comment #2: 

Or maybe you find that your self-compiled nano does not read /etc/nanorc?  Then see the answer to bug #47437.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sat 03 Dec 2016 04:27:09 PM UTC, comment #1: 

Hello Vlastimil,

You are not saying what you are trying to achieve.  What do you /expect/ to see in the output of 'nano --version'?

All options are enabled by default (except debug), so all your --enable-nanorc etcetera are superfluous.  And as Thomas has explained on Stackexhange, you need some -dev package if you want libmagic support (but I would advice against it -- it brings very little and is a major slowdown during startup).

Maybe the documentation (info nano build) should be improved to say that all options except debug are enabled by default and the user should use --disable-something if he/she wants to exclude something?

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sat 03 Dec 2016 03:47:35 PM UTC, original submission:  

As described on:


I seem to be unable to compile with any combination of options, like

./configure --enable-nanorc --enable-color --enable-extra --enable-multibuffer

always makes a binary with:

Compiled options: --disable-libmagic --enable-utf8

I am unsure as to whether it is problem on my system Linux Mint 18 Cinnamon, but I have verified it in a virtual machine clean installation.

vlastimil@vb-nb-mint ~/Downloads/nano-2.7.1/src $ ./nano --version

 GNU nano, version 2.7.1
 (C) 1999..2016 Free Software Foundation, Inc.
 (C) 2014..2016 the contributors to nano
 Email: -email is unavailable-    Web: https://nano-editor.org/
 Compiled options: --disable-libmagic --enable-utf8

Vlastimil Burian <burianvlastimil>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by burianvlastimil (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-04 bens StatusNeed Info => Works For Me
        Open/ClosedOpen => Closed
    2016-12-03 bens SummaryCompiling Nano editor with options => compiling Nano editor with options
    2016-12-03 bens Severity3 - Normal => 2 - Minor
        StatusNone => Need Info
        Assigned toNone => bens

    Back to the top

    Powered by Savane 3.7