rbenv build failed , while trying to install ruby version 1.9.3-p327 -


update:

i able install 2.0.0-p451 , 1.9.3-p545 sucessfully, still not able install 1.9.3-p327 , when tried install 1.8.7-p375 following error message:

checking out svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7... installing ruby-1.8.7-p375...

build failed

inspect or clean working tree @ /tmp/ruby-build.20140324164042.15847 results logged /tmp/ruby-build.20140324164042.15847.log

last 10 log lines: ossl_pkey_ec.c:815: error: 'ec_group_new_curve_gf2m' undeclared (first use in function) ossl_pkey_ec.c:815: error: (each undeclared identifier reported once ossl_pkey_ec.c:815: error: each function appears in.) ossl_asn1.c: in function 'ossl_asn1_decode0': ossl_asn1.c:726: warning: passing argument 1 of 'asn1_get_object' incompatible pointer type /usr/include/openssl/asn1.h:944: note: expected 'const unsigned char ' argument of type 'unsigned char **' make[1]: * [ossl_pkey_ec.o] error 1 make[1]: * waiting unfinished jobs.... make[1]: leaving directory `/tmp/ruby-build.20140324164042.15847/ruby-1.8.7-p375/ext/openssl' make: * [all] error 1

could please tell me why happening...


i trying install this: rbenv install 1.9.3-p327

and results are:

downloading yaml-0.1.5.tar.gz... -> http://dqw8nmjcqpjn7.cloudfront.net/24f6093c1e840ca5df2eb09291a1dbf1 installing yaml-0.1.5... installed yaml-0.1.5 /home/user/atatachar/.rbenv/versions/1.9.3-p327

downloading ruby-1.9.3-p327.tar.gz... -> http://dqw8nmjcqpjn7.cloudfront.net/96118e856b502b5d7b3a4398e6c6e98c installing ruby-1.9.3-p327...

build failed

inspect or clean working tree @ /tmp/ruby-build.20140324141730.6887 results logged /tmp/ruby-build.20140324141730.6887.log

last 10 log lines: generating docs compound yystype... generating docs compound zone... generating docs compound zstream... generating docs nested compound zstream::zstream_funcs... generating namespace index... generating namespace member index... generating graph info page... generating file index... generating example index... generating file member index...

i tried doing following things make rbenv work:

1) remove .rbenv directory , reinstalled rbenv.

2) tried installing other versions.

3) tried install rbenv in temporary directory

4) took log file , following looked suspicious me:

-> version of /tmp/ruby-build.20140324141730.6887/ruby-1.9.3-p327/compar.c : linking transcoder escape.so (null)

there lot of files (null) above.

the build process continues after these null until these following statements:

/tmp/ruby-build.20140324141730.6887/ruby-1.9.3-p327/ext/ripper/ripper.y:18: warning: include file ruby/ruby.h not found, perhaps forgot add directory include_path? /tmp/ruby-build.20140324141730.6887/ruby-1.9.3-p327/ext/ripper/ripper.y:19: warning: include file ruby/st.h not found, perhaps forgot add directory include_path? /tmp/ruby-build.20140324141730.6887/ruby-1.9.3-p327/ext/ripper/ripper.y:20: warning: include file ruby/encoding.h not found, perhaps forgot add directory include_path? /tmp/ruby-build.20140324141730.6887/ruby-1.9.3-p327/regenc.h:33: warning: include file ruby/config.h not found, perhaps forgot add directory include_path? /tmp/ruby-build.20140324141730.6887/ruby-1.9.3-p327/regenc.h:34: warning: include file ruby/defines.h not found, perhaps forgot add directory include_path? /tmp/ruby-build.20140324141730.6887/ruby-1.9.3-p327/regenc.h:40: warning: include file ruby/oniguruma.h not found, perhaps forgot add directory include_path? /tmp/ruby-build.20140324141730.6887/ruby-1.9.3-p327/ext/ripper/ripper.y:26: warning: include file stdio.h not found, perhaps forgot add directory include_path? /tmp/ruby-build.20140324141730.6887/ruby-1.9.3-p327/ext/ripper/ripper.y:27: warning: include file errno.h not found, perhaps forgot add directory include_path? /tmp/ruby-build.20140324141730.6887/ruby-1.9.3-p327/ext/ripper/ripper.y:28: warning: include file ctype.h not found, perhaps forgot add directory include_path? /tmp/ruby-build.20140324141730.6887/ruby-1.9.3-p327/id.c:12: warning: include file ruby/ruby.h not found, perhaps forgot add directory include_path?

and build continues last statement being : generating file member index....

i not able make out log file. please me..

thanks lot in advance..

in case , remove .rbenv

try :

curl -l https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -