Skip to content

Commit b1ccde6

Browse files
committed
Give a better error message for BinDeps failure
1 parent 1c45382 commit b1ccde6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Tk.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ using Base
1616
using Cairo
1717
using Compat
1818

19-
include("../deps/deps.jl")
19+
if isfile(joinpath(dirname(@__FILE__),"..","deps","deps.jl"))
20+
include("../deps/deps.jl")
21+
else
22+
error("Tk not properly installed. Please run Pkg.build(\"Tk\")")
23+
end
2024

2125
import Base: string, show, getindex, setindex!, isequal
2226

0 commit comments

Comments
 (0)