How do I install libksba on mac osx?

前端 未结 2 1417
猫巷女王i
猫巷女王i 2021-01-11 23:36

According to rvm requirements, \"For Ruby 1.9.3: Install libksba # If using Homebrew, \'brew install libksba\'\"

I am completely new and am not familiar with termina

相关标签:
2条回答
  • 2021-01-12 00:14

    I just installed libksba and its dependency libgpg-error from source and I can assure you that installing Homebrew and then installing libksba is much more straightforward. With Homebrew, you'll spend far less time dealing with terminal commands and the likelihood of success is considerably higher. It is popular for a reason.

    For the benefit of future visitors, here are instructions to compile and install libgpg-error and libksba from source via bash without Homebrew:

    cd /usr/local/src
    
    curl -O ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.9.tar.gz
    tar -xvf libgpg-error-1.9.tar.gz
    cd libgpg-error-1.9/
    ./configure
    make
    make install
    
    cd ..
    curl -O ftp://ftp.gnupg.org/gcrypt/libksba/libksba-1.2.0.tar.bz2
    tar -xvf libksba-1.2.0.tar.bz2
    cd libksba-1.2.0/
    ./configure
    make
    make install
    
    0 讨论(0)
  • 2021-01-12 00:30

    you need to install the command line tools of xcode. Then you don't need to install libksba.

    http://blog.salientdigital.com/2012/05/16/how-to-fix-no-acceptable-c-compiler-found-in-path-on-mac-os-x-lion/

    Best, Olli

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