{"action":"created","issue":{"url":"https://api.github.com/repos/wjh/zif/issues/42","repository_url":"https://api.github.com/repos/wjh/zif","labels_url":"https://api.github.com/repos/wjh/zif/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/wjh/zif/issues/42/comments","events_url":"https://api.github.com/repos/wjh/zif/issues/42/events","html_url":"https://github.com/wjh/zif/issues/42","id":196287352,"number":42,"title":"Unable to find packages when trying to install on windows","user":{"login":"jurgentreep","id":2023697,"avatar_url":"https://avatars.githubusercontent.com/u/2023697?v=3","gravatar_id":"","url":"https://api.github.com/users/jurgentreep","html_url":"https://github.com/jurgentreep","followers_url":"https://api.github.com/users/jurgentreep/followers","following_url":"https://api.github.com/users/jurgentreep/following{/other_user}","gists_url":"https://api.github.com/users/jurgentreep/gists{/gist_id}","starred_url":"https://api.github.com/users/jurgentreep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jurgentreep/subscriptions","organizations_url":"https://api.github.com/users/jurgentreep/orgs","repos_url":"https://api.github.com/users/jurgentreep/repos","events_url":"https://api.github.com/users/jurgentreep/events{/privacy}","received_events_url":"https://api.github.com/users/jurgentreep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-18T17:25:02Z","updated_at":"2016-12-18T18:01:01Z","closed_at":null,"body":"I'm trying to install the project on windows but for some reason it can't find the packages it needs. I've already set my GOPATH and tried running go install but it doesn't seem to work. I've looked on the internet but I can't really figure out what's going wrong.\r\n\r\nThis is my error log:\r\n```\r\njurge@jurgendesktop MINGW64 /d/Gocode/zif (master)\r\n$ sh install_all.sh\r\n/d/Gocode/zif/libzif /d/Gocode/zif\r\nhttpserver.go:10:2: cannot find package \"github.com/gorilla/mux\" in any of:\r\n        D:\\Go\\src\\github.com\\gorilla\\mux (from $GOROOT)\r\n        D:\\Gocode\\src\\github.com\\gorilla\\mux (from $GOPATH)\r\npeer.go:14:2: cannot find package \"github.com/hashicorp/yamux\" in any of:\r\n        D:\\Go\\src\\github.com\\hashicorp\\yamux (from $GOROOT)\r\n        D:\\Gocode\\src\\github.com\\hashicorp\\yamux (from $GOPATH)\r\ntor.go:9:2: cannot find package \"github.com/postfix/goControlTor\" in any of:\r\n        D:\\Go\\src\\github.com\\postfix\\goControlTor (from $GOROOT)\r\n        D:\\Gocode\\src\\github.com\\postfix\\goControlTor (from $GOPATH)\r\naddress.go:11:2: cannot find package \"github.com/prettymuchbryce/hellobitcoin/base58check\" in any of:\r\n        D:\\Go\\src\\github.com\\prettymuchbryce\\hellobitcoin\\base58check (from $GOROOT)\r\n        D:\\Gocode\\src\\github.com\\prettymuchbryce\\hellobitcoin\\base58check (from $GOPATH)\r\nclient.go:13:2: cannot find package \"github.com/sirupsen/logrus\" in any of:\r\n        D:\\Go\\src\\github.com\\sirupsen\\logrus (from $GOROOT)\r\n        D:\\Gocode\\src\\github.com\\sirupsen\\logrus (from $GOPATH)\r\nlocalpeer.go:15:2: cannot find package \"github.com/streamrail/concurrent-map\" in any of:\r\n        D:\\Go\\src\\github.com\\streamrail\\concurrent-map (from $GOROOT)\r\n        D:\\Gocode\\src\\github.com\\streamrail\\concurrent-map (from $GOPATH)\r\nclient.go:14:2: cannot find package \"github.com/wjh/zif/libzif/data\" in any of:\r\n        D:\\Go\\src\\github.com\\wjh\\zif\\libzif\\data (from $GOROOT)\r\n        D:\\Gocode\\src\\github.com\\wjh\\zif\\libzif\\data (from $GOPATH)\r\nclient.go:11:2: cannot find package \"golang.org/x/crypto/ed25519\" in any of:\r\n        D:\\Go\\src\\golang.org\\x\\crypto\\ed25519 (from $GOROOT)\r\n        D:\\Gocode\\src\\golang.org\\x\\crypto\\ed25519 (from $GOPATH)\r\naddress.go:12:2: cannot find package \"golang.org/x/crypto/ripemd160\" in any of:\r\n        D:\\Go\\src\\golang.org\\x\\crypto\\ripemd160 (from $GOROOT)\r\n        D:\\Gocode\\src\\golang.org\\x\\crypto\\ripemd160 (from $GOPATH)\r\naddress.go:13:2: cannot find package \"golang.org/x/crypto/sha3\" in any of:\r\n        D:\\Go\\src\\golang.org\\x\\crypto\\sha3 (from $GOROOT)\r\n        D:\\Gocode\\src\\golang.org\\x\\crypto\\sha3 (from $GOPATH)\r\nstreammanager.go:10:2: cannot find package \"golang.org/x/net/proxy\" in any of:\r\n        D:\\Go\\src\\golang.org\\x\\net\\proxy (from $GOROOT)\r\n        D:\\Gocode\\src\\golang.org\\x\\net\\proxy (from $GOPATH)\r\npeer.go:17:2: cannot find package \"gopkg.in/cheggaaa/pb.v1\" in any of:\r\n        D:\\Go\\src\\gopkg.in\\cheggaaa\\pb.v1 (from $GOROOT)\r\n        D:\\Gocode\\src\\gopkg.in\\cheggaaa\\pb.v1 (from $GOPATH)\r\n/d/Gocode/zif/libzif/data /d/Gocode/zif/libzif /d/Gocode/zif\r\ndatabase.go:6:2: cannot find package \"github.com/mattn/go-sqlite3\" in any of:\r\n        D:\\Go\\src\\github.com\\mattn\\go-sqlite3 (from $GOROOT)\r\n        D:\\Gocode\\src\\github.com\\mattn\\go-sqlite3 (from $GOPATH)\r\nsearch.go:12:2: cannot find package \"github.com/sajari/fuzzy\" in any of:\r\n        D:\\Go\\src\\github.com\\sajari\\fuzzy (from $GOROOT)\r\n        D:\\Gocode\\src\\github.com\\sajari\\fuzzy (from $GOPATH)\r\ncollection.go:9:2: cannot find package \"github.com/sirupsen/logrus\" in any of:\r\n        D:\\Go\\src\\github.com\\sirupsen\\logrus (from $GOROOT)\r\n        D:\\Gocode\\src\\github.com\\sirupsen\\logrus (from $GOPATH)\r\ncollection.go:10:2: cannot find package \"golang.org/x/crypto/sha3\" in any of:\r\n        D:\\Go\\src\\golang.org\\x\\crypto\\sha3 (from $GOROOT)\r\n        D:\\Gocode\\src\\golang.org\\x\\crypto\\sha3 (from $GOPATH)\r\n/d/Gocode/zif/libzif /d/Gocode/zif\r\n/d/Gocode/zif\r\n/d/Gocode/zif/zifd /d/Gocode/zif\r\nmain.go:15:2: cannot find package \"github.com/sirupsen/logrus\" in any of:\r\n        D:\\Go\\src\\github.com\\sirupsen\\logrus (from $GOROOT)\r\n        D:\\Gocode\\src\\github.com\\sirupsen\\logrus (from $GOPATH)\r\nmain.go:12:2: cannot find package \"github.com/wjh/zif/libzif\" in any of:\r\n        D:\\Go\\src\\github.com\\wjh\\zif\\libzif (from $GOROOT)\r\n        D:\\Gocode\\src\\github.com\\wjh\\zif\\libzif (from $GOPATH)\r\nmain.go:13:2: cannot find package \"github.com/wjh/zif/libzif/data\" in any of:\r\n        D:\\Go\\src\\github.com\\wjh\\zif\\libzif\\data (from $GOROOT)\r\n        D:\\Gocode\\src\\github.com\\wjh\\zif\\libzif\\data (from $GOPATH)\r\n/d/Gocode/zif\r\n/d/Gocode/zif/ui /d/Gocode/zif\r\nnpm WARN zif@0.1.0 No repository field.\r\nnpm WARN zif@0.1.0 No license field.\r\n/d/Gocode/zif\r\n```\r\n\r\nAny help would be very much appreciated."},"comment":{"url":"https://api.github.com/repos/wjh/zif/issues/comments/267836057","html_url":"https://github.com/wjh/zif/issues/42#issuecomment-267836057","issue_url":"https://api.github.com/repos/wjh/zif/issues/42","id":267836057,"user":{"login":"jurgentreep","id":2023697,"avatar_url":"https://avatars.githubusercontent.com/u/2023697?v=3","gravatar_id":"","url":"https://api.github.com/users/jurgentreep","html_url":"https://github.com/jurgentreep","followers_url":"https://api.github.com/users/jurgentreep/followers","following_url":"https://api.github.com/users/jurgentreep/following{/other_user}","gists_url":"https://api.github.com/users/jurgentreep/gists{/gist_id}","starred_url":"https://api.github.com/users/jurgentreep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jurgentreep/subscriptions","organizations_url":"https://api.github.com/users/jurgentreep/orgs","repos_url":"https://api.github.com/users/jurgentreep/repos","events_url":"https://api.github.com/users/jurgentreep/events{/privacy}","received_events_url":"https://api.github.com/users/jurgentreep/received_events","type":"User","site_admin":false},"created_at":"2016-12-18T18:01:01Z","updated_at":"2016-12-18T18:01:01Z","body":"I'm getting the following error even though I'm in the GOPATH:\r\n```\r\njurge@jurgendesktop MINGW64 /d/Gocode/zif/zifd (master)\r\n$ go get\r\ngo install: no install location for directory D:\\Gocode\\zif\\zifd outside GOPATH\r\n        For more details see: go help gopath\r\n\r\njurge@jurgendesktop MINGW64 /d/Gocode/zif/zifd (master)\r\n$ go env\r\nset GOARCH=amd64\r\nset GOBIN=\r\nset GOEXE=.exe\r\nset GOHOSTARCH=amd64\r\nset GOHOSTOS=windows\r\nset GOOS=windows\r\nset GOPATH=D:\\Gocode\\\r\nset GORACE=\r\nset GOROOT=D:\\Go\r\nset GOTOOLDIR=D:\\Go\\pkg\\tool\\windows_amd64\r\nset CC=gcc\r\nset GOGCCFLAGS=-m64 -mthreads -fmessage-length=0\r\nset CXX=g++\r\nset CGO_ENABLED=1\r\n```"}}
{"actor":{"display_login":"jurgentreep"}}