Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap failure #2059

Closed
LittleWoodCover opened this issue Apr 22, 2019 · 4 comments
Closed

bootstrap failure #2059

LittleWoodCover opened this issue Apr 22, 2019 · 4 comments

Comments

@LittleWoodCover
Copy link

Excute boostrap in a Linux system with error。when i was about to install rebar3 to my linux. it show info above.Could anyone tell me what to do.thank a lot!

[root@izuf66apgccn7tpnaw8k8lz rebar3]# ./bootstrap
/usr/local/rebar3/_build/default/lib/parse_trans/src/ct_expand.erl:206: illegal guard expression

i've delete the _build and the result is the same.
can you help me ?

@ferd
Copy link
Collaborator

ferd commented Apr 22, 2019

You might be using too old of an Erlang version and rebar3 is using a guard expression that wasn't supported back then. What version are you trying to compile to?

@LittleWoodCover
Copy link
Author

[root@izuf66apgccn7tpnaw8k8lz ~]# erl
Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V5.10.4 (abort with ^G)

did this version support? it can't be update.it's newest version of my linux.

@ferd
Copy link
Collaborator

ferd commented Apr 23, 2019

It has not been supported for over a year since it is now almost 6 years old (OTP-22 should be out in a couple of months at the most); there's one breaking release a year, and 3 minor releases a year as well. Release 3.5.2 is the last one to support R16: https://github.com/erlang/rebar3/releases/tag/3.5.2

You may fetch one of these older versions if you must.

@LittleWoodCover
Copy link
Author

thanks o lot.it works

@ferd ferd closed this as completed Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants