You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/11/06 07:40:35 UTC

[GitHub] [netbeans] mayd opened a new issue, #4926: Shell not found error.

mayd opened a new issue, #4926:
URL: https://github.com/apache/netbeans/issues/4926

   ### Apache NetBeans version
   
   Apache NetBeans 15
   
   ### What happened
   
   I installed NetBeans and JDK for Windows. 
   
   Then I installed and configured the build tools for the MSYS2 64 bit MINGW C++ toolchain.
   
   I created a C++ project from the supplied template CppApplication_1. 
   
   Building this C++ project failed.  I also tried building an existing MSYS2 C++ project, which also failed.
   
   In both cases an error dialog box was displayed stating that no shell was found.
   
   
   ### How to reproduce
   
   Install NetBeans 15 and Oracle JDK 8 for Windows 11 and plugins for C++ programming, MSYS2 64 bit MINGW C++ toolchain.
   Create a C++ project using the default template CppApplication.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 11 Insider Build
   
   ### JDK
   
   Oracle JDK version 8, update 351
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   I configured the Windows environment variables in the System control panel to add the directory
   C:\msys64\usr\bin to the PATH variable, since the MSYS2 Bourne and Bash shells are installed in that directory.
   
   After this change both C++ projects were built successfully.
   
   This problem could be eliminated if the shell could set in Netbeans configuration of the C++ build tools,
   as is done with the setting of the location of the Make executable.
   
   Also obtaining the location of the shell from the Windows environment PATH variable is inherently unreliable.
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] mayd closed issue #4926: Shell not found error.

Posted by GitBox <gi...@apache.org>.
mayd closed issue #4926: Shell not found error.
URL: https://github.com/apache/netbeans/issues/4926


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] mayd commented on issue #4926: Shell not found error.

Posted by GitBox <gi...@apache.org>.
mayd commented on issue #4926:
URL: https://github.com/apache/netbeans/issues/4926#issuecomment-1304741715

   Looks like Netbeans dos not support MSYS2.  When I tried to debug a project Netbeans complained about missing Cygwin.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists