\nNow execute 'gmake' to start compiling. Good luck!
gmake -j1 produces this:
/usr/bin/ocamlopt.opt -inline 10 -w +a-3-4-6-27-29-32-35-37-41-44-45-48-60 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/gtk2/gui -I src/gtk2/gui/x11 -I src/gtk2/gui/win32 -I icons/rsvg -I +lablgtk2 -I src/networks/direct_connect -I src/networks/fasttrack -I src/networks/fileTP -I src/networks/bittorrent -I src/networks/donkey -I +camlp4 -c src/utils/lib/syslog.ml File "src/utils/lib/syslog.ml", line 197, characters 50-53: 197 | ignore (write loginfo.fd str 0 (String.length str)); ^^^ Error: This expression has type bytes but an expression was expected of type string gmake: *** [Makefile:5443: src/utils/lib/syslog.cmx] Error 2
I'm lost here. Attempted to find a solution by myself but I can't. I know that ocaml 4.11 seem to work for Arch, so I suppose it's either the Fedora version or gcc, but I'm not really sure.
I'm trying to compile mldonkey on Fedora 33 with Ocaml 4.11
camlp4 is from github, compiled and installed. bindir is /usr/bin and libdir is /usr/lib64/camlp4
After running configure of mldonkey this is the generated output:
gmake -j1 produces this:
/usr/bin/ocamlopt.opt -inline 10 -w +a-3-4-6-27-29-32-35-37-41-44-45-48-60 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/gtk2/gui -I src/gtk2/gui/x11 -I src/gtk2/gui/win32 -I icons/rsvg -I +lablgtk2 -I src/networks/direct_connect -I src/networks/fasttrack -I src/networks/fileTP -I src/networks/bittorrent -I src/networks/donkey -I +camlp4 -c src/utils/lib/syslog.ml File "src/utils/lib/syslog.ml", line 197, characters 50-53: 197 | ignore (write loginfo.fd str 0 (String.length str)); ^^^ Error: This expression has type bytes but an expression was expected of type string gmake: *** [Makefile:5443: src/utils/lib/syslog.cmx] Error 2
I'm lost here. Attempted to find a solution by myself but I can't. I know that ocaml 4.11 seem to work for Arch, so I suppose it's either the Fedora version or gcc, but I'm not really sure.