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

Can't install this on OS X 10.9 #3

Open
mochja opened this issue Nov 13, 2013 · 13 comments
Open

Can't install this on OS X 10.9 #3

mochja opened this issue Nov 13, 2013 · 13 comments

Comments

@mochja
Copy link

mochja commented Nov 13, 2013

Jans-MacBook-Pro:~ janmochnak$ go get github.com/sourcegraph/webloop/
# runtime/cgo
clang: warning: argument unused during compilation: '-pthread'
# runtime/cgo
clang: error: no such file or directory: 'libgcc.a'
@sqs
Copy link
Member

sqs commented Nov 13, 2013

Looks like a general issue with cgo (source), not specific to WebLoop. What if you try running:

CC=clang go get github.com/sourcegraph/webloop

That will force it to use clang to build.

@mochja
Copy link
Author

mochja commented Nov 13, 2013

Jans-MacBook-Pro:~ janmochnak$ CC=clang go get github.com/sourcegraph/webloop/...
# pkg-config --cflags javascriptcoregtk-3.0
Package javascriptcoregtk-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `javascriptcoregtk-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'javascriptcoregtk-3.0' found
exit status 1
# pkg-config --cflags gdk-3.0
Package gdk-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gdk-3.0' found
exit status 1

@sqs
Copy link
Member

sqs commented Nov 13, 2013

Do you have WebKitGTK+ >= 2.0.0 and go-webkit2 installed? If not, you'll have to install those. The go-webkit2 README has general instructions, but nothing for OS X, specifically. If you are able to install it on OS X, it would be great if you could submit a pull request to add the instructions to the README for go-webkit2. If you can't seem to get it to work, I'll try.

@mochja
Copy link
Author

mochja commented Nov 13, 2013

actually I’m out of time, I’ll just set up a virtual host for that thank you for your help, I appreciate that.

On 13 Nov 2013, at 20:56, Quinn Slack [email protected] wrote:

Do you have WebKitGTK+ >= 2.0.0 and go-webkit2 installed? If not, you'll have to install those. The go-webkit2 README has general instructions, but nothing for OS X, specifically. If you are able to install it on OS X, it would be great if you could submit a pull request to add the instructions to the README for go-webkit2. If you can't seem to get it to work, I'll try.


Reply to this email directly or view it on GitHub.

@sqs
Copy link
Member

sqs commented Nov 13, 2013

OK. Sorry it didn't work out. I'll keep this issue open until we describe OS X install instructions.

Sent from my iPhone

On Nov 13, 2013, at 12:07, J¨¢n Moch¨¾ak [email protected] wrote:

actually I¡¯m out of time, I¡¯ll just set up a virtual host for that thank you for your help, I appreciate that.

On 13 Nov 2013, at 20:56, Quinn Slack [email protected] wrote:

Do you have WebKitGTK+ >= 2.0.0 and go-webkit2 installed? If not, you'll have to install those. The go-webkit2 README has general instructions, but nothing for OS X, specifically. If you are able to install it on OS X, it would be great if you could submit a pull request to add the instructions to the README for go-webkit2. If you can't seem to get it to work, I'll try.

¡ª
Reply to this email directly or view it on GitHub.

¡ª
Reply to this email directly or view it on GitHub.

@sqs sqs mentioned this issue Dec 9, 2013
@Konboi
Copy link

Konboi commented Nov 21, 2014

How progress this issue ?

I try to install but I meet mochja's same problem.

@olivierboucher
Copy link

I spent a lot of time trying to get this to work (Especially installing WebKitGTK+ on Mac OSX) dead end path.

@Ramshackle-Jamathon
Copy link

My dev environment is OSX and I've been doing any go-webkit2 work in a docker container. Its difficult enough to get this working in ubuntu let alone in OSX. Save yourself some headache and use a VM.

@matiasinsaurralde
Copy link

Same problem

@rnanj
Copy link

rnanj commented Nov 1, 2016

I have same problem. Is this solved?

@doyzfly
Copy link

doyzfly commented Nov 3, 2017

I have same problem.

@joyfans
Copy link

joyfans commented Nov 15, 2017

I have same problem. Is this solved?

@warrenwyf
Copy link

Use MacPorts to install webkitgtk first (2 versions are needed )
$ sudo port install webkit2-gtk
$ sudo port install webkit-gtk3

It works for me

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

10 participants