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

 
 

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 - MinorStatus: Works For Me
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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:

https://unix.stackexchange.com/questions/327765/compiling-nano-editor-with-options

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: -unavailable- Web: https://nano-editor.org/
Compiled options: --disable-libmagic --enable-utf8

Vlastimil Burian <burianvlastimil>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 04 Dec 2016 04:34:43 PM UTCbensStatusNeed Info=>Works For Me
      Open/ClosedOpen=>Closed
    Sat 03 Dec 2016 04:58:39 PM UTCbensSummaryCompiling Nano editor with options=>compiling Nano editor with options
    Sat 03 Dec 2016 04:27:09 PM UTCbensSeverity3 - Normal=>2 - Minor
      StatusNone=>Need Info
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1