im having trouble to run make inside the src/solidstar folder, I receive following message:
make
ocamlbuild -j 4 -use-ocamlfind soliditystar.native
ocamlfind ocamldep -package unix -package menhirLib -package ulex -package batteries -modules soliditystar.ml > soliditystar.ml.depends
ocamlfind: Package `menhirLib' not found
Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
make: *** [Makefile:3: all] Error 10
But I installed everything:
[NOTE] Package menhir is already installed (current version is 20220210).
[NOTE] Package pcre is already installed (current version is 7.4.6).
[NOTE] Package ulex is already installed (current version is 1.2).
If i try: ocamlfind query menhirLib
ocamlfind: Package `menhirLib' not found
Im running:
Kernel: 5.15.0-56-generic x86_64 bits: 64
Desktop: Cinnamon 5.2.7 Distro: Linux Mint 20.3 Una
With "eval $(opam config env)" i kinda fixed the error and moved to this error:
ocamlbuild -j 4 -use-ocamlfind soliditystar.native
ocamlfind ocamlc -c -syntax camlp4o -package unix -package menhirLib -package ulex -package batteries -o lexer.cmo lexer.ml
File "lexer.ml", line 39, characters 23-33:
39 | let escape_unicode x = String.set x 0 'x'; let c = int_of_string ("0"^x) in utf8_char c
^^^^^^^^^^
Alert deprecated: Stdlib.String.set
Use Bytes.set instead.
File "lexer.ml", line 39, characters 70-71:
39 | let escape_unicode x = String.set x 0 'x'; let c = int_of_string ("0"^x) in utf8_char c
^
Error: This expression has type bytes but an expression was expected of type
string
Command exited with code 2.
Compilation unsuccessful after building 15 targets (14 cached) in 00:00:00.
make: *** [Makefile:3: all] Error 10
Hello,
im having trouble to run make inside the src/solidstar folder, I receive following message: make ocamlbuild -j 4 -use-ocamlfind soliditystar.native
But I installed everything: [NOTE] Package menhir is already installed (current version is 20220210). [NOTE] Package pcre is already installed (current version is 7.4.6). [NOTE] Package ulex is already installed (current version is 1.2).
If i try: ocamlfind query menhirLib ocamlfind: Package `menhirLib' not found
Im running: Kernel: 5.15.0-56-generic x86_64 bits: 64 Desktop: Cinnamon 5.2.7 Distro: Linux Mint 20.3 Una
CPU: Dual Core Intel Core i5-7300U (-MT MCP-) speed/min/max: 800/400/3500 MHz Kernel: 5.15.0-56-generic x86_64 Up: 1h 23m Mem: 3244.5/15749.9 MiB (20.6%) Storage: 476.94 GiB (4.4% used) Procs: 243 Shell: bash 5.0.17 inxi: 3.0.38
Hope someone can help me.
Greetings
Vincent