-
Notifications
You must be signed in to change notification settings - Fork 31
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
Installation::First steps (2) #251
Comments
I believe you get an error because you are running Erlang/OTP 17.0, which uses UTF-8 encoding by default. At the time of the project, we were running an earlier version of Erlang. More specifically, I am guessing you run into an error because the name “Oscar Hellström” cannot be read in the file sensor-cloud/lib/lhttpc/src/lhttpc.app.src (line 27). Maybe you can try to replace the “ö” character with a normal “o” and run the make_install command again. /Quentin |
Ok, I did that change and it seems to work, thanks. I suggest you change it in the main trunk , too. However, I got stuck somewhere else: ==> mochiweb (compile) It only seems a minor version requirement glitch. Changing that regexp should also fix things, but I don't know where to start. OTOH, you might change requirements and force-install R16 instead of 17. |
This regex is coming from the sensor-cloud/rebar.config file, line 4. Try replacing "R16|R16B01|R16B02" with "R16|R16B01|R16B02|R17" to see if that works any better. If it doesn't, I would suggest you install Erlang R16 instead. |
The first method did not work out. I'll contact you via email, which promises to be a more appropriate means of communication for this matter. :-) |
Any resolution please - I too am stuck here, would appreciate a suggestion, |
It is a little bit more complicated than that, so this change will not get you very far. I have a workaround for this issue but on a different fork of the sensor-cloud which you can find here: https://github.com/EricssonResearch/iot-framework-engine . The current work around is to use the installation script found in the aforementioned fork in order to install an older but compatible version of Erlang, in this case R16. I'm still in the process of upgrading the project (and other related erlang libraries) to R17 in order to avoid this issue once and for all. I'll get back to you once I have a working version. |
During the make_install step:
Pulling ibrowse from {git,"git://github.com/cmullaparthi/ibrowse.git",
{tag,"v4.0.1"}}
Cloning into 'ibrowse'...
==> mochiweb (get-deps)
==> meck (get-deps)
==> ibrowse (get-deps)
==> erlastic_search (get-deps)
Pulling lhttpc from {git,"https://github.com/esl/lhttpc.git","master"}
Cloning into 'lhttpc'...
ERROR: Failed to extract name from /home/piffy/develop/sensor-cloud/lib/lhttpc/src/lhttpc.app.src: {27,
file_io_server,
invalid_unicode}
ERROR: 'get-deps' failed while processing /home/piffy/develop/sensor-cloud/lib/erlastic_search: rebar_abort
make: *** [get_libs] Errore 1
??
The text was updated successfully, but these errors were encountered: