Install autoreconf on OS X v10.7 (Lion)?

后端 未结 6 456
面向向阳花
面向向阳花 2020-12-12 13:33

I\'m attempting to re-install Ruby 1.9.3 with a patch that will allow me to use ruby-debug.

When following the instructions and running

rvm reinstall         


        
相关标签:
6条回答
  • 2020-12-12 13:58

    I had a similar problem, but because Homebrew moved away from the Cellar directory, but for some reasons binaries of this package were still there.

    I reinstalled autoconf with the following command and autoreconf is in the right PATH now: brew reinstall autoconf

    0 讨论(0)
  • 2020-12-12 14:03

    I solved my autoreconf problem adding the path to my shell:

    sudo pico /etc/paths
    

    then I added the line

    /sw/bin
    

    where I found the autoreconf and autoconf files and saved everything.

    Since then I can use autoreconf without any problems.

    0 讨论(0)
  • 2020-12-12 14:04

    By downloading the .pkg file from MacPorts and installing it, it does the trick for me.

    0 讨论(0)
  • 2020-12-12 14:09

    If you are using Homebrew, try

    brew install automake
    

    Which should also install autoconf and allow rvm to finish installing.

    0 讨论(0)
  • 2020-12-12 14:13

    If you're using brew, then the autoreconf utility is part of the autoconf package, so install it via:

    brew install autoconf
    

    If the problem persists, consider either reinstall or link it again. Use locate autoreconf to find out where it is.

    Also check if /usr/local/bin/autoreconf exists (and is linked into the right place), and you've the /usr/local/bin path added in your /etc/paths file.

    0 讨论(0)
  • 2020-12-12 14:15

    If you want to do this using MacPorts instead of Homebrew, you can do:

    sudo port install automake autoconf libtool
    

    I had the same problem and this solved it for me.

    0 讨论(0)
提交回复
热议问题