V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
ShiehShieh
V2EX  ›  macOS

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

  •  
  •   ShiehShieh · 2014-06-14 13:46:47 +08:00 · 3282 次点击
    这是一个创建于 3815 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我想在终端上运行uzbl,但是make的时候有各种的error的package not found,不知道需要那些包才可以使用呢?
    我是命令行控。。很想试试这个终端下的工具,希望得到帮助。
    3 条回复    2014-06-15 00:54:55 +08:00
    archean
        1
    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
        2
    ShiehShieh  
    OP
       2014-06-15 00:44:07 +08:00
    @archean 谢谢,这些我在官网上都已经看过了,但是不知道去哪下载啊,homebrew也没有提供uzbl的支持。。一个一个的配置已经花了很多时间了。
    ShiehShieh
        3
    ShiehShieh  
    OP
       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>
    ^
    问题如上。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2665 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 05:10 · PVG 13:10 · LAX 21:10 · JFK 00:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.