jverzani / PolynomialFactors.jl

Julia code for factorization of polynomials over the integers
Other
7 stars 6 forks source link

Error when precompiling PolynomialFactors #20

Open johanbluecreek opened 4 years ago

johanbluecreek commented 4 years ago

I get the following error when I try to use PolynomialFactors the first time:

julia> using PolynomialFactors
[ Info: Precompiling PolynomialFactors [ec145902-31c2-532e-934a-7c64254c4b82]
ERROR: LoadError: LoadError: UndefVarError: gfelem not defined
Stacktrace:
 [1] getproperty(::Module, ::Symbol) at ./Base.jl:26
 [2] top-level scope at /home/user/.julia/packages/PolynomialFactors/dOBeW/src/polyutils.jl:6
 [3] include(::Module, ::String) at ./Base.jl:377
 [4] include(::String) at /home/user/.julia/packages/PolynomialFactors/dOBeW/src/PolynomialFactors.jl:2
 [5] top-level scope at /home/user/.julia/packages/PolynomialFactors/dOBeW/src/PolynomialFactors.jl:17
 [6] include(::Module, ::String) at ./Base.jl:377
 [7] top-level scope at none:2
 [8] eval at ./boot.jl:331 [inlined]
 [9] eval(::Expr) at ./client.jl:449
 [10] top-level scope at ./none:3
in expression starting at /home/user/.julia/packages/PolynomialFactors/dOBeW/src/polyutils.jl:6
in expression starting at /home/user/.julia/packages/PolynomialFactors/dOBeW/src/PolynomialFactors.jl:17
ERROR: Failed to precompile PolynomialFactors [ec145902-31c2-532e-934a-7c64254c4b82] to /home/user/.julia/compiled/v1.4/PolynomialFactors/tfyZL_VSKVH.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922
jverzani commented 4 years ago

Yeah, thanks. I need to find some time to update this to changes in an underlying library (or atleast cap it so it doesn't try and load something it can't. Sorry.