【问题标题】:How to compile RDiscount on Solaris?如何在 Solaris 上编译 RDiscount?
【发布时间】:2009-02-24 02:01:14
【问题描述】:

我有几个 Solaris 10 机器,我想在那里运行 RDiscount。 (它们是 Joyent 加速器,有一些定制的、BSD 风格的用户空间,以防万一。)

我知道 Maruku、rpeg-markdown 和 BlueCloth 的其他 ruby​​ 替代品,但最初我想使用 RDiscount。

这是我尝试安装时得到的结果:

$ sudo gem install rdiscount 密码: 构建原生扩展。这可能需要一段时间... 错误:安装 rdiscount 时出错: 错误:无法构建 gem 原生扩展。 /opt/local/bin/ruby18 extconf.rb 安装 rdiscount 检查随机()...是的 检查 srandom()... 是的 检查 funopen()... 否 检查 fopencookie()... 否 *** extconf.rb 失败 *** [剪辑] extconf.rb:11:没有可用的 funopen 或 fopencookie 支持。 (运行时错误)

显然安装失败,因为它既找不到funopen 也找不到fopencookie

说实话,我不知道这些是什么。那么,关于我需要做什么来编译它的任何指针?

【问题讨论】:

    标签: ruby unix rubygems solaris markdown


    【解决方案1】:

    很遗憾,fopencookie 是 glibc 的一部分,而 glibc 尚未移植到 Solaris。

    使用不同的宝石。

    【讨论】:

      【解决方案2】:

      更新 2:

      rdiscount 1.3.4 在 Solaris 上安装良好,这要感谢 David Parsons、Ryan Tomayko 和 Joyent team and community at their forums 的帮助和辛勤工作。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2017-06-17
        • 1970-01-01
        • 2013-01-20
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多