|Anonymous | Login | Signup for a new account||2014-04-23 21:33 CEST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005830||OCaml||OCaml internal build/install (Makefiles, configure)||public||2012-11-17 04:30||2013-07-22 17:47|
|Platform||Windows||OS||Windows||OS Version||Vista 64|
|Target Version||4.01.0+dev||Fixed in Version|
|Summary||0005830: README.win32 says to use "/usr/bin/find"|
|Description||README.win32 says to set OCAMLBUILD_FIND to /usr/bin/find|
It needs to be /bin/find
On Vista 64 (at least) the cygwin path /usr/bin/find.exe is an alias that is not found by the MSVC "system()" It needs to be /bin/find.
|Steps To Reproduce||dir c:\cygwin\usr\bin\find.exe|
|Tags||No tags attached.|
|this is incorrect....|
It's true that under cygwin /usr/bin is a kind of alias for /bin that Windows doesn't know how to resolve (it doesn't even see it).
But I'm curious to know how the value of OCAMLBUILD_FIND ends up being looked up by MSVC's system() function on your machine.
I'm also curious to know why cygwin's /etc/profile adds /usr/bin and not /bin to the PATH.
I'm in favor of changing it, but this will need to be tested (which, in this case, our CI platform won't do).
|'find' is called through My_std.sys_command, which (under Windows) goes through bash. As long as 'bash' comes from Cygwin, I don't see anything wrong. (Actually, I wonder what's the need for OCAMLBUILD_FIND. Why doesn't ocamlbuild defaults to /usr/bin/find or /bin/find automatically under Win32?)|
After I made this report, I found out that the information I had when I made the report was incorrect. On my system /bin/find and /usr/bin/find are actually aliases for each other.
1125899907003518 -rwxr-xr-x 1 Owner None 209422 Dec 3 2010 /bin/find
1125899907003518 -rwxr-xr-x 1 Owner None 209422 Dec 3 2010 /usr/bin/find
I recommend closing this bug as resolved/not needed or whatever status means that nothing needs to be done for the bug.
|2012-11-17 04:30||sesquized||New Issue|
|2012-11-19 03:15||sesquized||Note Added: 0008529|
|2013-06-28 17:43||doligez||Note Added: 0009635|
|2013-06-28 17:43||doligez||Status||new => confirmed|
|2013-06-28 17:43||doligez||Target Version||=> 4.01.0+dev|
|2013-06-28 17:44||doligez||Relationship added||related to 0005833|
|2013-07-22 13:13||frisch||Note Added: 0009824|
|2013-07-22 13:14||frisch||Status||confirmed => resolved|
|2013-07-22 13:14||frisch||Resolution||open => suspended|
|2013-07-22 13:14||frisch||Assigned To||=> frisch|
|2013-07-22 17:41||sesquized||Note Added: 0009827|
|2013-07-22 17:47||frisch||Status||resolved => closed|
|2013-07-22 17:47||frisch||Assigned To||frisch =>|
|Copyright © 2000 - 2011 MantisBT Group|