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
cannot compile ocaml3.11 on windows with MSCV #4674
Comments
Comment author: @alainfrisch Is flexdll properly installed? |
Comment author: daweil
|
Comment author: db What is the contents of your config/Makefile (not config/Makefile.msvc)? Looks like the PREFIX= line is incorrect. |
Comment author: daweil I retry today with ocaml3.11.1. It seems to work better. I managed to compile Ocaml until the step "make -f Makefile.nt opt". However, I could not compile the debugger : i had to set variable DEBUGGER to empty in file Makefile.msvc. When I launch "make -f Makefile.nt opt.opt", I get the same kind of error message. Then I analyzed the issue more precisely, by adding #!/bin/sh it works but it is very tedious as the ocamlcomp.sh and ocamlcompopt.sh are overwritten at each build step. Do you have an idea for a better patch ? |
Comment author: daweil I found better patch this morning : it seems that with the version of gnu-make I have, relative path are transformed in absolute cygwin pathes. So I changed some Makefile by adding double quotes around relatives pathes. and did the same in some otehr makefiles. |
Comment author: daweil You can close the issue : I just understand that all my trouble was coming from the fact that I was using the mingw version of gnu-make instead of the cygwin-version!!! PS : it used to work with 3.10 but not anymore with 3.11 |
Original bug ID: 4674
Reporter: daweil
Status: closed (set by @alainfrisch on 2009-08-18T15:37:01Z)
Resolution: not a bug
Priority: normal
Severity: block
Version: 3.11.0+beta
Category: ~DO NOT USE (was: OCaml general)
Monitored by: daweil db @alainfrisch
Bug description
when I launch "make -f Makefile.nt world", build stop with the message
"win32.c(36) : fatal error C1083: Cannot open include file: 'flexdll.h': No such file or directory".
I have also strange message like "process_begin: CreateProcess((null), flexlink -merge-manifest -where, ...) failed"
I have Microsoft Visual Studio 2005 installed on a 32 bit machine.
File attachments
The text was updated successfully, but these errors were encountered: