[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: |
Roselin John (UK) |
Subject: |
Re: [Nano-devel] unable to install - nano-2.7.4.tar.gz in solaris 11.3 |
Date: |
Fri, 3 Feb 2017 12:26:48 +0000 |
Both are different
-r-xr-xr-x 1 root bin 24680 Jan 4 13:48 /usr/bin/ld
-r-xr-xr-x 2 root bin 1854568 Nov 22 15:39 /usr/gnu/bin/ld
Roselin John
-----Original Message-----
From: Benno Schulenberg [mailto:address@hidden
Sent: 03 February 2017 12:23
To: Roselin John (UK)
Cc: Nano
Subject: Re: [Nano-devel] unable to install - nano-2.7.4.tar.gz in solaris 11.3
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
This electronic message contains information from Telefonica UK, Telefonica
Europe or Telefonica Digital which may be privileged or confidential. The
information is intended to be for the use of the individual(s) or entity named
above. If you are not the intended recipient be aware that any disclosure,
copying distribution or use of the contents of this information is prohibited.
If you have received this electronic message in error, please notify us by
telephone or email.
Switchboard: +44 (0)113 272 2000
Email: address@hidden
Telefonica UK Limited 260 Bath Road, Slough, Berkshire SL1 4DX Registered in
England and Wales: 1743099. VAT number: GB 778 6037 85
Telefonica Europe plc 260 Bath Road, Slough, Berkshire SL1 4DX Registered in
England and Wales: 05310128. VAT number: GB 778 6037 85
Telefonica Digital Limited 260 Bath Road, Slough, Berkshire SL1 4DX Registered
in England and Wales: 7884976. VAT number: GB 778 6037 85