Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Skywire node on Windows
#11
Pretty sure I did.

I just went ahead and did the whole thing over again. Now it fails when it tries to build the binaries.


Code:
Stretch@Stretch-PC MINGW64 /c/work
$ pwd
/c/work

Stretch@Stretch-PC MINGW64 /c/work
$ mkdir.exe -p $GOPATH/src/github.com/skycoin

Stretch@Stretch-PC MINGW64 /c/work
$ cd $GOPATH/src/github.com/skycoin

Stretch@Stretch-PC MINGW64 /src/github.com/skycoin
$ git clone -b master https://github.com/skycoin/skywire.git
Cloning into 'skywire'...
remote: Counting objects: 3139, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 3139 (delta 0), reused 2 (delta 0), pack-reused 3133
Receiving objects: 100% (3139/3139), 19.82 MiB | 122.00 KiB/s, done.
Resolving deltas: 100% (891/891), done.

Stretch@Stretch-PC MINGW64 /src/github.com/skycoin
$ cd $GOPATH/src/github.com/skycoin/skywire/cmd

Stretch@Stretch-PC MINGW64 /src/github.com/skycoin/skywire/cmd (master)
$ go install ./...
discovery\main.go:9:2: cannot find package "github.com/sirupsen/logrus" in any of:
       C:\Go\src\github.com\sirupsen\logrus (from $GOROOT)
       C:\Users\Stretch\go\src\github.com\sirupsen\logrus (from $GOPATH)
discovery\main.go:10:2: cannot find package "github.com/skycoin/net/skycoin-messenger/factory" in any of:
       C:\Go\src\github.com\skycoin\net\skycoin-messenger\factory (from $GOROOT)
       C:\Users\Stretch\go\src\github.com\skycoin\net\skycoin-messenger\factory (from $GOPATH)
discovery\main.go:11:2: cannot find package "github.com/skycoin/net/skycoin-messenger/monitor" in any of:
       C:\Go\src\github.com\skycoin\net\skycoin-messenger\monitor (from $GOROOT)
       C:\Users\Stretch\go\src\github.com\skycoin\net\skycoin-messenger\monitor (from $GOPATH)
node\main.go:6:2: cannot find package "github.com/skycoin/skycoin/src/util/file" in any of:
       C:\Go\src\github.com\skycoin\skycoin\src\util\file (from $GOROOT)
       C:\Users\Stretch\go\src\github.com\skycoin\skycoin\src\util\file (from $GOPATH)
node\main.go:7:2: cannot find package "github.com/skycoin/skywire/node" in any of:
       C:\Go\src\github.com\skycoin\skywire\node (from $GOROOT)
       C:\Users\Stretch\go\src\github.com\skycoin\skywire\node (from $GOPATH)
node\main.go:8:2: cannot find package "github.com/skycoin/skywire/node/api" in any of:
       C:\Go\src\github.com\skycoin\skywire\node\api (from $GOROOT)
       C:\Users\Stretch\go\src\github.com\skycoin\skywire\node\api (from $GOPATH)
socks\socksc\client.go:11:2: cannot find package "github.com/shadowsocks/shadowsocks-go/shadowsocks" in any of:
       C:\Go\src\github.com\shadowsocks\shadowsocks-go\shadowsocks (from $GOROOT)
       C:\Users\Stretch\go\src\github.com\shadowsocks\shadowsocks-go\shadowsocks (from $GOPATH)
socks\socksc\client.go:15:2: cannot find package "github.com/skycoin/skywire/app" in any of:
       C:\Go\src\github.com\skycoin\skywire\app (from $GOROOT)
       C:\Users\Stretch\go\src\github.com\skycoin\skywire\app (from $GOPATH)
Reply
#12
"**Skywire is still in testing phase, so don't expect to earn any skycoins or coinhours when your node is operational. This is for educational purposes only"

When testing phase will be finished - would this be the same way to start a node on laptop/desktop computer and earn some skycoins or coinhours or only buying Skywire Miner would enable such earnings?
Reply
#13
(01-10-2018, 04:24 PM)SlickStretch Wrote: Pretty sure I did.

I just went ahead and did the whole thing over again. Now it fails when it tries to build the binaries.
Open a command window and type the following two commands. Please send me the output
echo %GOPATH%

echo %GOROOT%
[-] The following 1 user says Thank You to skyguy for this post:
  • SlickStretch
Reply
#14
I'm guessing this isn't what you were expecting...

Code:
Stretch@Stretch-PC MINGW64 /c/work
$ echo %GOPATH%
%GOPATH%

Stretch@Stretch-PC MINGW64 /c/work
$ echo %GOROOT%
%GOROOT%

Stretch@Stretch-PC MINGW64 /c/work
$
Reply
#15
(01-11-2018, 11:14 AM)SlickStretch Wrote: I'm guessing this isn't what you were expecting...

Code:
Stretch@Stretch-PC MINGW64 /c/work
$ echo %GOPATH%
%GOPATH%

Stretch@Stretch-PC MINGW64 /c/work
$ echo %GOROOT%
%GOROOT%

Stretch@Stretch-PC MINGW64 /c/work
$

Yes. They should both return the paths for those two variables. Please check that both values are set in your system variables

[Image: New_GO_Path.jpg]
[-] The following 1 user says Thank You to skyguy for this post:
  • SlickStretch
Reply
#16
So, I seem to be missing GOPATH from my variables. However, GOROOT is present so I'm not sure why that one wouldn't have shown up?

Anyways, here's my variables:

Code:
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\Stretch\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=STRETCH-PC
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
GOROOT=C:\Go\
HOMEDRIVE=C:
HOMEPATH=\Users\Stretch
LOCALAPPDATA=C:\Users\Stretch\AppData\Local
LOGONSERVER=\\STRETCH-PC
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;A:\Program Files\PuTTY\;C:\Go\bin;C:\Program Files\Git\cmd
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2a07
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\Stretch\AppData\Local\Temp
TMP=C:\Users\Stretch\AppData\Local\Temp
USERDOMAIN=Stretch-PC
USERNAME=Stretch
USERPROFILE=C:\Users\Stretch
windir=C:\Windows
windows_tracing_flags=3
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log

I feel dumb. I was putting the echo commands in my git bash, and not a cmd window. However, there's still no %GOPATH% variable.

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Stretch>echo %GOPATH%
%GOPATH%

C:\Users\Stretch>echo %GOROOT%
C:\Go\

C:\Users\Stretch>
Reply
#17
(01-12-2018, 04:15 AM)SlickStretch Wrote: So, I seem to be missing GOPATH from my variables. However, GOROOT is present so I'm not sure why that one wouldn't have shown up?

Manually add the go path as per my instructions in the tutorial
[-] The following 2 users say Thank You to skyguy for this post:
  • Docukno, SlickStretch
Reply
#18
(01-12-2018, 04:22 AM)skyguy Wrote: Manually add the go path as per my instructions in the tutorial

Thanks! After adding the path (I must have missed that step...) everything went smoothly. I'm up and running now.
Reply
#19
Ok great post I was having the same issue
Reply
#20
What are the differences between
1. setting up a node with this method,
2. setting up a DIY node with an Orange Pi (or any other board for that matter) and
3. setting up a node with the official Skyminer?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)