You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/04/02 19:06:46 UTC

[GitHub] [incubator-nuttx] dosadi opened a new issue #5969: NuttX configure.sh crashing

dosadi opened a new issue #5969:
URL: https://github.com/apache/incubator-nuttx/issues/5969


   Hi,
   
   I have a brand new NuttX pull, and when I try to configure it, I see the following error:
   
   $ tools/configure.sh -E qemu-intel64:nsh
   [misc]
   make[1]: Leaving directory '/home/jon/nuttx-test/nuttx'
   Kconfig:2026: can't open file "/Kconfig"
   make: *** [tools/Unix.mk:607: olddefconfig] Error 1
   ERROR: failed to refresh
   


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] dosadi commented on issue #5969: NuttX configure.sh crashing

Posted by GitBox <gi...@apache.org>.
dosadi commented on issue #5969:
URL: https://github.com/apache/incubator-nuttx/issues/5969#issuecomment-1086708109


   Sorry, my bad - I had the apps directory in the wrong spot.  Moving it fixed the problem....


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] patacongo commented on issue #5969: NuttX configure.sh crashing

Posted by GitBox <gi...@apache.org>.
patacongo commented on issue #5969:
URL: https://github.com/apache/incubator-nuttx/issues/5969#issuecomment-1086706947


   The rest of the story is in tools/Unix.mk:
   
   $(Q) APPSDIR=${CONFIG_APPS_DIR} EXTERNALDIR=$(EXTERNALDIR) kconfig-mconf Kconfig
   
   3. Look at your .config file.  What did you select for CONFIG_APPS_DIR.  configure.sh will look for the apps/ directory and try to locate it for you, but possibly it did not find it.
   


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] patacongo commented on issue #5969: NuttX configure.sh crashing

Posted by GitBox <gi...@apache.org>.
patacongo commented on issue #5969:
URL: https://github.com/apache/incubator-nuttx/issues/5969#issuecomment-1086705838


   Two tips:
   
   1. Do `sh -x tools/configure.sh -E qemu-intel64:nsh' to see what is going on.
   2. Look at line 2026 of Kconfig:
   
   2026 source "$APPSDIR/Kconfig"
   
   CONCLUSION:  $APPSDIR is not defined.
   
   Also in Kconfig:
   
      8 config APPSDIR
      9         string
     10         option env="APPSDIR"
   
   
   


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] patacongo edited a comment on issue #5969: NuttX configure.sh crashing

Posted by GitBox <gi...@apache.org>.
patacongo edited a comment on issue #5969:
URL: https://github.com/apache/incubator-nuttx/issues/5969#issuecomment-1086705838


   Two tips:
   
   1. Do `sh -x tools/configure.sh -E qemu-intel64:nsh' to see what is going on.
   2. Look at line 2026 of Kconfig:
   
   `2026 source "$APPSDIR/Kconfig"`
   
   CONCLUSION:  $APPSDIR is not defined.
   
   Also in Kconfig:
   
   ```
      8 config APPSDIR
      9         string
     10         option env="APPSDIR"
   ```
   
   
   


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] patacongo edited a comment on issue #5969: NuttX configure.sh crashing

Posted by GitBox <gi...@apache.org>.
patacongo edited a comment on issue #5969:
URL: https://github.com/apache/incubator-nuttx/issues/5969#issuecomment-1086706947


   The rest of the story is in tools/Unix.mk:
   
   `$(Q) APPSDIR=${CONFIG_APPS_DIR} EXTERNALDIR=$(EXTERNALDIR) kconfig-mconf Kconfig`
   
   3. Look at your .config file.  What did you select for CONFIG_APPS_DIR.  configure.sh will look for the apps/ directory and try to locate it for you, but possibly it did not find it.
   


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] patacongo removed a comment on issue #5969: NuttX configure.sh crashing

Posted by GitBox <gi...@apache.org>.
patacongo removed a comment on issue #5969:
URL: https://github.com/apache/incubator-nuttx/issues/5969#issuecomment-1086706947


   The rest of the story is in tools/Unix.mk:
   
   `$(Q) APPSDIR=${CONFIG_APPS_DIR} EXTERNALDIR=$(EXTERNALDIR) kconfig-mconf Kconfig`
   
   3. Look at your .config file.  What did you select for CONFIG_APPS_DIR.  configure.sh will look for the apps/ directory and try to locate it for you, but possibly it did not find it.
   
   If you have the apps/ dir in a weird location you will have to help out configure.sh with ` -a <app-dir> is the path to the apps/ directory, relative to the nuttx directory`
   


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] dosadi closed issue #5969: NuttX configure.sh crashing

Posted by GitBox <gi...@apache.org>.
dosadi closed issue #5969:
URL: https://github.com/apache/incubator-nuttx/issues/5969


   


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] patacongo edited a comment on issue #5969: NuttX configure.sh crashing

Posted by GitBox <gi...@apache.org>.
patacongo edited a comment on issue #5969:
URL: https://github.com/apache/incubator-nuttx/issues/5969#issuecomment-1086705838


   Two tips:
   
   1. Do `sh -x tools/configure.sh -E qemu-intel64:nsh' to see what is going on.
   2. Look at line 2026 of Kconfig:
   
   `2026 source "$APPSDIR/Kconfig"`
   
   CONCLUSION:  $APPSDIR is not defined.
   
   Also in Kconfig:
   
   ```
      8 config APPSDIR
      9         string
     10         option env="APPSDIR"
   ```
   The rest of the story is in tools/Unix.mk:
   
   `$(Q) APPSDIR=${CONFIG_APPS_DIR} EXTERNALDIR=$(EXTERNALDIR) kconfig-mconf Kconfig`
   
   3. Look at your .config file.  What did you select for CONFIG_APPS_DIR.  configure.sh will look for the apps/ directory and try to locate it for you, but possibly it did not find it.
   
   If you have the apps/ dir in a weird location you will have to help out configure.sh with ` -a <app-dir> is the path to the apps/ directory, relative to the nuttx directory`
   
   
   


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] patacongo edited a comment on issue #5969: NuttX configure.sh crashing

Posted by GitBox <gi...@apache.org>.
patacongo edited a comment on issue #5969:
URL: https://github.com/apache/incubator-nuttx/issues/5969#issuecomment-1086706947


   The rest of the story is in tools/Unix.mk:
   
   `$(Q) APPSDIR=${CONFIG_APPS_DIR} EXTERNALDIR=$(EXTERNALDIR) kconfig-mconf Kconfig`
   
   3. Look at your .config file.  What did you select for CONFIG_APPS_DIR.  configure.sh will look for the apps/ directory and try to locate it for you, but possibly it did not find it.
   
   If you have the apps/ dir in a weird location you will have to help out configure.sh with ` -a <app-dir> is the path to the apps/ directory, relative to the nuttx directory`
   


-- 
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: commits-unsubscribe@nuttx.apache.org

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