Closed benthecarman closed 1 year ago
I am getting this error when attempting to compile. I am guessing it is some linking error but not really familiar with anything in this stack.
$ nix develop -c sh -c '$start_primal_caching_service' gcc -shared -g -fPIC -O2 -o libbech32.so -Ibech32/ref/c bech32.c bech32.c:5:10: fatal error: segwit_addr.c: No such file or directory 5 | #include "segwit_addr.c" | ^~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:2: libbech32.so] Error 1 0 dependencies successfully precompiled in 0 seconds. 83 already precompiled. 1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package 0 dependencies successfully precompiled in 0 seconds. 83 already precompiled. ERROR: LoadError: The following 1 direct dependency failed to precompile: HTTP [cd3eb016-35fb-5094-929b-558a96fad6f3] Error: Missing source file for HTTP [cd3eb016-35fb-5094-929b-558a96fad6f3 Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /nix/store/i92h4wy9ay6iays1dsg99qsjsjybyli1-julia-bin-1.8.5/share/julia/stdlib/v1.8/Pkg/src/Types.jl:67 [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{String}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ Pkg.API /nix/store/i92h4wy9ay6iays1dsg99qsjsjybyli1-julia-bin-1.8.5/share/julia/stdlib/v1.8/Pkg/src/API.jl:1435 [3] precompile @ /nix/store/i92h4wy9ay6iays1dsg99qsjsjybyli1-julia-bin-1.8.5/share/julia/stdlib/v1.8/Pkg/src/API.jl:1072 [inlined] [4] #precompile#225 @ /nix/store/i92h4wy9ay6iays1dsg99qsjsjybyli1-julia-bin-1.8.5/share/julia/stdlib/v1.8/Pkg/src/API.jl:1071 [inlined] [5] precompile (repeats 2 times) @ /nix/store/i92h4wy9ay6iays1dsg99qsjsjybyli1-julia-bin-1.8.5/share/julia/stdlib/v1.8/Pkg/src/API.jl:1071 [inlined] [6] top-level scope @ ~/primal-caching-service/pkg.jl:1 in expression starting at /root/primal-caching-service/pkg.jl:1
needed the submodules
how do i install the submodules?
I am getting this error when attempting to compile. I am guessing it is some linking error but not really familiar with anything in this stack.