From: Miroslaw Niegowski Date: 2013-03-10T02:35:55+09:00 Subject: Re: Segmentation fault while compiling ruby 1.9.3p392 with OpenSSL 1.0.1e installed --f46d0408d3f720876904d7815f5d Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Hi, signal 11 suggests a hardware error and is not related to software. I would check ram first. 09-03-2013 17:35, "Piotr P." napisa=B3(a): > I'm trying to have my Rails website running on my fresh installation of > Mountain Lion Server. Not using RVM, because I don't need many rails or > ruby installations. Configuring ruby and rails to run smoothly is a pain > in the ass. > > Compiled the newest version of OpenSSL with these commands: > > sudo ./configure --prefix=3D/usr/local/ darwin64-x86_64-cc > sudo make > sudo make install > > Now when I type I get this: > > grid:ruby-1.9.3-p392 Clu$ openssl version > OpenSSL 1.0.1e 11 Feb 2013 > > When I try to configure Ruby from source, I get to Segmentation Fault: > > compiling md5init.c > compiling md5ossl.c > linking shared-object digest/md5.bundle > installing default md5 libraries > compiling rmd160init.c > compiling rmd160ossl.c > linking shared-object digest/rmd160.bundle > installing default rmd160 libraries > compiling sha1init.c > compiling sha1ossl.c > linking shared-object digest/sha1.bundle > collect2: ld terminated with signal 11 [Segmentation fault: 11] > make[2]: *** [../../../.ext/x86_64-darwin12.2.1/digest/sha1.bundle] > Error 1 > make[1]: *** [ext/digest/sha1/all] Error 2 > make: *** [build-ext] Error 2 > > -- > Posted via http://www.ruby-forum.com/. > > --f46d0408d3f720876904d7815f5d Content-Type: text/html; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable

Hi,
signal 11 suggests a hardware error and is not related to software. I would= check ram first.

09-03-2013 17:35, "Piotr P." <lists@ruby-forum.com> napisa=B3(a= ):
I'm trying to have my Rails website running on my fresh installation of=
Mountain Lion Server. Not using RVM, because I don't need many rails or=
ruby installations. Configuring ruby and rails to run smoothly is a pain in the ass.

Compiled the newest version of OpenSSL with these commands:

=A0 =A0 sudo ./configure --prefix=3D/usr/local/ darwin64-x86_64-cc
=A0 =A0 sudo make
=A0 =A0 sudo make install

Now when I type I get this:

=A0 =A0 grid:ruby-1.9.3-p392 Clu$ openssl version
=A0 =A0 OpenSSL 1.0.1e 11 Feb 2013

When I try to configure Ruby from source, I get to Segmentation Fault:

=A0 =A0 compiling md5init.c
=A0 =A0 compiling md5ossl.c
=A0 =A0 linking shared-object digest/md5.bundle
=A0 =A0 installing default md5 libraries
=A0 =A0 compiling rmd160init.c
=A0 =A0 compiling rmd160ossl.c
=A0 =A0 linking shared-object digest/rmd160.bundle
=A0 =A0 installing default rmd160 libraries
=A0 =A0 compiling sha1init.c
=A0 =A0 compiling sha1ossl.c
=A0 =A0 linking shared-object digest/sha1.bundle
=A0 =A0 collect2: ld terminated with signal 11 [Segmentation fault: 11]
=A0 =A0 make[2]: *** [../../../.ext/x86_64-darwin12.2.1/digest/sha1.bundle]=
Error 1
=A0 =A0 make[1]: *** [ext/digest/sha1/all] Error 2
=A0 =A0 make: *** [build-ext] Error 2

--
Posted via http://= www.ruby-forum.com/.

--f46d0408d3f720876904d7815f5d--