start make from NetBeans - Please help!
Kelly O'Hair
Kelly.Ohair at Sun.COM
Tue Apr 7 17:31:58 PDT 2009
Someone should add this link to this netbeans site:
http://www.nabble.com/OpenJDK-Netbeans-and-Ant-Build-Scripts-f27717.html
I'll request that from the webmaster of this netbeans site.
-kto
Ulf Zibis wrote:
> Dmitri, thanks.
>
> I had to set path to ...cygwin\bin. ???
> I think, this info should be added here:
> http://nb-openjdk.netbeans.org/get-and-build-troubleshooting.html
>
> Now I have the next problem:
>
> Entering directory `C:\Projects\OpenJDK7\jdk\make/java/nio/charset'
> ../../../../make/common/shared/Defs-windows.gmk:471: "WARNING: Value of
> MSVCRNN_DLL_PATH cannot be empty, check or set ALT_MSVCRNN_DLL_PATH"
> ../../../../make/common/shared/Defs-windows.gmk:484: "WARNING: Value of
> DXSDK_PATH cannot be empty, check or set ALT_DXSDK_PATH"
> link: missing operand
> Try `link --help' for more information.
> ../../../../make/common/shared/Compiler-msvc.gmk:129: ***
> COMPILER_VERSION cannot be empty here. Stop.
> C:\Projects\OpenJDK7\jdk\make\netbeans\charset\build.xml:39: The
> following error occurred while executing this line:
> C:\Projects\OpenJDK7\jdk\make\netbeans\common\make.xml:64: exec returned: 2
> BUILD FAILED (total time: 12 seconds)
>
> The problem is, that I don't have Visual Studio 2003 or 2005. I only
> have VS 6 from 1998.
> But I think, there should be a way, to run make without Visual Studio,
> if there are no native sources to compile, but some make generated files.
>
> -Ulf
>
>
>
> Am 07.04.2009 21:41, Dmitri Trembovetski schrieb:
>>
>> I have a .cmd file "nb6.5.1.cmd" which looks something like this:
>> -----
>> @rem set path to cywgin or whatever
>> @set PATH=c:\devtools\cygwin;%PATH%
>> @rem setup VS2003 build env
>> @call C:\devtools\VS2003\Vc7\bin\vcvars32.bat
>> @start C:\DevTools\netbeans6.5.1\bin\netbeans.exe
>> -J-Dnetbeans.winsys.statusLine.in.menuBar=true
>> -----
>>
>> I have a shortcut to this cmd file, with "Run: minimized" set in the
>> Shortcut tab so that I don't see the cmd window when it's launched.
>>
>> Thanks,
>> Dmitri
>>
>>
>> Kelly O'Hair wrote:
>>> Sorry, I won't be much help on this.
>>>
>>> My last experience on Windows, CYGWIN and NetBeans was that you
>>> needed to
>>> start NetBeans from a CYGWIN shell to get NetBeans to have things like
>>> 'uname' in your PATH.
>>>
>>> I don't think you can start NetBeans by double-clicking the icon,
>>> because
>>> it won't pick up the CYGWIN environment properly, but maybe someone more
>>> Windows NetBeans savy can provide some help on this.
>>>
>>> -kto
>>>
>>> Ulf Zibis wrote:
>>>> Hi Kelly,
>>>>
>>>> I have tried to start make from NetBeans using build target, and got
>>>> some errors:
>>>>
>>>> Entering directory `C:\Projects\OpenJDK7\jdk\make/java/nio'
>>>> make: uname: Command not found
>>>> make: logname: Command not found
>>>> ../../common/Defs.gmk:188: ../../../make/common/Defs-.gmk: No such
>>>> file or directory
>>>> make: -p: Command not found
>>>> make: -p: Command not found
>>>> make: +%Y: Command not found
>>>> make: *** No rule to make target `../../../make/common/Defs-.gmk'.
>>>> Stop.
>>>> C:\Projects\OpenJDK7\jdk\make\netbeans\charset\build.xml:39: The
>>>> following error occurred while executing this line:
>>>> C:\Projects\OpenJDK7\jdk\make\netbeans\common\make.xml:61: exec
>>>> returned: 2
>>>> BUILD FAILED (total time: 5 seconds)
>>>>
>>>> Can you please give me some hint, what's going wrong here?
>>>>
>>>> Please see my project files in attachment.
>>>>
>>>> -Ulf
>>>>
>>
>>
>
More information about the nb-projects-dev
mailing list