taylor / kiex

Elixir version manager
http://taylor.github.io/kiex/
MIT License
766 stars 65 forks source link

reports installed, but lots of error output first #10

Closed wwalker closed 9 years ago

wwalker commented 10 years ago

$ kiex install 0.12.5 grep: /etc/lsb-release: No such file or directory Unknown Linux distribution Already on 'master' Your branch is up-to-date with 'origin/master'. Note: checking out 'v0.12.5'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at b07fbcf... Release v0.12.5 From https://github.com/elixir-lang/elixir

taylor commented 10 years ago

What version of erlang is installed?

Type erl

or

awk -F, 'NR==1 {gsub(/"/,"",$3);print $3}'  "$(dirname $(readlink -f $(which erl 2> /dev/null)))/../releases/RELEASES"
taylor commented 10 years ago

I have been using rebar from https://github.com/rebar/rebar

I removed that and went with the one that comes with https://github.com/elixir-lang/elixir

I had no issues with that.

Here is a clean build ascii cast: http://asciinema.org/a/8600

taylor commented 10 years ago

FYI, the failure should have caused kiex to abort and That has been fixed in commit d617ae13bf83b63538f71d68e7c1b53dfd07c787.

The build failure itself seems to be the same issue as ticket #7 -- OpenSSL issue with RedHat derivative systems that should be fixed upstream.

taylor commented 10 years ago

To see if your erlang is built with correct linkage to openssl use the following:

erl -eval "crypto:start(), halt()." -noshell

which will exit w/o issue if erlang is built correctly other-wise it will give a crash dump.

wwalker commented 10 years ago

☺ [wwalker@greased-lightning:~] $ erl -eval "crypto:start(), halt()." -noshell ☺ [wwalker@greased-lightning:~] $

taylor commented 10 years ago

How did you install erlang? I'll would like to recreate the environment to test in. I have a Fedora 19 and 20 system to test with.

wwalker commented 10 years ago

git clone https://github.com/spawngrid/kerl.git cd kerl ln -s ~/git/kerl/kerl ~/bin/kerl kerl list releases kerl build R16B03-1 r16b03-1 kerl install r16b03-1 . /home/wwalker/activate

taylor commented 10 years ago

Stock Fedora 20 install? Here is my dev tool/libs setup post new install:

yum groupinstall 'Development Tools' -y
yum install -y ncurses-devel ncurses openssl-devel

Are you using anything different?

zaidshaikh112 commented 6 years ago

i there any think to resolve on ubuntu 16.4 and am using Erlang/OTP 18 [erts-7.1] [source] [64-bit] [async-threads:10] [kernel-poll:false]