Building julia on raspberry pi
I figured out how to bulid julialang from source on a raspberry pi 3 running raspian.
Add more swap, since the last build step needs about 1.3GB of ram:
# fallocate -l 1G swap2 # chmod 0600 swap2 # mkswap swap2 Setting up swapspace version 1, size = 1048572 KiB no label, UUID=60ae0fd6-deec-4148-ac93-b59df12cdb97 # swapon swap2 # free total used free shared buffers cached Mem: 948012 395968 552044 1112 45796 73888 -/+ buffers/cache: 276284 671728 Swap: 1150968 59188 1091780
Install dependencies:
aptitude install libunwind-dev gfortran m4 cmake libcurl4-openssl-dev libssl-dev libssh2-1-dev
Get julia and build:
$ git clone https://github.com/JuliaLang/julia.git $ cd julia ~/julia $ make
Run:
~/julia $ ./julia WARNING: unable to determine host cpu name. _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_) | Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "?help" for help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 0.5.0-dev+3809 (2016-04-30 15:44 UTC) _/ |\__'_|_|_|\__'_| | Commit 7315f52 (0 days old master) |__/ | arm-linux-gnueabihf julia>
comments failed- HTTPConnectionPool(host='bang', port=9031): Max retries exceeded with url: /public/comments (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f29e391f860>: Failed to establish a new connection: [Errno 111] Connection refused',))
(prev/next buttons not implemented; use search)