Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004388OCamlOCaml generalpublic2007-09-13 11:382007-11-10 14:02
Reporterrbornat 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version3.10.0 
Target VersionFixed in Version 
Summary0004388: ocamlbuild on Windows seems to need bash
DescriptionI got round the 'tput' problem by using -classic-display, but then it demands bash. This seems a shame: can't it use cmd.exe on Windows?
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0004156)
rbornat (reporter)
2007-09-19 17:54

This may be because the binary distribution of 3.10.0 (either of the Windows chain versions, it is in two places on the website) completely fails to run on my Windows XP. The Objective Caml link on the desktop starts a window which immediately closes; ocamlrun won't run from a terminal window; but 3.09.3 runs happily.

I've asked about that problem on the mailing list; I'll let you know what happens when I get a fix for it.
(0004162)
rbornat (reporter)
2007-09-24 13:24

I now have a working version of 3.10.0 on my XP machine. ocamlbuild is still asking for bash. Is there an approved bash for windows that I must have?
(0004247)
mwipliez (reporter)
2007-11-07 17:57

What's up on this? Branches release310 and ocaml3100beta still contain this reference to bash (in "my_std.ml"). Is it not possible to simply use native Windows commands when executed on a Windows system, and call "bash" otherwise? Or use Unix.* calls?
(0004263)
xleroy (administrator)
2007-11-10 14:02

cmd.exe is not usable, as the quoting rules for its command-line arguments appear to be incomplete, and at any rate are not documented anywhere.

The recommended "bash" to use is that from Cygwin. More generally, we recommend the use of Cygwin for compiling OCaml programs under Windows.

- Issue History
Date Modified Username Field Change
2007-09-13 11:38 rbornat New Issue
2007-09-19 17:54 rbornat Note Added: 0004156
2007-09-24 13:24 rbornat Note Added: 0004162
2007-11-07 17:57 mwipliez Note Added: 0004247
2007-11-10 14:02 xleroy Note Added: 0004263
2007-11-10 14:02 xleroy Status new => closed
2007-11-10 14:02 xleroy Resolution open => no change required


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker