ocaml / ocamlbuild

The legacy OCamlbuild build manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not install properly on Windows (Appveyor)

Chris00 opened this issue · comments

Compiling ocamlbuild-0.11.0 on AppVeyor with

    make configure
    make

seem to work but make install fails.

Indeed, it looks like there is a Unix-ism in the install script (assume .o instead of whatever variable holds the system-portable object file extension). Need to fix, and thanks for the report!

Note: I believe that almost no one is affected by this bug as people are using the opam-install and findlib-install targets.

findlib-install does not work any better. I believe it is because the install-bin target is the one that fails.

I looked at it more tonight, and I don't see an obvious error (in particular I use $(EXT_OBJ) as I should). Are you sure that make configure is run correctly first, and does it work better with make -f configure.make all? Can you access the content of Makefile.config after the configure step?

Listing the files shows an ocamlbuild.byte in the toplevel directory but no ocamlbuild.native.

Despite the fact that OCAML_NATIVE=true.

Ok, I found where the problem comes from: I was looking at master but the bug was fixed after 0.11 was released by a8d2e8d. I have to make a new release and the problem will go away.

I'm in the process of releasing 0.12.0.

It's released now, so the issue should be fixed.