| Anonymous | Login | Signup for a new account | 2013-05-22 02:21 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0004783 | OCaml | OCaml general | public | 2009-05-02 07:33 | 2010-01-04 17:37 | |||
| Reporter | ygrek | |||||||
| Assigned To | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | 3.11.0 | |||||||
| Target Version | Fixed in Version | 3.11.2+dev | ||||||
| Summary | 0004783: ocamlmklib uses hardcoded path to ocamlc and ocamlopt (Windows native) | |||||||
| Description | ocamlmklib 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. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
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 |