I don't think Electron works on FreeBSD (see here <https://github.com/electron/electron/issues/3797>), but Blink requires it. You could try using the Linux binaries by changing this <https://github.com/JunoLab/Blink.jl/blob/v0.4.3/src/AtomShell/install.jl#L32> line to be is_linux() || is_bsd()and call Blink.AtomShell.install() again, but I'm not sure that'll work.
Am Montag, 7. November 2016 21:35:30 UTC+1 schrieb Kostas Oikonomou: > > I am using Julia 0.5.0 on FreeBSD 11. I've had a few problems trying to > install the Plots and PlotlyJS packages: > > 1. Just after installing Plots, I had to make this fix in > ~/.julia/v0.5/Plots/src/backends/web.jl, function open_browser_window: > > @static if is_linux() || is_bsd() > return run(`xdg-open $(filename)`) > end > > 2. Now trying to install PlotlyJS. HttpParser doesn't build, because in > BinDeps.jl, function unpack_cmd(...), says > > elseif extension == ".zip" > return (`unzip -x $file -d $directory`) > > The /usr/bin/unzip on FreeBSD doesn't understand "-x" (more precisely, it > thinks > it means "exclude"). GNU gunzip doesn't understand it either. What > "unzip" is > this supposed to be? I made an ugly hack to work around this. > > > 3. In ~/.julia/v0.5/Blink/src/AtomShell/process.jl: I had to add is_bsd() > to > > @static if is_apple() > const _electron = resolve("Blink", > "deps/Julia.app/Contents/MacOS/Electron") > elseif is_linux() || is_bsd() > const _electron = resolve("Blink", "deps/atom/electron") > elseif is_windows() > const _electron = resolve("Blink", "deps", "atom", "electron.exe") > end > > 4. After all this, I still get the error: > > julia> using Plots > julia> plotlyjs() > julia> plot(x -> x^2, rand(10)) > Error showing value of type Plots.Plot{Plots.PlotlyJSBackend}: > ERROR: Cannot find Electron. Try `Blink.AtomShell.install()`. > in electron() at > /usr/home/ko/.julia/v0.5/Blink/src/AtomShell/process.jl:53 > > > Thanks for any help. > > Kostas >