PDA

View Full Version : Setting up Julia 0.6.2 dependencies



kung foo man
23rd May 2018, 16:25
Will improve later:

After installing Julia 0.6.2, open Julia shell, download these packages (those lines are normal module function calls for the REPL):



Pkg.add("ModernGL")
Pkg.add("Compat")
Pkg.add("HttpServer")
Pkg.add("WebSockets")
Pkg.add("Requests")
Pkg.add("SQLite")



If the HttpServer build fails, you need to edit /home/user/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/http_parser.c

There are two lines which need an explicit fallthrough


Line 1816:


case 2:
parser->upgrade = 1;
__attribute__ ((fallthrough));


Line 2378:


case s_req_server_with_at:
found_at = 1;
__attribute__ ((fallthrough));


If you have STILL an error, try this:

apt-get install libhttp-parser2.7.1 or dependingly:
apt-get install libhttp-parser2.7.1:i386