<d_bot>
<Et7f3> (Copied msg from NUL and added dash -c '') in error it seem to create_process with dash.exe in main program
<d_bot>
<Sliver> dash command not found ?
<d_bot>
<Et7f3> Then install it
<d_bot>
<NULL> How did you install opam ? I just tried it and had no issue
waleee has quit [Ping timeout: 250 seconds]
Haudegen has quit [Ping timeout: 256 seconds]
<d_bot>
<Sliver> I downloaded Ocaml64.exe in administrator and i create an environement variable OCAMLLIB and create a way to bin folder in PATH. Everything is working.
<d_bot>
<Sliver> But this error 😣
<d_bot>
<NULL> You downloaded and installed OCaml64; now you can't run `opam install ocaml-lsp-server` ?
<d_bot>
<NULL> What were you trying to install at first ?
Techcable has joined #ocaml
<d_bot>
<Sliver> when i write for pkg in merlin ocp-indent utop ; do opam show -f installed-version $pkg ; done. i must see 3 numbers of version like 4.4-411, 1.8.1, and 2.9.0 for example but i don't have it
<d_bot>
<Sliver> (You can see that on my first msg at the bottom of the screen)
haesbaert has quit [Ping timeout: 260 seconds]
<d_bot>
<NULL> That's just a way to check that you have installed the packages, that shouldn't cause issues
<d_bot>
<NULL> What did you do besides installing OCaml64 ?
<d_bot>
<Sliver> I installed a text editor but i think it's not important
<d_bot>
<NULL> This may be the easiest as I don't understand: Remove `C:\OCaml64` (the folder where this is installed), reinstall, `opam install ...`
haesbaert has joined #ocaml
<d_bot>
<Sliver> where i write opam install ...
<d_bot>
<Sliver> ?
<d_bot>
<NULL> In the Cygwin terminal
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
zebrag has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mbuf has joined #ocaml
azimut_ has quit [Remote host closed the connection]
azimut has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
gravicappa has joined #ocaml
dalek-caan has joined #ocaml
shawnw has joined #ocaml
jlrnick has quit [Ping timeout: 268 seconds]
kaph has quit [Read error: Connection reset by peer]
haesbaert has quit [Ping timeout: 250 seconds]
haesbaert has joined #ocaml
np has left #ocaml [WeeChat 3.3]
Tuplanolla has joined #ocaml
<d_bot>
<let Butanium = raise Not_found;;> @Sliver if you want z windows install that run in CMD/PowerShell and that install everything in one shot, check https://diskuv.gitlab.io/diskuv-ocaml/
<d_bot>
<let Butanium = raise Not_found;;> It takes a while to install but you don't have to do anything. Also it's ~40Go I think
Serpent7776 has joined #ocaml
bartholin has joined #ocaml
olle has joined #ocaml
Everything has quit [Quit: leaving]
ouestbillie has quit [Ping timeout: 240 seconds]
spip has quit [Ping timeout: 240 seconds]
spip has joined #ocaml
jlrnick has joined #ocaml
kaph has joined #ocaml
bgs has quit [Ping timeout: 256 seconds]
bartholin has quit [Ping timeout: 256 seconds]
bgs has joined #ocaml
np has joined #ocaml
bartholin has joined #ocaml
<dmbaturin>
Anyone has this problem with utop in 4.13? `Reason: dlllwt_unix_stubs.so: cannot open shared object file: No such file or directory`
bgs has quit [Read error: Connection reset by peer]
bgs has joined #ocaml
nimaje has quit [Quit: WeeChat 3.3]
<d_bot>
<crab λ> How do I install bwrap??
<dmbaturin>
From your OS package repositories, typically.
<d_bot>
<crab λ> There weren’t any instructions in the bwrap repo
chrisz has quit [Ping timeout: 268 seconds]
<dmbaturin>
What OS are you using?
chrisz has joined #ocaml
<d_bot>
<crab λ> Windows, but I have a Ubuntu subsystem
<dmbaturin>
If you are using opam inside the Linux container, then you can install it from the repos. `apt-get install bwrap`
Haudegen has joined #ocaml
<d_bot>
<crab λ> thanks
<d_bot>
<crab λ> do you have a more specific installation
<d_bot>
<crab λ> because it cant find bwrap
<dmbaturin>
Sorry, they call it bubblewrap. `apt-get install bubblewrap`
<dmbaturin>
Remove the half-built switch before retrying.
<d_bot>
<crab λ> how do i remove it?
<dmbaturin>
Look, if you don't make even a slightest effort to read the docs, people will quickly lose patience with you. ;)
<dmbaturin>
`opam switch --help` will tell you in no time.
<d_bot>
<crab λ> cool thanks
<d_bot>
<crab λ> its the same error
<d_bot>
<crab λ> with `-j 1`
bartholin has quit [Ping timeout: 250 seconds]
haesbaert has quit [Ping timeout: 256 seconds]
<d_bot>
<crab λ> any ideas?
bartholin has joined #ocaml
haesbaert has joined #ocaml
jlrnick has quit [Ping timeout: 268 seconds]
<d_bot>
<crab λ> what am i doing wrong, or is something wrong with the system
emad has joined #ocaml
shawnw has quit [Ping timeout: 250 seconds]
<dmbaturin>
Interesting. I guess actual compilation error is needed then. Try adding `--verbose` to the command, that may display the error it hides by default (though I wish it didn't hide it to begin with).
<d_bot>
<NULL> You need to manually take care of the dependencies if you do it like this
<d_bot>
<NULL> A solution is to install it through APT
<d_bot>
<NULL> The installer should have put the executable in a place that takes priority over where apt will install its own, so this shouldn't change much
<d_bot>
<crab λ> i got all the dependencies
<d_bot>
<crab λ> for opam init
<d_bot>
<crab λ> i didnt use an installert
<d_bot>
<NULL> A C toolchain is required for ocaml (as explained in the error message) and you don't have any
<d_bot>
<NULL> Your command is an installer (install.sh)
<d_bot>
<crab λ> i have llvm
<d_bot>
<crab λ> and cmake
bartholin has joined #ocaml
<dmbaturin>
But the build script needs GCC and GNU make.
<d_bot>
<NULL> cc isn't even defined
<d_bot>
<NULL> Really, the easiest painless solution is `sudo apt install opam`
<dmbaturin>
One problem with installing from the repos is that Debian people have ocaml in opam's dependencies, for reasons that escape me.
<dmbaturin>
So you end up with a non-removable installation of compiler older than you'd want to use. Maybe Ubuntu maintainers fixed that at least.
<d_bot>
<NULL> Is that a problem?
<dmbaturin>
Well, it's an annoyance for sure.
<d_bot>
<NULL> Not having a system compiler would be weird I think
<dmbaturin>
For newbies who don't know how to install dependencies by hand, it's an acceptable compromise I suppose.
<dmbaturin>
Well, in Ubuntu, _maybe_. In Debian the system compiler is always a fossil by the time they release a new distro version.
<d_bot>
<monk> yeah i would argue always go with an installer/setup that is, by the first degree, independent of a system's package manager when possible
<d_bot>
<monk> even with arch i try to do that
<d_bot>
<crab λ> ok
<d_bot>
<monk> but for newer people that does mean getting lost in not knowing what common dependencies a PL might need to install, like gcc or lib ssl or whatever, you know
<d_bot>
<monk> admittedly this is what good install README/web page will have enumerated for most systems when possible to maintain
<OCamlPro[m]>
<léo> You can just `sudo apt install --no-recommends opam` and it won't install ocaml with opam...
<mclovin>
It's `--no-install-recommends` not `no-recommends` sorry
bartholin has quit [Ping timeout: 250 seconds]
<mclovin>
But I have no idea about what your issue is. I was just replying to dmbaturin about having a "non-removable installation of compiler".
<dmbaturin>
mclovin: At some point it was in Depends: rather than in Recommends: AFAIR, though my memory can be wrong. If it's now in Recommends:, that's good though.
<d_bot>
<NULL> Make sure you are using the latest version of opam, not the one you just installed (`which opam` should return `/usr/local/bin` I think)
<mclovin>
rather `/usr/bin/opam`, no ?
bartholin has joined #ocaml
<d_bot>
<NULL> I meant `/usr/local/bin/opam`, `/usr/bin/opam` would be where Ubuntu installed its own (which is older than the one the installer got)
Serpent7776 has quit [Read error: Connection reset by peer]
Serpent7776 has joined #ocaml
kaph has joined #ocaml
bartholin has quit [Ping timeout: 260 seconds]
bartholin has joined #ocaml
ouestbillie has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
dalek-caan has quit [Quit: dalek-caan]
mmalter has joined #ocaml
<mmalter>
Hello. I am looking for an ML for statistical modelling (time series, lapack bindings). I haven't looked at OCaml so far. Had a not too promising look at Haskell.
<mmalter>
Anyone has tried doing this?
Techcable has quit [Ping timeout: 240 seconds]
<hannes>
mmalter: I'm not sure whether this is what you're looking for: https://ocaml.xyz/book/
<mmalter>
hannes: thanks. That's helpful.
waleee has joined #ocaml
mro has joined #ocaml
vicfred has joined #ocaml
mro has quit [Remote host closed the connection]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mro has joined #ocaml
bartholin has quit [Ping timeout: 256 seconds]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
bartholin has joined #ocaml
gravicappa has quit [Ping timeout: 256 seconds]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
rgrinberg has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vicfred has quit [Quit: Leaving]
olle has joined #ocaml
bartholin has quit [Ping timeout: 245 seconds]
emad has quit [Quit: Leaving]
ouestbillie has quit [Ping timeout: 256 seconds]
Serpent7776 has quit [Quit: leaving]
bartholin has joined #ocaml
Techcable has joined #ocaml
perrierjouet has joined #ocaml
mro has quit [Quit: Leaving...]
perrierjouet has quit [Quit: WeeChat 3.4]
rgrinberg has joined #ocaml
bobo_ has joined #ocaml
spip has quit [Ping timeout: 256 seconds]
bartholin has quit [Quit: Leaving]
bobo_ has quit [Ping timeout: 240 seconds]
bobo_ has joined #ocaml
<d_bot>
<Butanium (@me on answer)> > Butanium (@me on answer) — 27/01/2022
<d_bot>
<Butanium (@me on answer)> > note to myself : never forget close_out oc or you'll spend 1 hours debugging why your program write file output 1 time on 10
<d_bot>
<Butanium (@me on answer)> note to myself : never forget `close_in ic` or you'll spend 1 hours debugging a linux machine you don't know because your program which works on windows crash on linux (too much file opened)
<dh`>
wouldn't it be nice if there were something that goes around and picks up unreferenced resources for you?
<dh`>
too bad garbage collection doesn't work for file handles.