Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Precompilation interferes with _HAVE_GRAPHMX #148

Closed
jpfairbanks opened this issue Aug 28, 2015 · 1 comment
Closed

Precompilation interferes with _HAVE_GRAPHMX #148

jpfairbanks opened this issue Aug 28, 2015 · 1 comment

Comments

@jpfairbanks
Copy link
Contributor

I installed LightGraphs on a machine without GraphMatrices, and ran the following session:

Pkg.add("LightGraphs")
Pkg.test("LightGraphs")
# GraphMatrices is not installed warning
Pkg.add("GraphMatrices")
Pkg.test("LightGraphs")
# GraphMatrices is still not installed! WAT?!

I added a print statement to LightGraphs which forced a reprecompile so now it works.
I am not sure if it is worth fixing, but it is definitely worth posting so that people (myself included) don't have to figure it out again. Maybe a note in the warning to recompile after installing Pkg.add(GraphMatrices) is useful.

@sbromberger
Copy link
Owner

Yeah, that's a side effect of precompilation. Good idea re: warning. I'll add it now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants