如何在Mac OS X上安装libksba? [英] How do I install libksba on mac osx?

查看:112
本文介绍了如何在Mac OS X上安装libksba?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据rvm要求,对于Ruby 1.9.3:安装libksba#如果使用Homebrew,则"brew install libksba""

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

我是新手,对终端命令不熟悉.如何不使用自制软件安装libksba?

I am completely new and am not familiar with terminal commands. How can I install libksba without using homebrew?

请帮助!!!

推荐答案

我刚刚从源代码安装了libksba及其依赖项libgpg-error,我可以向您保证

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.

为了将来的访问者的利益,以下是在没有Homebrew的情况下通过bash从源代码编译和安装libgpg-error和libksba的说明:

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

这篇关于如何在Mac OS X上安装libksba?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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