help-nano
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to compile with --enable-nanorc?


From: flomanstrategy
Subject: Re: How to compile with --enable-nanorc?
Date: Thu, 5 Dec 2019 20:10:29 +0100

I answered only to help-nano (hope it's fine)

I chose 2.9.8 because it's the latest version that doesn't need new debian 10 packages (i'm on debian 9) to avoid conflicts

> which nano
/usr/local/bin/nano

Another problem I have is when I type "dpkg -r nano" it says this
dpkg: warning: ignoring request to remove nano, only the config
 files of which are on the system; use --purge to remove them too


> strace nano README  2>TRAIL; grep -n access TRAIL | grep -n nanorc | less
7:62:access("/usr/local/etc/nanorc", R_OK)   = -1 ENOENT (No such file or directory)
8:64:access("/home/my_server/.nanorc", R_OK) = -1 ENOENT (No such file or directory)
9:65:access("/home/my_server/.config/nano/nanorc", R_OK) = -1 ENOENT (No such file or directory)

Ok seems like it doesn't look in the right directory

> Did you maybe compile and install nano at first without the --prefix=/usr
option?  If yes, then you need to configure it again without that option
and run 'make uninstall', to get rid of the nano in /usr/local/bin/.

And YES. I don't know where it should install normally, I found the prefix here https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/nano so that may be it
I just tried to "make uninstall" (with and without sudo), it did something  but nano is still installed on 2.9.8 after that

Le jeu. 5 déc. 2019 à 16:41, Benno Schulenberg <address@hidden> a écrit :

Op 05-12-2019 om 13:53 schreef Benno Schulenberg:
> Which nano is this running?  You can find out with 'which nano',
> or with 'type - nano'.

I meant: 'type -a nano'.

Benno


reply via email to

[Prev in Thread] Current Thread [Next in Thread]