Strange build behavior - can't find basic cygwin utilities
vladislav karnaukhov
vladislav.karnaukhov at oracle.com
Fri Mar 29 21:23:27 UTC 2013
Thanks a lot Tim! A removal of F# really helped.
- Vlad
On 3/29/2013 00:39, Tim Bell wrote:
> Hi Vlad
>
> Our guidance [1] is to install only C++ out of the VS 2010 package.
>
> The problem Kelly is referring to was a developer who installed the
> entire VS2010 suite, which includes F#. Once that is installed,
> vsvars32.bat will define an environment variable called FSHARPINSTALLDIR
> and also add it to PATH:
>
> This is from C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\Common7\Tools\vsvars32.bat
>
> @if not "%FSHARPINSTALLDIR%" == "" (
> @set "PATH=%FSHARPINSTALLDIR%;%PATH%"
> )
>
>
> The # character on PATH causes problems later on. Since configure
> places the VS directories on PATH before the Cygwin bin directories, the
> symptom is that simple commands like mkdir are not found.
>
> Check the PATH in your build output.
>
>
> Tim
>
> [1]
> http://hg.openjdk.java.net/jdk8/jdk8/raw-file/tip/README-builds.html#vs2010
>
>
> On 03/28/13 12:55, Kelly O'Hair wrote:
>> this is problem we have seen before
>> i think the issue was PATH
>>
>> whatever it is someone might want to add to the troubleshooting
>> section of the Readme-builds.html file at the top of the repo
>>
>>
>> Sent from my iPhone
>>
>> On Mar 28, 2013, at 12:50, vladislav
>> karnaukhov<vladislav.karnaukhov at oracle.com> wrote:
>>
>>> Hello,
>>>
>>> I'm experiencing some strange build behavior under cygwin on Windows
>>> 7 64-bit. I cloned jdk8 ws and ran configure - no issues. Please see
>>> configure log attached.
>>>
>>> But when I try to start a build, I get a following error:
>>>
>>> $ make all
>>> make: mkdir: Command not found
>>> make: ***
>>> [/cygdrive/c/projects/jdk8/build/windows-x86-normal-server-release/source_tips]
>>> Error 127
>>>
>>> or
>>>
>>> $ make clean
>>> Cleaning langtools build artifacts ... done
>>> Cleaning corba build artifacts ... done
>>> ...
>>> make: echo: Command not found
>>> make: *** [clean] Error 127
>>>
>>> Both mkdir and echo (and other tools) are available from /usr/bin/
>>> (/cygdrive/c/cygwin/bin) and I can run them as usual just by typing a
>>> name. I suspect that somewhere some paths weren't set correctly, but
>>> I was unable to resolve this.
>>>
>>> Could someone help please?
>>>
>>> Regards,
>>> - Vlad
>
>
More information about the build-dev
mailing list