akabe / slap

BLAS and LAPACK binding in OCaml with type-based static size checking for matrix operations
http://akabe.github.io/slap/
GNU Lesser General Public License v2.1
88 stars 4 forks source link

install problems on 4.03+flambda #5

Closed nilsbecker closed 8 years ago

nilsbecker commented 8 years ago

i get this error when i try to install:

# opam-version 1.2.2
# os           darwin
# command      ocaml setup.ml -build
# path         /Users/nbecker/.opam/4.03.0+flambda/build/slap.3.0.0
# compiler     4.03.0+flambda
# exit-code    1
# env-file     /Users/nbecker/.opam/4.03.0+flambda/build/slap.3.0.0/slap-1641-c61e7b.env
# stdout-file  /Users/nbecker/.opam/4.03.0+flambda/build/slap.3.0.0/slap-1641-c61e7b.out
# stderr-file  /Users/nbecker/.opam/4.03.0+flambda/build/slap.3.0.0/slap-1641-c61e7b.err
### stdout ###
# [...]
# Error: This variant expression is expected to have type Parsetree.constant
#        The constructor Const_int does not belong to type Parsetree.constant
# Command exited with code 2.
# + /Users/nbecker/.opam/4.03.0+flambda/bin/ocamlopt.opt unix.cmxa -I /Users/nbecker/.opam/4.03.0+flambda/lib/ocamlbuild /Users/nbecker/.opam/4.03.0+flambda/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /Users/nbecker/.opam/4.03.0+flambda/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# File "myocamlbuild.ml", line 518, characters 43-62:
# Warning 3: deprecated: Ocamlbuild_plugin.String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "myocamlbuild.ml", line 531, characters 51-70:
# Warning 3: deprecated: Ocamlbuild_plugin.String.uncapitalize
# Use String.uncapitalize_ascii instead.
### stderr ###
# [...]
# File "./setup.ml", line 1831, characters 16-35:
# Warning 3: deprecated: String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "setup.ml", line 5847, characters 11-28:
# Warning 3: deprecated: String.capitalize
# Use String.capitalize_ascii instead.
# File "setup.ml", line 5848, characters 11-30:
# Warning 3: deprecated: String.uncapitalize
# Use String.uncapitalize_ascii instead.
# E: Failure("Command ''/Users/nbecker/.opam/4.03.0+flambda/bin/ocamlbuild' lib/libslap_stubs.a lib/dllslap_stubs.so lib/slap.cma lib/slap.cmxa lib/slap.a lib/slap.cmxs lib/slap_top.cma lib/slap_top.cmxa lib/slap_top.a lib/slap_top.cmxs ppx/slap_ppx.cma ppx/slap_ppx.cmxa ppx/slap_ppx.a ppx/slap_ppx.cmxs ppx/ppx_slap.native -tag debug' terminated with error code 10")
akabe commented 8 years ago

The PPX syntax extension tool of slap cannot be compiled in OCaml 4.03 because the definition of syntax tree is incompatible between 4.02 and 4.03. I will support the latest version soon, but slap 3.0.0 or below cannot used in 4.03. sorry.

nilsbecker commented 8 years ago

ok thanks, maybe the opam version limits could be updated to reflect that?

akabe commented 8 years ago

I'll update opam files, soon.