-
Notifications
You must be signed in to change notification settings - Fork 169
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
Installation fails on Mac OSX #57
Comments
Have same problem. output: The following actions will be performed:
β install batsh 0.0.5
=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= π«
[batsh] Archive in cache
=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= π«
[ERROR] The compilation of batsh failed at "ocp-build build -njobs 8".
Processing 1/1: [batsh: ocp-build uninstall]
#=== ERROR while installing batsh.0.0.5 =======================================#
# opam-version 1.2.2
# os darwin
# command ocp-build build -njobs 8
# path /Users/achempion/.opam/4.00.1/build/batsh.0.0.5
# compiler 4.00.1
# exit-code 2
# env-file /Users/achempion/.opam/4.00.1/build/batsh.0.0.5/batsh-98874-d2c37b.env
# stdout-file /Users/achempion/.opam/4.00.1/build/batsh.0.0.5/batsh-98874-d2c37b.out
# stderr-file /Users/achempion/.opam/4.00.1/build/batsh.0.0.5/batsh-98874-d2c37b.err
### stderr ###
# [14.1] 'camlp4o' 'src/bash_ast.ml'
# [...]
# File "src/bash_ast.ml", line 49, characters 17-21:
# Parse error: [semi] expected after [str_item] (in [implem])
#
# Error:
# [40.1] 'camlp4o' 'src/batsh_ast.ml'
#
# File "src/batsh_ast.ml", line 44, characters 17-21:
# Parse error: [semi] expected after [str_item] (in [implem])
# |
I've figured out how to install $ opam switch 4.02.2
$ eval `opam config env`
$ opam install ocp-build core ounit dlist cmdliner
$ opam install "batsh=0.0.6" Here we go $ batsh |
@achempion Following your advice I also had to do:
due to the error:
But it works now, thanks! |
Will be solved by #74 once done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Installed OCaml with brew, then I get the following error when I run
opam install batsh
`=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= π«
β installed conf-which.1
β installed result.1.2
β installed ocamlbuild.0.9.2
β installed cmdliner.0.9.8
β installed conf-m4.1
β installed ocamlfind.1.6.2
β installed base-bytes.base
β installed cppo.1.4.0
β installed fieldslib.113.24.00
β installed bin_prot.113.33.00+4.03
β installed ppx_tools.5.0+4.03.0
β installed re.1.6.1
β installed sexplib.113.33.00+4.03
β installed ppx_deriving.3.3
β installed typerep.113.24.00
β installed variantslib.113.24.00
β installed ppx_core.113.33.01+4.03
β installed ppx_optcomp.113.33.00+4.03
β installed ppx_driver.113.33.01+4.03
β installed ppx_here.113.33.00
β installed ppx_inline_test.113.33.00+4.03
β installed ppx_fail.113.33.00+4.03
β installed ppx_bench.113.33.00+4.03
β installed ppx_let.113.33.00+4.03
β installed ppx_pipebang.113.33.00+4.03
β installed ppx_type_conv.113.33.01+4.03
β installed typerex-build.1.99.17-beta
β installed ocp-build.1.99.17-beta
β installed dlist.0.1.0
β installed ppx_bin_prot.113.33.00+4.03
β installed ppx_compare.113.33.00+4.03
β installed ppx_enumerate.113.33.00+4.03
β installed ppx_fields_conv.113.33.00+4.03
β installed ppx_sexp_conv.113.33.01+4.03
β installed ppx_typerep_conv.113.33.00+4.03
β installed ppx_variants_conv.113.33.00+4.03
β installed ppx_assert.113.33.00
β installed ppx_custom_printf.113.33.00+4.03
β installed ppx_sexp_message.113.33.00+4.03
β installed ppx_sexp_value.113.33.00+4.03
β installed camlp4.4.03+1
β installed ppx_expect.113.33.01+4.03
β installed ppx_jane.113.33.00
β installed core_kernel.113.33.01+4.03
β installed core.113.33.02+4.03
[ERROR] The compilation of batsh failed at "ocp-build build batsh -njobs 8".
Processing 46/46: [batsh: ocp-build uninstall]
=== ERROR while installing batsh.0.0.6 =======================================
opam-version 1.2.2
os darwin
command ocp-build build batsh -njobs 8
path /Users/gianlucascoccia/.opam/4.03.0/build/batsh.0.0.6
compiler 4.03.0
exit-code 2
env-file /Users/gianlucascoccia/.opam/4.03.0/build/batsh.0.0.6/batsh-85684-70b84e.env
stdout-file /Users/gianlucascoccia/.opam/4.03.0/build/batsh.0.0.6/batsh-85684-70b84e.out
stderr-file /Users/gianlucascoccia/.opam/4.03.0/build/batsh.0.0.6/batsh-85684-70b84e.err
=# stderr #=
Compiler: ocaml 4.03.0
Warning: 16 old env warnings were not printed (add --env-warnings)
Warning: 53 old project warnings were not printed (add --project-warnings)
Error: Could not find target project batsh
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= π«
The following actions failed
β install batsh 0.0.6
The following changes have been performed
β install base-bytes base
β install bin_prot 113.33.00+4.03
β install camlp4 4.03+1
β install cmdliner 0.9.8
β install conf-m4 1
β install conf-which 1
β install core 113.33.02+4.03
β install core_kernel 113.33.01+4.03
β install cppo 1.4.0
β install dlist 0.1.0
β install fieldslib 113.24.00
β install ocamlbuild 0.9.2
β install ocamlfind 1.6.2
β install ocp-build 1.99.17-beta
β install ppx_assert 113.33.00
β install ppx_bench 113.33.00+4.03
β install ppx_bin_prot 113.33.00+4.03
β install ppx_compare 113.33.00+4.03
β install ppx_core 113.33.01+4.03
β install ppx_custom_printf 113.33.00+4.03
β install ppx_deriving 3.3
β install ppx_driver 113.33.01+4.03
β install ppx_enumerate 113.33.00+4.03
β install ppx_expect 113.33.01+4.03
β install ppx_fail 113.33.00+4.03
β install ppx_fields_conv 113.33.00+4.03
β install ppx_here 113.33.00
β install ppx_inline_test 113.33.00+4.03
β install ppx_jane 113.33.00
β install ppx_let 113.33.00+4.03
β install ppx_optcomp 113.33.00+4.03
β install ppx_pipebang 113.33.00+4.03
β install ppx_sexp_conv 113.33.01+4.03
β install ppx_sexp_message 113.33.00+4.03
β install ppx_sexp_value 113.33.00+4.03
β install ppx_tools 5.0+4.03.0
β install ppx_type_conv 113.33.01+4.03
β install ppx_typerep_conv 113.33.00+4.03
β install ppx_variants_conv 113.33.00+4.03
β install re 1.6.1
β install result 1.2
β install sexplib 113.33.00+4.03
β install typerep 113.24.00
β install typerex-build 1.99.17-beta
β install variantslib 113.24.00 `
The text was updated successfully, but these errors were encountered: