Impressions and memories of openssl, curl, ruby, homebrew, rbenv installation

● Memorandum, memo writing, almost no evidence log

In early August 2020, I was able to install the source from autoconf to openssl, curl, and ruby. I've been troubled by SSL communication such as openssl curl (wget) Ruby, but it may have been almost solved.

I don't remember when I started using kindai.rb (2015-2017?). 2017 is the first question on qiita. (Maybe you asked another question on 5ch?) Openssl curl (wget) I did not have all the logs left in the environment construction such as Ruby by July 2020, but I will write down what I remember.

● Event

Looking at the ImageMagick installation of homebrew, a lot of commands and libraries are installed. There seems to be a dependency, so I thought I couldn't build the source myself. -> Actually, it was easy. It only takes time and effort.

homebrew causes broken links and glitches. About once every few years. I have experience of reinstalling homebrew "3 or 4 times / one Mac".

In openssl or curl installation, SSL communication problem occurred in both homebrew build and source build. It happened just by upgrading the version. There is no evidence log. -> The success rate of the homebrew build was higher.

In rbenv installation, there was a problem with both homebrew build and source build. There is some evidence log. This time (early August) also had a problem. -> I didn't like the problem and managed it with stow. -> Stow requires link change and path change, source bash_profile and source .zshrc to switch ruby, so it's a little troublesome, but stow management takes less time until openssl and curl can be linked and SSL communication is possible. I feel like it.

● Impressions and memories

In the ruby installation done by rbenv, I think the ./configure option is not well verified on the net. I don't think the ./configure option has been verified online in the ruby installation done by homebrew I don't think the ./configure option has been validated online in the curl installation done by homebrew I don't think the ./configure option has been validated online in the openssl installation done by homebrew

When all are source built. openssl author's intent (./configure option) curl author's intention ruby author's intention (No rbenv, ruby-build) Seems to have the fewest problems?

If you have an understanding and intent of homebrew, if not just. Once the homebrew author understands the above intent (maybe there is a mistake?) openssl ./configure option curl ./configure option ruby ./configure option (No rbenv, ruby-build)

In addition, if rbenv (ruby-build) is built. rbenv (ruby-build) Intended by the author Understand the ./configure option of openssl (understand the installed environment) curl's ./configure option (know the installed environment) ruby ./configure option

Furthermore, if all are homebrew built. Intention of rbenv (ruby-build) Understand the ./configure option of openssl (understand the installed environment) curl's ./configure option (know the installed environment) ruby ./configure option Only in this case seems to be the second least problematic, but it is a result of doubts.

You can see that it is difficult to isolate the problem if there are many tools.

There is also a problem if you leave everything at the bottom to homebrew. Regardless of the combination, SSL-related failures and bugs (unclear?) Before kindai.rb works I don't know how many times I have reinstalled openssl, curl, ruby, and rbenv.

With installation (configure option) and usage openssl question curl question ruby question And so on, each is in a state of being on the net in large numbers. (There are too many problems.)

For several years, I've read installation articles outside of qitta, but I haven't found any articles that point out or note the above points. (Maybe it's a Mac instead of linux.)

Considering the time I lost the installation of openssl, curl, ruby and rbenv over and over again This time, I changed my mind that the source build is the fastest.

I'm sorry for my memory and guessing. All the past installation logs are not left and there are many plunge points, but please forgive me.

that's all

Recommended Posts

Impressions and memories of openssl, curl, ruby, homebrew, rbenv installation
Install Ruby 3.0.0 Preview 1 with a combination of Homebrew and rbenv
How to deal with different versions of rbenv and Ruby
Impressions of making BlackJack-cli with Ruby
Explanation of Ruby Time and Date objects
Summary of hashes and symbols in Ruby
[Ruby] Classification and usage of loops in Ruby
Comparison of JavaScript objects and Ruby classes
Sort an array of Ruby homebrew classes