{"action":"closed","issue":{"url":"https://api.github.com/repos/buger/gor/issues/218","labels_url":"https://api.github.com/repos/buger/gor/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/buger/gor/issues/218/comments","events_url":"https://api.github.com/repos/buger/gor/issues/218/events","html_url":"https://github.com/buger/gor/issues/218","id":113419976,"number":218,"title":"Problem installing Gor from source","user":{"login":"EmanSalah","id":15327339,"avatar_url":"https://avatars.githubusercontent.com/u/15327339?v=3","gravatar_id":"","url":"https://api.github.com/users/EmanSalah","html_url":"https://github.com/EmanSalah","followers_url":"https://api.github.com/users/EmanSalah/followers","following_url":"https://api.github.com/users/EmanSalah/following{/other_user}","gists_url":"https://api.github.com/users/EmanSalah/gists{/gist_id}","starred_url":"https://api.github.com/users/EmanSalah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmanSalah/subscriptions","organizations_url":"https://api.github.com/users/EmanSalah/orgs","repos_url":"https://api.github.com/users/EmanSalah/repos","events_url":"https://api.github.com/users/EmanSalah/events{/privacy}","received_events_url":"https://api.github.com/users/EmanSalah/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-26T18:25:29Z","updated_at":"2015-11-09T09:14:21Z","closed_at":"2015-11-09T09:14:21Z","body":"Dear Buger,\r\n I tried installing Gor either using go get github.com/buger/gor or from a manually downloaded Zip file,\r\nbut when I run go build gor.go it gives:\r\n\r\n# command-line-arguments\r\n./gor.go:35: undefined: VERSION\r\n./gor.go:38: undefined: InitPlugins\r\n./gor.go:40: undefined: Plugins in Plugins.Inputs\r\n./gor.go:40: undefined: Plugins in Plugins.Outputs\r\n./gor.go:52: undefined: Start\r\n\r\n\r\nand if I ran just go build as you suggested (I run it from $GOPATH/src/github.com/buger/gor director) I get:\r\n\r\nelasticsearch.go:5:2: cannot find package \"github.com/buger/elastigo/api\" in any of:\r\n\t/opt/go/src/github.com/buger/elastigo/api (from $GOROOT)\r\n\t/home/eman/src/github.com/buger/elastigo/api (from $GOPATH)\r\nelasticsearch.go:6:2: cannot find package \"github.com/buger/elastigo/core\" in any of:\r\n\t/opt/go/src/github.com/buger/elastigo/core (from $GOROOT)\r\n\t/home/eman/src/github.com/buger/elastigo/core (from $GOPATH)\r\nelasticsearch.go:7:2: cannot find package \"github.com/buger/gor/proto\" in any of:\r\n\t/opt/go/src/github.com/buger/gor/proto (from $GOROOT)\r\n\t/home/eman/src/github.com/buger/gor/proto (from $GOPATH)\r\ninput_raw.go:4:2: cannot find package \"github.com/buger/gor/raw_socket_listener\" in any of:\r\n\t/opt/go/src/github.com/buger/gor/raw_socket_listener (from $GOROOT)\r\n\t/home/eman/src/github.com/buger/gor/raw_socket_listener (from $GOPATH)\r\n\r\n\r\nHere are my Environment Settings: \r\ngo version go1.5 linux/amd64\r\nGOARCH=\"amd64\"\r\nGOBIN=\"/home/eman/bin\"\r\nGOEXE=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"linux\"\r\nGOOS=\"linux\"\r\nGOPATH=\"/home/eman\"\r\nGORACE=\"\"\r\nGOROOT=\"/opt/go\"\r\nGOTOOLDIR=\"/opt/go/pkg/tool/linux_amd64\"\r\nGO15VENDOREXPERIMENT=\"\"\r\nCC=\"gcc\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fmessage-length=0\"\r\nCXX=\"g++\"\r\nCGO_ENABLED=\"1\"\r\n\r\n\r\nYour help is highly appreciated \r\n\r\nThanks a lot \r\n\r\n\r\n\r\n "}}