Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i build this (trying to contribute) #8

Open
andiejs opened this issue Jul 9, 2022 · 0 comments
Open

how can i build this (trying to contribute) #8

andiejs opened this issue Jul 9, 2022 · 0 comments

Comments

@andiejs
Copy link

andiejs commented Jul 9, 2022

I'd like to modify the code in the .opam lib folder and then rebuild and test to eventually contribute here.

in ~/.opam/4.13.1/lib/matplotlib
running "opam ins ." on unchanged code downloaded from opam gives the error quoted below.

I'm not sure if I have totally the wrong approach to building this (I don't know how to use dune...), or if there's some other problem. Is there a simple way to build the package and install it?

Thanks!


monster@Clementine ~/.opam/4.13.1/lib/matplotlib $ opam ins .
matplotlib is now pinned to file:https:///home/monster/.opam/4.13.1/lib/matplotlib (version dev)
The following actions will be performed:
  ↗ upgrade matplotlib 0.2 to dev*

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[matplotlib.dev] synchronised from file:https:///home/monster/.opam/4.13.1/lib/matplotlib

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of matplotlib failed at
        "/home/monster/.opam/opam-init/hooks/sandbox.sh build dune build -p
        matplotlib -j 3 @install".

#=== ERROR while compiling matplotlib.dev =====================================#
# context     2.0.7 | linux/x86_64 | ocaml-base-compiler.4.13.1 | pinned(file:https:///home/monster/.opam/4.13.1/lib/matplotlib)
# path        ~/.opam/4.13.1/.opam-switch/build/matplotlib.dev
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p matplotlib -j 3 @install
# exit-code   1
# env-file    ~/.opam/log/matplotlib-51452-05296d.env
# output-file ~/.opam/log/matplotlib-51452-05296d.out
### output ###
# Error: I don't know about package matplotlib (passed through --only-packages)



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build matplotlib dev
└─ 
╶─ No changes have been performed



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

No branches or pull requests

1 participant