Closed colin-adams closed 11 years ago
Hi,
Thanks for the report. Cygwin changed the name of its installer so the URL returns a 404 now. I need to update the installer.
I'm currently on vacations but I'll update the installer on Monday, when I come back.
On Thu 15 Aug 2013 11:55:29 AM CEST, colin-adams wrote:
I have just tried running the installer (as my cygwin has version 3.08 installed, and I'm told I need a newer one). I select Ocaml and Cygwin, and I get a dialog saying:
Couldn't download Cygwin's setup.exe: HTTP/1.1 404 Not Found.
And indeed next time I run ./configure for the application that needs ocaml it still reports version 3.08.
Any suggestions?
— Reply to this email directly or view it on GitHub https://github.com/protz/ocaml-installer/issues/24.
Thank-you.
Please can you let me know when the new installer is available for download?
On 15 August 2013 11:25, Jonathan Protzenko notifications@github.comwrote:
Hi,
Thanks for the report. Cygwin changed the name of its installer so the URL returns a 404 now. I need to update the installer.
I'm currently on vacations but I'll update the installer on Monday, when I come back.
On Thu 15 Aug 2013 11:55:29 AM CEST, colin-adams wrote:
I have just tried running the installer (as my cygwin has version 3.08 installed, and I'm told I need a newer one). I select Ocaml and Cygwin, and I get a dialog saying:
Couldn't download Cygwin's setup.exe: HTTP/1.1 404 Not Found.
And indeed next time I run ./configure for the application that needs ocaml it still reports version 3.08.
Any suggestions?
— Reply to this email directly or view it on GitHub https://github.com/protz/ocaml-installer/issues/24.
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-22695490 .
http://yquem.inria.fr/~protzenk/caml-installer/ocaml-4.00.1-i686-mingw64-installer3.exe
Can you confirm it fixes the problem?
Thanks,
jonathan
Yes.
Thank-you.
On 19 August 2013 12:43, Jonathan Protzenko notifications@github.comwrote:
http://yquem.inria.fr/~protzenk/caml-installer/ocaml-4.00.1-i686-mingw64-installer3.exe
Can you confirm it fixes the problem?
Thanks,
jonathan
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-22866194 .
That is it goes ahead and completes. But it appears Ocaml 3.08 is still installed (came with my original cygwin installation), and that is what the applications configure is seeing.
How do I uninstall 3.08?
On 19 August 2013 13:51, Colin Adams colinpauladams@gmail.com wrote:
Yes.
Thank-you.
On 19 August 2013 12:43, Jonathan Protzenko notifications@github.comwrote:
http://yquem.inria.fr/~protzenk/caml-installer/ocaml-4.00.1-i686-mingw64-installer3.exe
Can you confirm it fixes the problem?
Thanks,
jonathan
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-22866194 .
If you installed Cygwin's OCaml, you have to remove it using Cygwin's setup.exe
~ jonathan
On Mon 19 Aug 2013 03:02:43 PM CEST, colin-adams wrote:
That is it goes ahead and completes. But it appears Ocaml 3.08 is still installed (came with my original cygwin installation), and that is what the applications configure is seeing.
How do I uninstall 3.08?
On 19 August 2013 13:51, Colin Adams colinpauladams@gmail.com wrote:
Yes.
Thank-you.
On 19 August 2013 12:43, Jonathan Protzenko notifications@github.comwrote:
http://yquem.inria.fr/~protzenk/caml-installer/ocaml-4.00.1-i686-mingw64-installer3.exe
Can you confirm it fixes the problem?
Thanks,
jonathan
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-22866194
.
— Reply to this email directly or view it on GitHub https://github.com/protz/ocaml-installer/issues/24#issuecomment-22869927.
Hello Jonathan,
I got all that to work, but today I had to reinstall ocaml in an MSYS environment. Since this isn't supported for 4.0 I used the 3.12 installer.
However when running, ocamlopt is failing with:
\ Fatal Error: Cannot find file "libws2_32"
libws2_32.a is in /usr/lib . I could simply copy it to wherever ocamlopt is trying to look for it, if I only knew where. Do you know?
On 19 August 2013 14:10, Jonathan Protzenko notifications@github.comwrote:
If you installed Cygwin's OCaml, you have to remove it using Cygwin's setup.exe
~ jonathan
On Mon 19 Aug 2013 03:02:43 PM CEST, colin-adams wrote:
That is it goes ahead and completes. But it appears Ocaml 3.08 is still installed (came with my original cygwin installation), and that is what the applications configure is seeing.
How do I uninstall 3.08?
On 19 August 2013 13:51, Colin Adams colinpauladams@gmail.com wrote:
Yes.
Thank-you.
On 19 August 2013 12:43, Jonathan Protzenko notifications@github.comwrote:
http://yquem.inria.fr/~protzenk/caml-installer/ocaml-4.00.1-i686-mingw64-installer3.exe
Can you confirm it fixes the problem?
Thanks,
jonathan
— Reply to this email directly or view it on GitHub< https://github.com/protz/ocaml-installer/issues/24#issuecomment-22866194>
.
— Reply to this email directly or view it on GitHub < https://github.com/protz/ocaml-installer/issues/24#issuecomment-22869927>.
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-22870321 .
You should read the old, archived version of the page, it contains instructions for customizing your ~/.bashrc with the right FLEXLINKFLAGS (I think).
But those libraries don't exist on my system. (there is no /mingw directory). Can you describe in words what those directories are, so I can find there locations? E.g. Which files should be in the two directories.
On 28 August 2013 15:40, Jonathan Protzenko notifications@github.comwrote:
You should read the old, archived version of the page, it contains instructions for customizing your ~/.bashrc with the right FLEXLINKFLAGS (I think).
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-23419891 .
But it doesn't help. Is there anything else I might try? Should I reinstall after setting FLEXLINKFLAGS?
On 28 August 2013 15:40, Jonathan Protzenko notifications@github.comwrote:
You should read the old, archived version of the page, it contains instructions for customizing your ~/.bashrc with the right FLEXLINKFLAGS (I think).
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-23419891 .
What's the value of your flexlinkflags? how did you set flexlinkflags?
I coded the following in my .profile:
export FLEXLINKFLAGS="-L\"/c/Program Files (x86)/Eiffel Software/EiffelStudio 7.3 GPL/gcc/windows/mingw/lib/gcc/i686-w64-mingw32/4.4.5\" -L\"/c/Program Files (x86)/Eiffel Software/EiffelStudio 7.3 GPL/gcc/windows/mingw/lib\" -L\"/c/Program Files (x86)/Eiffel Software/EiffelStudio 7.3 GPL/gcc/windows/mingw/i686-w64-mingw32/lib\""
and then called:
source .profile
followed by
make
On 29 August 2013 22:02, Jonathan Protzenko notifications@github.comwrote:
What's the value of your flexlinkflags? how did you set flexlinkflags?
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-23523282 .
What does "ls /c/Program Files (x86)/Eiffel Software/EiffelStudio 7.3 GPL/gcc/windows/mingw/lib/gcc/i686-w64-mingw32/4.4.5" give? Are you positive that this is a valid MSys path? If you're not familiar with the way MSys works, what about giving the cygwin solution a try? That one is supported.
Hm. It gives me syntax error.
I have to enclose the whole path in "" for it to work. I thought I had done that in the FLEXLINKFLAGS export - maybe I need to double them again.
Cygwin works, but I need to do it with this particular MSYS environment.
On 30 August 2013 08:56, Jonathan Protzenko notifications@github.comwrote:
What does "ls /c/Program Files (x86)/Eiffel Software/EiffelStudio 7.3 GPL/gcc/windows/mingw/lib/gcc/i686-w64-mingw32/4.4.5" give? Are you positive that this is a valid MSys path? If you're not familiar with the way MSys works, what about giving the cygwin solution a try? That one is supported.
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-23545935 .
Doubling the quotes is a distinct improvement.
Now I get:
\ Fatal Error: Cannot find file "Files"
What is 'Files' and where should it be looking for it?
On 30 August 2013 09:08, Colin Adams colinpauladams@gmail.com wrote:
Hm. It gives me syntax error.
I have to enclose the whole path in "" for it to work. I thought I had done that in the FLEXLINKFLAGS export - maybe I need to double them again.
Cygwin works, but I need to do it with this particular MSYS environment.
On 30 August 2013 08:56, Jonathan Protzenko notifications@github.comwrote:
What does "ls /c/Program Files (x86)/Eiffel Software/EiffelStudio 7.3 GPL/gcc/windows/mingw/lib/gcc/i686-w64-mingw32/4.4.5" give? Are you positive that this is a valid MSys path? If you're not familiar with the way MSys works, what about giving the cygwin solution a try? That one is supported.
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-23545935 .
I have absolutely no idea what that error means. If you could identify which program is throwing the error, that would be great. Again, there's a reason why I claim MSys to be unsupported: you're basically on your own... the next step would be figuring out who it throwing that error and then reading the source code of the offending program to get a little bit more information on what "Files" is!
I think it's ocamlopt. here's the full output:
export CIL_VERSION ocamlbuild -build-dir _build -no-links -classic-display src/cil.cma src/cil.cmxa src/cil.a src/cil.libfiles src/cilly.byte src/cilly.native cil.docdir/index.htm l ocamlopt -I "c:/Program Files (x86)/OCaml/lib\ocamlbuild" unix.cmxa "c:/Program Files (x86)/OCaml/lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml"c:/Program Files (x86)/OCaml/lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild.exe \ Fatal error: Cannot find file "Files" File "caml_startup", line 1, characters 0-1: Error: Error during linking Exit code 2 while executing this command: ocamlopt -I "c:/Program Files (x86)/OCaml/lib\ocamlbuild" unix.cmxa "c:/Progra m Files (x86)/OCaml/lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml"c:/Progr am Files (x86)/OCaml/lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild.exe make: *\ [ocamlbuild] Error 2
I greatly fear that 'Files' is the second word of c:/Program Files (x86) etc., in which case it's just not going to work. :-(
On 30 August 2013 09:18, Jonathan Protzenko notifications@github.comwrote:
I have absolutely no idea what that error means. If you could identify which program is throwing the error, that would be great. Again, there's a reason why I claim MSys to be unsupported: you're basically on your own... the next step would be figuring out who it throwing that error and then reading the source code of the offending program to get a little bit more information on what "Files" is!
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-23546864 .
Can't you use the PROGRA~1 trick to get a folder name without spaces?
~ jonathan
On Fri 30 Aug 2013 10:24:16 AM CEST, colin-adams wrote:
I think it's ocamlopt. here's the full output:
export CIL_VERSION ocamlbuild -build-dir _build -no-links -classic-display src/cil.cma src/cil.cmxa src/cil.a src/cil.libfiles src/cilly.byte src/cilly.native cil.docdir/index.htm l ocamlopt -I "c:/Program Files (x86)/OCaml/lib\ocamlbuild" unix.cmxa "c:/Program Files (x86)/OCaml/lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml"c:/Program Files (x86)/OCaml/lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild.exe \ Fatal error: Cannot find file "Files" File "caml_startup", line 1, characters 0-1: Error: Error during linking Exit code 2 while executing this command: ocamlopt -I "c:/Program Files (x86)/OCaml/lib\ocamlbuild" unix.cmxa "c:/Progra m Files (x86)/OCaml/lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml"c:/Progr am Files (x86)/OCaml/lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild.exe make: *\ [ocamlbuild] Error 2
I greatly fear that 'Files' is the second word of c:/Program Files (x86) etc., in which case it's just not going to work. :-(
On 30 August 2013 09:18, Jonathan Protzenko notifications@github.comwrote:
I have absolutely no idea what that error means. If you could identify which program is throwing the error, that would be great. Again, there's a reason why I claim MSys to be unsupported: you're basically on your own... the next step would be figuring out who it throwing that error and then reading the source code of the offending program to get a little bit more information on what "Files" is!
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-23546864
.
— Reply to this email directly or view it on GitHub https://github.com/protz/ocaml-installer/issues/24#issuecomment-23547114.
Also, you could uninstall, then reinstall into c:\ocaml.
~ jonathan
On Fri 30 Aug 2013 10:24:16 AM CEST, colin-adams wrote:
I think it's ocamlopt. here's the full output:
export CIL_VERSION ocamlbuild -build-dir _build -no-links -classic-display src/cil.cma src/cil.cmxa src/cil.a src/cil.libfiles src/cilly.byte src/cilly.native cil.docdir/index.htm l ocamlopt -I "c:/Program Files (x86)/OCaml/lib\ocamlbuild" unix.cmxa "c:/Program Files (x86)/OCaml/lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml"c:/Program Files (x86)/OCaml/lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild.exe \ Fatal error: Cannot find file "Files" File "caml_startup", line 1, characters 0-1: Error: Error during linking Exit code 2 while executing this command: ocamlopt -I "c:/Program Files (x86)/OCaml/lib\ocamlbuild" unix.cmxa "c:/Progra m Files (x86)/OCaml/lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml"c:/Progr am Files (x86)/OCaml/lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild.exe make: *\ [ocamlbuild] Error 2
I greatly fear that 'Files' is the second word of c:/Program Files (x86) etc., in which case it's just not going to work. :-(
On 30 August 2013 09:18, Jonathan Protzenko notifications@github.comwrote:
I have absolutely no idea what that error means. If you could identify which program is throwing the error, that would be great. Again, there's a reason why I claim MSys to be unsupported: you're basically on your own... the next step would be figuring out who it throwing that error and then reading the source code of the offending program to get a little bit more information on what "Files" is!
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-23546864
.
— Reply to this email directly or view it on GitHub https://github.com/protz/ocaml-installer/issues/24#issuecomment-23547114.
That seemed like a good idea. Unfortunately it's not making any difference. I suspect it's Program Files form FLEXLINKFLAGS, so I'll try the PROGRA~1 trick.
On 30 August 2013 09:29, Jonathan Protzenko notifications@github.comwrote:
Also, you could uninstall, then reinstall into c:\ocaml.
~ jonathan
On Fri 30 Aug 2013 10:24:16 AM CEST, colin-adams wrote:
I think it's ocamlopt. here's the full output:
export CIL_VERSION ocamlbuild -build-dir _build -no-links -classic-display src/cil.cma src/cil.cmxa src/cil.a src/cil.libfiles src/cilly.byte src/cilly.native cil.docdir/index.htm l ocamlopt -I "c:/Program Files (x86)/OCaml/lib\ocamlbuild" unix.cmxa "c:/Program Files (x86)/OCaml/lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml"c:/Program Files (x86)/OCaml/lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild.exe \ Fatal error: Cannot find file "Files" File "caml_startup", line 1, characters 0-1: Error: Error during linking Exit code 2 while executing this command: ocamlopt -I "c:/Program Files (x86)/OCaml/lib\ocamlbuild" unix.cmxa "c:/Progra m Files (x86)/OCaml/lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml"c:/Progr am Files (x86)/OCaml/lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild.exe make: *\ [ocamlbuild] Error 2
I greatly fear that 'Files' is the second word of c:/Program Files (x86) etc., in which case it's just not going to work. :-(
On 30 August 2013 09:18, Jonathan Protzenko notifications@github.comwrote:
I have absolutely no idea what that error means. If you could identify which program is throwing the error, that would be great. Again, there's a reason why I claim MSys to be unsupported: you're basically on your own... the next step would be figuring out who it throwing that error and then reading the source code of the offending program to get a little bit more information on what "Files" is!
— Reply to this email directly or view it on GitHub< https://github.com/protz/ocaml-installer/issues/24#issuecomment-23546864>
.
— Reply to this email directly or view it on GitHub < https://github.com/protz/ocaml-installer/issues/24#issuecomment-23547114>.
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-23547353 .
Make sure it's PROGRA~1, not PROGRA~2, then! :)
~ jonathan
On Fri 30 Aug 2013 10:44:55 AM CEST, colin-adams wrote:
That seemed like a good idea. Unfortunately it's not making any difference. I suspect it's Program Files form FLEXLINKFLAGS, so I'll try the PROGRA~1 trick.
On 30 August 2013 09:29, Jonathan Protzenko notifications@github.comwrote:
Also, you could uninstall, then reinstall into c:\ocaml.
~ jonathan
On Fri 30 Aug 2013 10:24:16 AM CEST, colin-adams wrote:
I think it's ocamlopt. here's the full output:
export CIL_VERSION ocamlbuild -build-dir _build -no-links -classic-display src/cil.cma src/cil.cmxa src/cil.a src/cil.libfiles src/cilly.byte src/cilly.native cil.docdir/index.htm l ocamlopt -I "c:/Program Files (x86)/OCaml/lib\ocamlbuild" unix.cmxa "c:/Program Files (x86)/OCaml/lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml"c:/Program Files (x86)/OCaml/lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild.exe \ Fatal error: Cannot find file "Files" File "caml_startup", line 1, characters 0-1: Error: Error during linking Exit code 2 while executing this command: ocamlopt -I "c:/Program Files (x86)/OCaml/lib\ocamlbuild" unix.cmxa "c:/Progra m Files (x86)/OCaml/lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml"c:/Progr am Files (x86)/OCaml/lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild.exe make: *\ [ocamlbuild] Error 2
I greatly fear that 'Files' is the second word of c:/Program Files (x86) etc., in which case it's just not going to work. :-(
On 30 August 2013 09:18, Jonathan Protzenko notifications@github.comwrote:
I have absolutely no idea what that error means. If you could identify which program is throwing the error, that would be great. Again, there's a reason why I claim MSys to be unsupported: you're basically on your own... the next step would be figuring out who it throwing that error and then reading the source code of the offending program to get a little bit more information on what "Files" is!
— Reply to this email directly or view it on GitHub<
https://github.com/protz/ocaml-installer/issues/24#issuecomment-23546864>
.
— Reply to this email directly or view it on GitHub <
https://github.com/protz/ocaml-installer/issues/24#issuecomment-23547114>.
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-23547353
.
— Reply to this email directly or view it on GitHub https://github.com/protz/ocaml-installer/issues/24#issuecomment-23548007.
I'd done that.
It was the FLEXLINKFLAGS paths that were causing the problem.
First I had to change Program Files (x86) etc to Progra~2. The Eiffel Software to Eiffel~1
But the next segment, Eiffel Software 7.3 GPL defied efforts to use Eiffel~N trick. So I copied the entire directory tree at that point, renamed it to EiffelSoftware73.GPL.
That still wasn't enough to find libws2_32 - I had to reduce FLEXLINKFLAGS to a single -Ldir statement.
After all that it works!
Thanks for all you suggestions and time.
On 30 August 2013 09:48, Jonathan Protzenko notifications@github.comwrote:
Make sure it's PROGRA~1, not PROGRA~2, then! :)
~ jonathan
On Fri 30 Aug 2013 10:44:55 AM CEST, colin-adams wrote:
That seemed like a good idea. Unfortunately it's not making any difference. I suspect it's Program Files form FLEXLINKFLAGS, so I'll try the PROGRA~1 trick.
On 30 August 2013 09:29, Jonathan Protzenko notifications@github.comwrote:
Also, you could uninstall, then reinstall into c:\ocaml.
~ jonathan
On Fri 30 Aug 2013 10:24:16 AM CEST, colin-adams wrote:
I think it's ocamlopt. here's the full output:
export CIL_VERSION ocamlbuild -build-dir _build -no-links -classic-display src/cil.cma src/cil.cmxa src/cil.a src/cil.libfiles src/cilly.byte src/cilly.native cil.docdir/index.htm l ocamlopt -I "c:/Program Files (x86)/OCaml/lib\ocamlbuild" unix.cmxa "c:/Program Files (x86)/OCaml/lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml"c:/Program Files (x86)/OCaml/lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild.exe \ Fatal error: Cannot find file "Files" File "caml_startup", line 1, characters 0-1: Error: Error during linking Exit code 2 while executing this command: ocamlopt -I "c:/Program Files (x86)/OCaml/lib\ocamlbuild" unix.cmxa "c:/Progra m Files (x86)/OCaml/lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml"c:/Progr am Files (x86)/OCaml/lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild.exe make: *\ [ocamlbuild] Error 2
I greatly fear that 'Files' is the second word of c:/Program Files (x86) etc., in which case it's just not going to work. :-(
On 30 August 2013 09:18, Jonathan Protzenko notifications@github.comwrote:
I have absolutely no idea what that error means. If you could identify which program is throwing the error, that would be great. Again, there's a reason why I claim MSys to be unsupported: you're basically on your own... the next step would be figuring out who it throwing that error and then reading the source code of the offending program to get a little bit more information on what "Files" is!
— Reply to this email directly or view it on GitHub<
https://github.com/protz/ocaml-installer/issues/24#issuecomment-23546864
.
— Reply to this email directly or view it on GitHub <
https://github.com/protz/ocaml-installer/issues/24#issuecomment-23547114 .
— Reply to this email directly or view it on GitHub< https://github.com/protz/ocaml-installer/issues/24#issuecomment-23547353>
.
— Reply to this email directly or view it on GitHub < https://github.com/protz/ocaml-installer/issues/24#issuecomment-23548007>.
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-23548129 .
The reason I'm advertising Cygwin is that flexlink knows how to auto-detect the right directory in a cygwin environment, and it works "out of the box".
Glad it worked for you!
~ jonathan
On Fri 30 Aug 2013 11:03:50 AM CEST, colin-adams wrote:
I'd done that.
It was the FLEXLINKFLAGS paths that were causing the problem.
First I had to change Program Files (x86) etc to Progra~2. The Eiffel Software to Eiffel~1
But the next segment, Eiffel Software 7.3 GPL defied efforts to use Eiffel~N trick. So I copied the entire directory tree at that point, renamed it to EiffelSoftware73.GPL.
That still wasn't enough to find libws2_32 - I had to reduce FLEXLINKFLAGS to a single -Ldir statement.
After all that it works!
Thanks for all you suggestions and time.
On 30 August 2013 09:48, Jonathan Protzenko notifications@github.comwrote:
Make sure it's PROGRA~1, not PROGRA~2, then! :)
~ jonathan
On Fri 30 Aug 2013 10:44:55 AM CEST, colin-adams wrote:
That seemed like a good idea. Unfortunately it's not making any difference. I suspect it's Program Files form FLEXLINKFLAGS, so I'll try the PROGRA~1 trick.
On 30 August 2013 09:29, Jonathan Protzenko notifications@github.comwrote:
Also, you could uninstall, then reinstall into c:\ocaml.
~ jonathan
On Fri 30 Aug 2013 10:24:16 AM CEST, colin-adams wrote:
I think it's ocamlopt. here's the full output:
export CIL_VERSION ocamlbuild -build-dir _build -no-links -classic-display src/cil.cma src/cil.cmxa src/cil.a src/cil.libfiles src/cilly.byte src/cilly.native cil.docdir/index.htm l ocamlopt -I "c:/Program Files (x86)/OCaml/lib\ocamlbuild" unix.cmxa "c:/Program Files (x86)/OCaml/lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml"c:/Program Files (x86)/OCaml/lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild.exe \ Fatal error: Cannot find file "Files" File "caml_startup", line 1, characters 0-1: Error: Error during linking Exit code 2 while executing this command: ocamlopt -I "c:/Program Files (x86)/OCaml/lib\ocamlbuild" unix.cmxa "c:/Progra m Files (x86)/OCaml/lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml"c:/Progr am Files (x86)/OCaml/lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild.exe make: *\ [ocamlbuild] Error 2
I greatly fear that 'Files' is the second word of c:/Program Files (x86) etc., in which case it's just not going to work. :-(
On 30 August 2013 09:18, Jonathan Protzenko notifications@github.comwrote:
I have absolutely no idea what that error means. If you could identify which program is throwing the error, that would be great. Again, there's a reason why I claim MSys to be unsupported: you're basically on your own... the next step would be figuring out who it throwing that error and then reading the source code of the offending program to get a little bit more information on what "Files" is!
— Reply to this email directly or view it on GitHub<
https://github.com/protz/ocaml-installer/issues/24#issuecomment-23546864
.
— Reply to this email directly or view it on GitHub <
https://github.com/protz/ocaml-installer/issues/24#issuecomment-23547114 .
— Reply to this email directly or view it on GitHub<
https://github.com/protz/ocaml-installer/issues/24#issuecomment-23547353>
.
— Reply to this email directly or view it on GitHub <
https://github.com/protz/ocaml-installer/issues/24#issuecomment-23548007>.
— Reply to this email directly or view it on GitHubhttps://github.com/protz/ocaml-installer/issues/24#issuecomment-23548129
.
— Reply to this email directly or view it on GitHub https://github.com/protz/ocaml-installer/issues/24#issuecomment-23548825.
I have just tried running the installer (as my cygwin has version 3.08 installed, and I'm told I need a newer one). I select Ocaml and Cygwin, and I get a dialog saying:
Couldn't download Cygwin's setup.exe: HTTP/1.1 404 Not Found.
And indeed next time I run ./configure for the application that needs ocaml it still reports version 3.08.
Any suggestions?