nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] unable to install - nano-2.7.4.tar.gz in solaris 11.3


From: Benno Schulenberg
Subject: Re: [Nano-devel] unable to install - nano-2.7.4.tar.gz in solaris 11.3
Date: Fri, 03 Feb 2017 13:22:57 +0100

On Fri, Feb 3, 2017, at 12:39, Roselin John (UK) wrote:
> Solaris 11.3 shipped with 2.0.9,
> 
> When we compile and install the newer version the binary loads in 
> /usr/local/bin/ path,

Yes, that is the default, to avoid overwriting a system-installed nano.

> The default /usr/bin/nano gives the old version and /usr/local/bin/nano gives 
> the new version,

That is because your PATH is not right:

PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/local/sbin

Normally the locally installed stuff should override the system-installed
stuff, so the local things should come first in the path:

$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

> Please try placing the new version files at the same path.

If you want to overwrite the existing nano, you can use
    ./configure --prefix=/usr


Now back to the problem.
In your config.log it says:

configure:xxxx: checking if the linker (/usr/bin/ld) is GNU ld
configure:xxxx: result: no

I'm guessing that if you start using GNU ld, things will work
without needing to make a copy of the ncurses header file.
I don't know how to tell gcc to use a certain ld.  Maybe you
could just make sure that /usr/bin/ld points to a GNU ld.

Benno

-- 
http://www.fastmail.com - Send your email first class




reply via email to

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