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

compile with cygwin64 question on windows 10 #42

Open
saixmh opened this issue Jun 3, 2016 · 4 comments
Open

compile with cygwin64 question on windows 10 #42

saixmh opened this issue Jun 3, 2016 · 4 comments

Comments

@saixmh
Copy link

saixmh commented Jun 3, 2016

I'm trying to use opam to install ocp-build.
Then it throw out the error message as below:

[ocp-build: make install] Command started
[ocp-build: sh] Command started
[ERROR] The installation of ocp-build failed at "sh -exc if [ -f
        'E:\\lingo\\.opam\\system/bin/ocp-build.asm' ]; then mv
        'E:\\lingo\\.opam\\system/bin/ocp-build.asm'
        'E:\\lingo\\.opam\\system/bin/ocp-build.exe' ; fi".
[ocp-build: rm] Command started
...

Do you have any idea? Thx.

@lefessan
Copy link
Member

lefessan commented Jun 3, 2016

You should probably ask @fdopen as he is the maintainer of this package (we maintain only the non-mingw64 version of ocp-build).

However, I suspect this error is linked to the fact of using the system compiler. Do you have read/write access to E:\\lingo\\.opam\\system/bin/ ?

@fdopen
Copy link

fdopen commented Jun 3, 2016

Indeed. If you use my repository, don't use the system compiler. Only the switches maintained by this repo (e.g. 4.02.3+mingw64) set the right (environment) variables.
Also the other binaries distributed by eg. msprotz (like flexlink.exe, etc.), are not fully compatible with the repo. Use the bootstrap binaries linked under https://github.com/fdopen/opam-repository-mingw

Beside that, ocp-build (as packaged there) is only in a half usable state. It works well enough to compile packages like ocp-indent. But if you intended to use it yourself and your projects are more complex, you will soon discover the deficiencies.

@saixmh
Copy link
Author

saixmh commented Jun 5, 2016

@lefessan @fdopen
Thanks for your suggestions. It's already work fine.

@saixmh saixmh closed this as completed Jun 5, 2016
@lefessan
Copy link
Member

lefessan commented Jun 5, 2016

@fdopen Could you give us more info on the deficiencies you have noticed ? We use ocp-build directly with ocpwin, and except a quite verbose output, we had no other problem.

@lefessan lefessan reopened this Jun 5, 2016
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

3 participants