From: "Dr. Hegewald" Date: 2013-02-27T23:19:26+09:00 Subject: Re: Mac OS 10.8.2 and openssl Hi Carlo and all, On 27.02.2013, at 14:33, "Carlo E. Prelz" wrote: > Subject: Re: Mac OS 10.8.2 and openssl > Date: mer 27 feb 13 07:58:37 +0900 > > Quoting Dr. Hegewald (hegewald@irmb.tu-bs.de): > >>> The other path is to learn how to install Openssl in another directory >> >> I did that, see my previous mail. >> >>> then include the path where the new >>> openssl.pc file is stored after you run make install at the beginning >>> of the PKG_CONFIG_PATH shell variable, before executing extconf.rb. >> >> Sorry, this description is to compact for me to follow. Do I still >> need to pass --with-openssl-dir to configure? > > This is a bit off-topic for this list, so I will have to be concise. Ups, do you know a better list for questions about compiling ruby? > > Say you want to install openssl in /path/to/install: openssl compiles and installed just fine. It is OpenSSL 1.0.1e 11 Feb 2013, as I wrote previously. > 3) (from ..../ruby/ext/openssl) > export PKG_CONFIG_PATH=/path/to/install/lib/pkgconfig:$PKG_CONFIG_PATH > make clean > ruby extconf.rb This command fails with the same error as before, extconf.rb:62:in `
': Ignore OpenSSL broken by Apple. (RuntimeError) Please use another openssl. (e.g. using `configure --with-openssl-dir=/path/to/openssl') And the suggested solution does not work, as the ruby configure does not understand the --with-openssl-dir flag. Many thanks for your efforts here Carlo. But I think I have to go back to ruby 1.9.3 until I get new input on the issue. Cheers, Jan Hegewald