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

Erlang OTP version should below 23.0 to compile from source #249

Closed
sherlock-shi-x opened this issue Jun 29, 2020 · 7 comments
Closed

Erlang OTP version should below 23.0 to compile from source #249

sherlock-shi-x opened this issue Jun 29, 2020 · 7 comments

Comments

@sherlock-shi-x
Copy link

rt.

@vkatsuba
Copy link
Contributor

Hi @haihongS, please provide second information:

  • What Arweave release you try build?
  • From where you install Erlang/OTP 23.0?
  • What operating system you use?
  • Provide full stack trace of errors what you get during build of Arweave.

@sherlock-shi-x
Copy link
Author

Thanks @vkatsuba,

  • master branch with id: e9aa880, 2.1.0.1
  • install erlang/otp 23.0 from erlang installer
  • macos 10.14.2
  • x

I have fixed it right now, and several problems happened in my environment

my env

  • macos 10.14.2
  • erlang/otp 23.0
  • use erlang installer app in macos

error

  • due to the default erlang installer directory /Users/sherlock/Library/Application Support/ErlangInstaller
    the prometheus_process_collector can't compile correctly with space in directory name
  • etc.

fix

  • add quote in makefile
  • use brew to install erlang 22.3
  • link directory without space

@vkatsuba
Copy link
Contributor

Thanks @haihongS for deep details.
Looks like the error

due to the default erlang installer directory /Users/sherlock/Library/Application Support/ErlangInstaller 
the prometheus_process_collector can't compile correctly with space in directory name

was happened by reason that you was use directory name with white spaces. After put directory without white spaces in directory name, what other errors you get? Can you provide full log of errors?

@sherlock-shi-x
Copy link
Author

sherlock-shi-x commented Jun 30, 2020

@sherlock-shi-x
Copy link
Author

sherlock-shi-x commented Jun 30, 2020

cuz the problem has been solved, it's hard for me to provide the full log of errors.
I checked the history of Chrome and found the problems which searched in Google

@vkatsuba
Copy link
Contributor

vkatsuba commented Jun 30, 2020

Hi @haihongS, many thanks for response. I apologize long updating, yesterday after open current issue we start investigate it and we managed to reproduce current issue for Erlang release 23.0, by this reason we was create PR #250 with some fixes. However, despite the fact that the assembly began to be successful we still have some issues with tests. Also, several third-party libraries what we use as dependency have the same issues, but after some research, we managed to find temporary solutions for these libraries what was provided by community, but all those fixes still waiting deep retesting and code review by contributors of libraries. For the moment, we will keep this ticket open until all proposed changes for libraries are reviewed/tested/applied by the library authors.

@bhayward93
Copy link

This is also affecting me. Will try downgrading Erlang to 22.0 to see if that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants