Closed aensidhe closed 8 years ago
Please run mingw32-make package at C:\Users\popov_a\Source\Repos\misc\heka\build
Ok, I had to install some go packages, old versions of some of them:
$ go get code.google.com/p/gogoprotobuf/proto
$ go get code.google.com/p/gogoprotobuf/gogoproto
$ go get code.google.com/p/gogoprotobuf/protoc-gen-gogo
$ go get github.com/rafrombrc/gomock/mockgen
$ go get github.com/mozilla-services/heka/cmd/hekad
# github.com/mozilla-services/heka/message
C:\Users\popov_a\Gopath\src\github.com\mozilla-services\heka\message\message_matcher.go:21: undefined: tree
It seems that this is an error, because mingw32-make package
fails with the same message:
C:\Users\popov_a\Source\Repos\misc\heka\build>mingw32-make package
[ 4%] Built target gogoprotobuf
[ 9%] Built target raw
[ 13%] Built target slices
[ 18%] Built target sets
[ 22%] Built target go-ircevent
[ 26%] Built target gospec
[ 30%] Built target go-simplejson
[ 35%] Built target goamz
[ 40%] Built target g2s
[ 45%] Built target xmlpath
[ 50%] Built target go-notify
[ 54%] Built target go-uuid
[ 59%] Built target toml
[ 63%] Built target snappy-go
[ 67%] Built target amqp
[ 71%] Built target sarama
[ 75%] Built target whisper-go
[ 80%] Built target gomock
[ 80%] Built target GoPackages
[ 84%] Built target lua_sandbox
Install dll's for the mock generation and unit tests
[ 85%] Built target heka_source
[ 85%] Built target message_matcher_parser
[100%] Built target mocks
# github.com/mozilla-services/heka/message
..\..\..\..\..\Gopath\src\github.com\mozilla-services\heka\message\message_matcher.go:21: undefined: tree
CMakeFiles\hekad.dir\build.make:56: recipe for target 'CMakeFiles/hekad' failed
mingw32-make.EXE[2]: *** [CMakeFiles/hekad] Error 2
CMakeFiles\Makefile2:1530: recipe for target 'CMakeFiles/hekad.dir/all' failed
mingw32-make.EXE[1]: *** [CMakeFiles/hekad.dir/all] Error 2
Makefile:159: recipe for target 'all' failed
mingw32-make.EXE: *** [all] Error 2
You have to set the appropriate environment variables to point to your Go environment before any of the mingw32-make commands will work. On Windows the build.bat script does this for you, or you can do it without building by running the env.bat script. Are you doing this?
I'm sorry for non-answering. We discarded windows builds of heka. Our logs on windows are parsed now by heka in docker container. So, I close issue now.
Thanks for help to anyone.
I built latest release and trying to make a package for redistribution.
cpack
emits something about*.nuspec
and does not work, because there are no*.nuspec
files:Other option with
mingw32-make
does not work also: