Closed
Description
Hi,
I saw the other issue regarding 2.0.0-rc2, and this could be also be an unsupported compiler issue. The build fails at another point:
[1.9.3-p327] ~ rbenv install 2.0.0-rc2
Downloading openssl-1.0.1e.tar.gz...
-> https://www.openssl.org/source/openssl-1.0.1e.tar.gz
Installing openssl-1.0.1e...
Installed openssl-1.0.1e to /Users/fabian/.rbenv/versions/2.0.0-rc2
Downloading ruby-2.0.0-rc2.tar.gz...
-> http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc2.tar.gz
Installing ruby-2.0.0-rc2...
BUILD FAILED
Inspect or clean up the working tree at /var/folders/hY/hYECEDfKG5WOHDSntE0sE++++TI/-Tmp-/ruby-build.20130212195909.32592
Results logged to /var/folders/hY/hYECEDfKG5WOHDSntE0sE++++TI/-Tmp-/ruby-build.20130212195909.32592.log
Last 10 log lines:
/Users/fabian/.rbenv/versions/2.0.0-rc2/openssl/include/openssl/hmac.h:102: error: previous declaration of ‘HMAC_CTX_copy’ was here
openssl_missing.c:122: error: conflicting types for ‘EVP_CIPHER_CTX_copy’
/Users/fabian/.rbenv/versions/2.0.0-rc2/openssl/include/openssl/evp.h:502: error: previous declaration of ‘EVP_CIPHER_CTX_copy’ was here
make[2]: *** [openssl_missing.o] Error 1
make[1]: *** [ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
installing default nkf libraries
linking shared-object nkf.bundle
ld: warning: directory '/Users/fabian/.rbenv/versions/2.0.0-rc2/lib' following -L not found
make: *** [build-ext] Error 2
I'm on Snow Leopard, with Xcode 3.2.6. My gcc -v
output:
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
I'm using the latest versions of rbenv
and ruby-build
(I updated from Github yesterday evening). The complete log file is here: https://gist.github.com/fschwahn/4943050#file-ruby-build-20130212195909-32592-log
One more point which made me curious is that the ruby configure script emits this:
configure: WARNING: unrecognized options: --with-openssl-dir
Thanks!
Metadata
Metadata
Assignees
Labels
No labels