Snow Leopard上的Macports和Rubygems问题 [英] Macports and Rubygems issues on Snow Leopard

查看:105
本文介绍了Snow Leopard上的Macports和Rubygems问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Macports和rubygems,在Leopard上安装了Snow Leopard。这是常规安装,而不是一个干净的存档和清除安装。



事实证明,SL有共享库的64位版本,许多开发实用程序不起作用。例如,port命令对不兼容的tcl库抱怨,或者ruby无法加载32位包。



解决这些问题的最简单方法是什么?

解决方案

我已经用google搜索了大约4天的答案,并最终提出了一个关于修复macports和rubygems的分步手册:



http://oleganza.tumblr.com/post/127709563/snow-leopard-with-legacy-macports-and-rubygems



简而言之:为了正确使用macports和rubygems,你必须:


  1. 从源代码安装trunk macports(或者使用1.8版本当它被释放时)


  2. 为gem install with 64bit architecture添加别名

  3. >重新安装所有端口(不自动)
  4. 重新安装所有宝石(100%自动)

  5. >

    这将需要10-20分钟的个人时间和另外20美元b b分钟的机器时间来构建和安装。



    <我很乐意获得更多答案,以解决我们稍后可能遇到的其他问题。

    I've installed Snow Leopard over Leopard with macports and rubygems already installed. This was regular install, not a clean "archive and erase" install.

    It turned out, that SL has 64bit versions of shared libraries and many development utilities do not work. For example, "port" command complains on incompatible tcl library, or ruby cannot load 32bit bundles.

    What is the easiest way to solve these issues?

    解决方案

    I was googling for the answer for about 4 days already and finally came up with a step-by-step manual on fixing macports and rubygems:

    http://oleganza.tumblr.com/post/127709563/snow-leopard-with-legacy-macports-and-rubygems

    In short: for proper use of macports and rubygems you would have to:

    1. Install trunk macports from source (or use 1.8 version when it is released)

    2. Add alias for "gem install with 64bit architecture"

    3. Reinstall all ports (not automated yet)

    4. Reinstall all gems (100% automated)

    This would take 10-20 minutes of your personal time and another 20 minutes of machine time in order to build and install stuff.

    I would be glad to get more answers in order to fix other issues we might meet later.

    这篇关于Snow Leopard上的Macports和Rubygems问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆