You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go tool cgo augeas.go
In file included from /home/rpinson/go/src/github.com/raphink/go-augeas/augeas.go:8:0:
/usr/include/augeas.h:24:25: fatal error: libxml/tree.h: No such file or directory
compilation terminated.
@raphink Is there a reason you're invoking go tool cgo directly? That's an internal tool used by go build, and will expect certain flags. The pkg-config logic is handled elsewhere as far as I know.
Activity
raphink commentedon Mar 29, 2016
I'd love to have
Srunright now 😉raphink commentedon Mar 29, 2016
@dominikh I just wrote https://github.com/raphink/go-augeas/commit/13670f8d56e63c69e4bbef7a1aaadecbff4fcf19 but I can't build it, go doesn't seem to find pkg-config info:
dominikh commentedon Mar 29, 2016
@raphink Is there a reason you're invoking
go tool cgodirectly? That's an internal tool used bygo build, and will expect certain flags. The pkg-config logic is handled elsewhere as far as I know.raphink commentedon Mar 30, 2016
go buildhas another issue...I'm still not really sure about the best way to do PRs on Go projects, since they explicitely declare online dependencies.
dominikh commentedon Mar 30, 2016
Give http://blog.campoy.cat/2014/03/github-and-go-forking-pull-requests-and.html a read.
raphink commentedon Mar 31, 2016
Interesting, thanks.
raphink commentedon Mar 31, 2016
So I managed to get it to build... But I'm stuck with this IO_FILE object now... https://github.com/raphink/go-augeas/blob/srun/augeas.go#L211 any clue?