public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
* [nncp-devel] Getting NNCP compiled under Ubuntu 14.04 and 16.04
@ 2017-01-12 10:46 Shawn K. Quinn
  2017-01-12 13:17 ` Sergey Matveev
  0 siblings, 1 reply; 2+ messages in thread
From: Shawn K. Quinn @ 2017-01-12 10:46 UTC (permalink / raw)
  To: nncp-devel

Ubuntu 16.04 is easy:

# apt install golang

and the usual commands should then work.

Ubuntu 14.04 is another animal entirely:

# apt-get install golang-1.6

and then you need this bit of hackish horror to get a successful compile
in place of the usual make command:

$ PATH=/usr/lib/go-1.6/bin:$PATH make -C nncp-0.1 all

The reason for this is there appears to be no way to tell Ubuntu to use
the 1.6 version of Go as the default in 14.04. Otherwise, if you have
the golang package installed, it wants to use that version, somewhere in
the 1.2 series, which is simply too old. If you only have golang-1.6
installed it simply won't find the go executable.

-- 
Shawn K. Quinn <skquinn@rushpost•com>
http://www.rantroulette.com
http://www.skqrecordquest.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [nncp-devel] Getting NNCP compiled under Ubuntu 14.04 and 16.04
  2017-01-12 10:46 [nncp-devel] Getting NNCP compiled under Ubuntu 14.04 and 16.04 Shawn K. Quinn
@ 2017-01-12 13:17 ` Sergey Matveev
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Matveev @ 2017-01-12 13:17 UTC (permalink / raw)
  To: nncp-devel

[-- Attachment #1: Type: text/plain, Size: 336 bytes --]

*** Shawn K. Quinn <skquinn@rushpost•com> [2017-01-12 14:06]:
>Ubuntu 16.04 is easy:
>Ubuntu 14.04 is another animal entirely:
>[skip]

Thanks for clarification! I will add that information to the
documentation soon.

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: CF60 E89A 5923 1E76 E263  6422 AE1A 8109 E498 57EF

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-12 13:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-12 10:46 [nncp-devel] Getting NNCP compiled under Ubuntu 14.04 and 16.04 Shawn K. Quinn
2017-01-12 13:17 ` Sergey Matveev