bcpierce00 / unison

Unison file synchronizer
GNU General Public License v3.0
4.07k stars 229 forks source link

Unison 2.51.2 with Ocaml 4.02.1 make error #1040

Closed koumak55 closed 4 months ago

koumak55 commented 4 months ago

Hi, i need help with compilation on Ubuntu 24.04: ocaml -version The OCaml toplevel, version 4.02.1

sudo mkdir -p /usr/src/unison/ sudo wget https://github.com/bcpierce00/unison/archive/refs/tags/v2.51.2.tar.gz -O unison.tar.gz sudo tar xzvf unison.tar.gz --strip-components 1 sudo make UISTYLE=text

make -C src UISTYLE=text make[1]: Entering directory „/usr/src/unison/src“ UISTYLE = text Building for Unix NATIVE = true THREADS = false STATIC = false OSTYPE = OSARCH = Linux ocamlopt: ubase/rx.mli ---> ubase/rx.cmi ocamlopt -g -unsafe-string -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I fsmonitor/windows -I system/generic -I lwt/generic -c /usr/src/unison/src/ubase/rx.mli ocamlopt: OCaml has been configured with -force-safe-string: -unsafe-string is not available. Usage: ocamlopt Try 'ocamlopt --help' for more information. make[1]: [Makefile.OCaml:413: ubase/rx.cmi] Error 2 make[1]: Leaving directory„/usr/src/unison/src“ make: [Makefile:6: text] Error 2

Thx

gdt commented 4 months ago

Before opening an issue, did you read the following, pointed to by the wiki and README?

https://github.com/bcpierce00/unison/wiki/Reporting-Bugs-and-Feature-Requests

gdt commented 4 months ago

I'd still like to understand whether or not you came across the reporting bugs page.

Please follow up on the list about your build issues (but I suggest reading the reporting bugs page and following that advice first).