请问有人在 OS X 上成功运行 uzbl 的吗?

2014-06-14 13:46:47 +08:00
 ShiehShieh
我想在终端上运行uzbl,但是make的时候有各种的error的package not found,不知道需要那些包才可以使用呢?
我是命令行控。。很想试试这个终端下的工具,希望得到帮助。
3182 次点击
所在节点    macOS
3 条回复
archean
2014-06-14 19:42:08 +08:00
首先确认你安装了xcode command line tools:
$ xcode-select --install

另外:
Dependencies which are optional for uzbl-core are marked with an asterisk. (i.e. these are needed for extra scripts)

libwebkit 1.1.15 or higher
libsoup 2.24 or higher (dep for webkit/gtk+)
gtk 2.14 or higher
socat (for socket communication) [*]
dmenu (vertical patch recommended) [*]
zenity [*]
bash [*]
python [*]
xclip [*]
pango [*]
pygtk [*]
pygobject [*]

Make dependencies

git (for downloading)
pkg-config (for Make/gcc)
ShiehShieh
2014-06-15 00:44:07 +08:00
@archean 谢谢,这些我在官网上都已经看过了,但是不知道去哪下载啊,homebrew也没有提供uzbl的支持。。一个一个的配置已经花了很多时间了。
ShiehShieh
2014-06-15 00:54:55 +08:00
Package webkit-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'webkit-1.0' found
Package javascriptcoregtk-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `javascriptcoregtk-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'javascriptcoregtk-1.0' found
Package xcb-shm was not found in the pkg-config search path.
Perhaps you should add the directory containing `xcb-shm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xcb-shm', required by 'cairo', not found
Package webkit-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'webkit-1.0' found
Package javascriptcoregtk-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `javascriptcoregtk-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'javascriptcoregtk-1.0' found
Package x11 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable
No package 'x11' found
cc -std=c99 -ggdb -W -Wall -Wextra -pedantic -pthread -D_BSD_SOURCE -D_POSIX_SOURCE -DARCH=\"x86_64\" -DCOMMIT=\"2012.05.14-199-g47ec23d\" -c -o uzbl-core.o src/uzbl-core.c
In file included from src/uzbl-core.c:32:
src/uzbl-core.h:16:10: fatal error: 'glib/gstdio.h' file not found
#include <glib/gstdio.h>
^
问题如上。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/117468

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX