ubuntu - 使齿轮工发生错误

标签 ubuntu installation gearman

我在 Ubuntu 14.04 64 中安装了 gearman

  • 须藤 wget https://launchpad.net/gearmand/1.2/1.1.12/+download/gearmand- 1.1.12.tar.gz
  • sudo tar xvzf gearmand-1.1.12.tar.gz
  • cd gearmand-1.1.12/
  • 须藤 ./configure
  • 须藤制作

  • 错误:
    make -j5  all-am
    make[1]: Entering directory `/opt/gearman/gearmand-1.1.12'
    CXX      libgearman-
    server/plugins/queue/postgres/libgearman_server_libgearman_server_la-
    queue.lo
    libgearman-server/plugins/queue/postgres/queue.cc:55:23: fatal error: libpq-
    fe.h: No such file or directory
    # include <libpq-fe.h>
                       ^
    compilation terminated.
    
    make[1]: *** [libgearman-
    server/plugins/queue/postgres/libgearman_server_libgearman_server_la-
    queue.lo] Error 1
    
    make[1]: Leaving directory `/opt/gearman/gearmand-1.1.12'
    
    make: *** [all] Error 2
    

    最佳答案

    尝试使用 apt-get 安装 libpq-dev,然后再次配置。

    关于ubuntu - 使齿轮工发生错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35320381/

    相关文章:

    Java 全屏模式不适用于 Ubuntu

    c++ - Qt - ubuntu 中的串口名称

    iis - Microsoft Web 平台安装程序 4.0 失败

    go - 在没有安装 Go 的情况下安装 Go CLI 应用程序

    macos - 如何在 Mac OS X 上安装 libuuid?

    php - MAMP 上的 Gearman PECL 扩展

    PHP Gearman 任务不返回 jobHandle

    macos - 从 mac 到 ubuntu 的 ssh 转发不起作用

    python - 来自主机的 nc -> VM 工作(端口 9050),但 VM(运行用 Python 编写的服务器)重置连接 [TCP RST] 来自主机 -> VM 在同一端口(9050)

    java - 如何将JHawk(插件)安装到Eclipse中