matsen / pplacer

Phylogenetic placement and downstream analysis
http://matsen.fredhutch.org/pplacer/
GNU General Public License v3.0
72 stars 17 forks source link

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

Open yurivict opened 1 year ago

yurivict commented 1 year ago
===>  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 commented 4 months ago

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

Thanks,

Jianshu