-
Notifications
You must be signed in to change notification settings - Fork 412
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
Manual: can't repeat an example about dune-sites #4320
Comments
Thank you for reporting those issues and testing this experimental features. Indeed the first point is clearly wrong. I hope that we would have soon the framework in place for testing the examples in the manual. For the second point it should be indeed made clearer perhaps by adding the following before the examples (using the structure of your repository):
For the third point diff --git a/plugin/dune b/plugin/dune
index 305ada0..baf2383 100644
--- a/plugin/dune
+++ b/plugin/dune
@@ -3,6 +3,6 @@
(libraries c.register))
(plugin
- (name b)
+ (name b_foo)
(libraries b)
(site (c plugins))) Finally I must warn you that there is a problem with installation with opam that I haven't yet fixed #4212. Do you think you can propose a PR that fix the manual? I will take care of the other problem of the site feature. |
Signed-off-by: Kakadu <Kakadu@pm.me>
Signed-off-by: Dmitrii Kosarev <Dmitrii.Kosarev@pm.me>
Signed-off-by: Dmitrii Kosarev <Dmitrii.Kosarev@pm.me>
Signed-off-by: Dmitrii Kosarev <Dmitrii.Kosarev@pm.me>
@bobot What do you think: should manual say something about adding dependencies to plugins? I tried to add Stdio dependency and right now I'm getting |
Except for the thread library (which should be present in the binary), it should work with any dependencies. The problem is that the |
For now this test gives a dynlink error about missiing library. See also ocaml#4320 Signed-off-by: Dmitrii Kosarev <Dmitrii.Kosarev@pm.me>
For now this test gives a dynlink error about missiing library. See also ocaml#4320 Signed-off-by: Dmitrii Kosarev <Dmitrii.Kosarev@pm.me>
For now this test gives a dynlink error about missiing library. See also ocaml#4320 Signed-off-by: Dmitrii Kosarev <Dmitrii.Kosarev@pm.me>
For now this test gives a dynlink error about missiing library. See also ocaml#4320 Signed-off-by: Dmitrii Kosarev <Dmitrii.Kosarev@pm.me>
For now this test gives a dynlink error about missiing library. See also ocaml#4320 Signed-off-by: Dmitrii Kosarev <Dmitrii.Kosarev@pm.me>
For now this test gives a dynlink error about missiing library. See also ocaml#4320 Signed-off-by: Dmitrii Kosarev <Dmitrii.Kosarev@pm.me>
For now this test gives a dynlink error about missiing library. See also #4320 Signed-off-by: Dmitrii Kosarev <Dmitrii.Kosarev@pm.me>
For now this test gives a dynlink error about missiing library. See also ocaml#4320 Signed-off-by: Dmitrii Kosarev <Dmitrii.Kosarev@pm.me>
For now this test gives a dynlink error about missiing library. See also #4320 Signed-off-by: Dmitrii Kosarev <Dmitrii.Kosarev@pm.me>
I have exactly the same problem (with dune 2.9.3) when trying to add |
I'm trying to follow an example from https://dune.readthedocs.io/en/stable/dune-files.html#generate-sites-module-since-2-8 I created a repo https://github.com/Kakadu/dune-sites-demo where I have not yet working example. Remarks
!C_register.todo
should beC_register.todo
plugin/
.dune exec ./c.exe
doesn't compile a plugin (and it isn't loaded because of that). The subsection before that says thatdune install
should put everything into right places, but is is unlikely that I need that for developer build.The text was updated successfully, but these errors were encountered: