Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build breaks: Error: This expression has type Lexing.lexbuf #375

Open
yurivict opened this issue Nov 26, 2022 · 1 comment
Open

Build breaks: Error: This expression has type Lexing.lexbuf #375

yurivict opened this issue Nov 26, 2022 · 1 comment

Comments

@yurivict
Copy link

yurivict commented Nov 26, 2022

===>  Building for pplacer-1.1.a19.15
gmake[1]: Entering directory '/disk-samsung/freebsd-ports/biology/pplacer/work/pplacer-1.1.alpha19-15-g390515e'
if [ ! -e bin ]; then mkdir bin; fi
if [ ! -e bin ]; then mkdir bin; fi
if [ ! -e bin ]; then mkdir bin; fi
gmake pplacer.native
gmake rppr.native
gmake guppy.native
gmake[2]: Entering directory '/disk-samsung/freebsd-ports/biology/pplacer/work/pplacer-1.1.alpha19-15-g390515e'
gmake[2]: Entering directory '/disk-samsung/freebsd-ports/biology/pplacer/work/pplacer-1.1.alpha19-15-g390515e'
gmake[2]: Entering directory '/disk-samsung/freebsd-ports/biology/pplacer/work/pplacer-1.1.alpha19-15-g390515e'
ocamlbuild rppr.native
ocamlbuild pplacer.native
ocamlbuild guppy.native
+ /usr/local/bin/ocamlopt.opt unix.cmxa -I /usr/local/lib/ocaml/ocamlbuild /usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
File "myocamlbuild.ml", line 24, characters 6-78:
Error: This expression has type Lexing.lexbuf
       but an expression was expected of type
         Ocamlbuild_pack.Loc.source = string
Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
gmake[2]: *** [Makefile:21: pplacer.native] Error 10

ocaml-ocamlbuild-0.14.1
ocaml-4.07.1
Python-3.9
OS: FreeBSD 13.1

@jianshu93
Copy link

I have the same error on MacOS. It seems the ocaml-ocamlbuild is not compatible with old versions?

Thanks,

Jianshu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants