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

Error: "Package javascriptcoregtk-4.0 was not found in the pkg-config search path." #21

Open
touei opened this issue May 22, 2017 · 2 comments

Comments

@touei
Copy link

touei commented May 22, 2017

os info:CentOS-7-x86_64

I have installed requirements

[root@localhost package]# rpm -qa | grep gtk
libwebkit2gtk-2.4.9-6.el7.x86_64
gtk3-devel-3.14.13-20.el7.x86_64
gtk3-3.14.13-20.el7.x86_64
gtk2-2.24.28-8.el7.x86_64
webkitgtk3-devel-2.4.9-6.el7.x86_64
webkitgtk3-2.4.9-6.el7.x86_64

When I do

go get github.com/sourcegraph/webloop

I get the following error message

[root@localhost package]# go get github.com/sourcegraph/webloop/
# pkg-config --cflags javascriptcoregtk-4.0
Package javascriptcoregtk-4.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `javascriptcoregtk-4.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'javascriptcoregtk-4.0' found
pkg-config: exit status 1
# github.com/gotk3/gotk3/gtk
could not determine kind of name for C.gtk_paned_get_wide_handle
could not determine kind of name for C.gtk_paned_set_wide_handle
could not determine kind of name for C.gtk_scrolled_window_get_overlay_scrolling
could not determine kind of name for C.gtk_scrolled_window_set_overlay_scrolling

package javascriptcoregtk-4.0 is not found

[root@localhost package]# find / -name "*javascriptcoregtk*"
/usr/lib64/pkgconfig/javascriptcoregtk-3.0.pc
/usr/lib64/libjavascriptcoregtk-3.0.so.0
/usr/lib64/libjavascriptcoregtk-3.0.so.0.16.17
/usr/lib64/libjavascriptcoregtk-3.0.so
[root@localhost package]# 

How to solve this problem?

@sqs
Copy link
Member

sqs commented May 22, 2017

I just reverted another PR that might have caused this: sqs/gojs#4. Can you try again after running go get -u github.com/sqs/gojs?

@touei
Copy link
Author

touei commented May 22, 2017

It works. Thanks~~

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