mjs22 has quit [Remote host closed the connection]
jlrnick has joined #ocaml
jlrnick has quit [Killed (NickServ (GHOST command used by jlrnick-))]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
olle has joined #ocaml
perrierjouet has quit [Quit: WeeChat 3.7.1]
perrierjouet has joined #ocaml
spip has joined #ocaml
wingsorc has quit [Ping timeout: 260 seconds]
pflanze has joined #ocaml
<pflanze>
Hello. I'm following https://ocaml.org/docs/up-and-running and "dune build" says "The current project defines some public elements, but no opam packages are defined. Please add a <package>.opam file at the project root ...", but there *is* a chj_ocamlbin.opam in the current directory,
<pflanze>
although it is empty.
<pflanze>
I also had an error first that (lang dune 2.9) in "bin/dune-project" was not supported, only up to 2.7, so I changed that to 2.7.
<pflanze>
(I don't understand how "dune build" complains about files that "dune init" created..)
Haudegen has quit [Quit: Bin weg.]
<vsiles>
mismatch version ? are you in the right opam switch ?
<pflanze>
the page has messed up graphical characters
<pflanze>
I hope you still see the relevant info
<vsiles>
yes ;)
<vsiles>
the odd things I see is the content of bin: why do you have dune-projects in there ?
<pflanze>
dune init created it, I think
<pflanze>
Maybe I should just start over
<vsiles>
I would, since it's quite small
<vsiles>
easiest setup is a dune-project at the root, dune files in other directories
<vsiles>
a .opam at the root too if necessary
<pflanze>
First odd thing is that "~$ dune init project chj_ocamlbin" also creates a ~/_build/log
<pflanze>
Now it works.
nd__ has quit [Ping timeout: 260 seconds]
<vsiles>
_build/log is fine
<pflanze>
Too much magic?
<vsiles>
I think most dune command will create it
<pflanze>
It built stuff even though chj_ocamlbin.opam is still empty. I'm slightly amazed.
<pflanze>
Diffing to see what changed, really
<vsiles>
I never needed a .opam file
<vsiles>
I would say some of your library might had a `public_name`
<vsiles>
without `public_name`, dune doesn't care about opam
<pflanze>
Am I supposed to track .merlin files in Git?
<pflanze>
What about dune-project?
<vsiles>
recent dune no longer use .merlin files
<vsiles>
merlin directly connects to dune, no more intermediate file. You shouldn't even see one
<vsiles>
dune-project should be versioned, yes
<pflanze>
OK
<pflanze>
Using dune and ocaml from Debian stable.
<vsiles>
you can run `dune build @check` to only generating stuff for merlin
<vsiles>
what version is that ? I don't have a debian stable for years
<pflanze>
What I don't understand is that according to Git, my directory now was identical to before.
<vsiles>
¯\_(ツ)_/¯
<pflanze>
Aha, when I ran "dune build" the first time, I hadn't renamed ~/chj-ocamlbin to ~/chj_ocamlbin yet. And then I changed the version number.
<pflanze>
Too much magic.
<vsiles>
Not that much. The doc is quite extensive (but sometimes badly written :p)
<vsiles>
(won't complain, I'm bad at writing doc too)
<pflanze>
Either it stored meta-information somewhere else (non-transparent state), or it did accessed "../chj_ocamlbin" and couldn't find it and didn't report that precisely.
nd__ has joined #ocaml
Haudegen has joined #ocaml
TakinOver has quit [Ping timeout: 252 seconds]
TakinOver has joined #ocaml
rgrinberg has joined #ocaml
troydm has quit [Ping timeout: 260 seconds]
bgs has joined #ocaml
trev has joined #ocaml
alexherbo2 has joined #ocaml
<pflanze>
Thanks for your help, vsiles!
sparogy has quit [Remote host closed the connection]
sparogy has joined #ocaml
sparogy has quit [Remote host closed the connection]
wonko has joined #ocaml
sparogy has joined #ocaml
wonko has quit [Read error: Connection reset by peer]
<vsiles>
pflanze: you're welcome ;)
mro has joined #ocaml
azimut has joined #ocaml
mro has quit [Remote host closed the connection]
nd__ has quit [Ping timeout: 252 seconds]
Serpent7776 has joined #ocaml
waleee has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
waleee has quit [Quit: WeeChat 3.7.1]
nd__ has joined #ocaml
olle has quit [Remote host closed the connection]
nd__ has quit [Ping timeout: 252 seconds]
nd__ has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
troydm has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
rgrinberg has joined #ocaml
mbuf has quit [Quit: Leaving]
mro has quit [Remote host closed the connection]
podge has quit [Ping timeout: 256 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tuplanolla has joined #ocaml
bartholin has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
calvnce has joined #ocaml
mro has joined #ocaml
nikitalocalhost has joined #ocaml
nlocalhost has quit [Ping timeout: 248 seconds]
Haudegen has joined #ocaml
podge has joined #ocaml
olle has joined #ocaml
podge has quit [Ping timeout: 268 seconds]
xd1le has quit [Quit: xd1le]
mro has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
mro has joined #ocaml
podge has joined #ocaml
rgrinberg has quit [Read error: Connection reset by peer]
waleee has joined #ocaml
trev has quit [Remote host closed the connection]
origintopleft has left #ocaml [Leaving]
bgs has quit [Remote host closed the connection]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
rgrinberg has joined #ocaml
mro has quit [Ping timeout: 252 seconds]
Stumpfenstiel has joined #ocaml
mro has joined #ocaml
troydm has quit [Ping timeout: 260 seconds]
waleee has quit [Ping timeout: 252 seconds]
waleee has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
bgs has joined #ocaml
bgs has quit [Remote host closed the connection]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
wingsorc has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]