【问题标题】:How to install "libproj-dev" on mac os x如何在 mac os x 上安装“libproj-dev”
【发布时间】:2014-01-02 02:11:46
【问题描述】:

我正在尝试在 Mac Mavericks 上安装 proj4rb(gem install proj4rb),但得到了
以下错误:

----- Error Message
checking for proj_api.h... yes
checking for pj_init() in -lproj... yes
creating Makefile

make
compiling projrb.c
projrb.c:2:22: error: projects.h: No such file or directory


----- End Error Message

我知道问题所在。它需要在 linux 上为“libproj-dev”的头文件。 我是 mac 新手,所以我想知道是否有人可以帮助我使用 brew 或 macport。

综上所述,我需要为Mac安装“libproj-dev”等效包。

谢谢。

【问题讨论】:

    标签: macos rubygems proj


    【解决方案1】:

    你可以通过 brew 安装它

    brew install proj
    

    【讨论】:

      猜你喜欢
      • 2012-04-25
      • 2018-02-27
      • 2010-11-15
      • 2014-11-29
      • 2011-04-10
      • 2012-07-27
      • 2012-03-01
      • 2013-04-01
      • 1970-01-01
      相关资源
      最近更新 更多