Open dominikh opened 8 years ago
I'd love to have Srun
right now :wink:
@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:
$ 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.
go build
has another issue...
can't load package: package github.com/raphink/go-augeas: code in directory /home/rpinson/go/src/github.com/raphink/go-augeas expects import "honnef.co/go/augeas"
I'm still not really sure about the best way to do PRs on Go projects, since they explicitely declare online dependencies.
Interesting, thanks.
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?
The following Augeas functions aren't currently implemented and should probably be added:
Looking for volunteers to contribute those functions.