Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004783OCamlOCaml generalpublic2009-05-02 07:332010-01-04 17:37
Reporterygrek 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.11.0 
Target VersionFixed in Version3.11.2+dev 
Summary0004783: ocamlmklib uses hardcoded path to ocamlc and ocamlopt (Windows native)
Descriptionocamlmklib tries to invoke ocamlc as C:\ocamlms\bin\ocamlc which is not where ocaml is installed.

I think it would be better to invoke simply "ocamlc" (as it already calls flexlink without a full path) relying on PATH environment variable, and if one needs specific path -- use -ocamlc option.

The same goes for ocamlopt.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0005208)
Christophe Troestler (reporter)
2009-12-28 02:59

For the mingw port, the path is C:\ocamlmgw\bin\ocamlc — the same goes for ocamlopt.
The fact that this is hardcoded is not so much a problem than the fact that it is NOT the default path of the OCaml installer! Of course one can use the -ocamlc (resp. -ocamlopt) options but this should not be necessary (and libraries makefiles do not usually do that).
(0005217)
xleroy (administrator)
2010-01-04 17:37

Tentative fix in 3.11 branch (do not use absolute paths when running under Win32). Will go in 3.11.2.

- Issue History
Date Modified Username Field Change
2009-05-02 07:33 ygrek New Issue
2009-05-15 16:57 doligez Status new => acknowledged
2009-12-28 02:59 Christophe Troestler Note Added: 0005208
2010-01-04 17:37 xleroy Note Added: 0005217
2010-01-04 17:37 xleroy Status acknowledged => closed
2010-01-04 17:37 xleroy Resolution open => fixed
2010-01-04 17:37 xleroy Fixed in Version => 3.11.2+dev


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker