sourcegraph / go-webkit2

WebKit API bindings (WebKitGTK+ v2) for Go
https://sourcegraph.com/github.com/sourcegraph/go-webkit2
Other
313 stars 61 forks source link

Ubuntu initial install failed to build webkit-eval-js #29

Open icoris opened 7 years ago

icoris commented 7 years ago

Hi,

I'm using Ubuntu 16.04 LTS with Go version 1.6.3 and Webkit2gtk-.3.0-dev.

When I try and run: go get -tags gtk_3_10 github.com/sourcegraph/go-webkit2/cmd/webkit-eval-js I'm getting the following build issues:

root@host:~/build/src# go get -tags gtk_3_10 github.com/sourcegraph/go-webkit2/cmd/webkit-eval-js

/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /tmp/go-link-104434990/000008.o: In function removeClosure': /tmp/go-build817152816/github.com/gotk3/gotk3/glib/_obj/_cgo_export.c:10: multiple definition ofremoveClosure' /tmp/go-link-104434990/000000.o:/tmp/go-build817152816/github.com/conformal/gotk3/glib/_obj/_cgo_export.c:10: first defined here /tmp/go-link-104434990/000008.o: In function goMarshal': /tmp/go-build817152816/github.com/gotk3/gotk3/glib/_obj/_cgo_export.c:23: multiple definition ofgoMarshal' /tmp/go-link-104434990/000000.o:/tmp/go-build817152816/github.com/conformal/gotk3/glib/_obj/_cgo_export.c:23: first defined here collect2: error: ld returned 1 exit status

Any ideas on how to correct this issue?

paultag commented 7 years ago

@icoris could you try this again against master? Thank you!