Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting undefined: X_GoV8 on install #16

Closed
paetling opened this issue Sep 9, 2016 · 3 comments
Closed

getting undefined: X_GoV8 on install #16

paetling opened this issue Sep 9, 2016 · 3 comments

Comments

@paetling
Copy link

paetling commented Sep 9, 2016

here is the final output of attempting to run ./go/build.sh install:

cd /Users/paetling/gc/gc/servertooth_go/src/github.com/sony/v8eval/go/v8eval
/usr/local/go/pkg/tool/darwin_amd64/compile -o $WORK/github.com/sony/v8eval/go/v8eval.a -trimpath $WORK -p github.com/sony/v8eval/go/v8eval -complete -buildid e5c9b41c69fd04b9e1a776f6ec77f19245d2ba69 -D _/Users/paetling/gc/gc/servertooth_go/src/github.com/sony/v8eval/go/v8eval -I $WORK -pack ./v8.go
# github.com/sony/v8eval/go/v8eval
./v8.go:36: undefined: X_GoV8
# github.com/sony/v8eval/go/v8eval
./v8.go:36: undefined: X_GoV8
FAIL    github.com/sony/v8eval/go/v8eval [build failed]

I am running on a mac with version 10.11.3 and have go version go1.5.1. I am not sure what is actually going wrong and am trying to investigate. But thought I would submit an issue to see if you had any suggestions or if there is anything obvious I am missing?

@paetling
Copy link
Author

paetling commented Sep 9, 2016

Update installation on Ubuntu 14.04 with go version: go1.5.1 also fails with the same error.

@YoshiyukiMineo
Copy link
Member

v8eval requires SWIG, which generates X_GoV8. What version of SWIG do you use?

@paetling
Copy link
Author

paetling commented Sep 12, 2016

I see. I did not have swig installed on my mac. Once I installed that I was able to install. Am trying the linux installation now.

Linux also worked.
Thanks for the help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants