I am building sources of wireshark on Windows7, and I can't find bash which can execute on the window7. Although i find the sources of bash offered in http://www.gnu.org/s/bash/ on Windows7, I cannot install it. The reason that there is no program required for installing in windows7 like gcc and make. So I lost direction, Please, give me the direction. asked 21 Aug '11, 07:35 one step |
2 Answers:
Have you read and followed the step-by-step guide for Windows development found HERE? Bash (among other required tools) is provided by Cygwin which is a prerequisite for a Windows build. answered 21 Aug '11, 09:41 grahamb ♦ |
Solution: The solution is that add the cygwin's bin folder to environmental variables of window answered 22 Aug '11, 19:55 one step I think that's normally part of the Cygwin install. (22 Aug '11, 23:52) grahamb ♦ @grahamb: Actually, it's not. (23 Aug '11, 04:47) bstn I was wrong, confirmed with a Cygwin install on XP SP3. I can't remember having done this on numerous Wireshark build installations I've done over the years. The dev guide should be updated to mention this step. (23 Aug '11, 05:32) grahamb ♦ You don't have to, since it's added to PATH from config.nmake. But the size of your environment may be too restricted to expand with the relevant information. (23 Aug '11, 05:53) Jaap ♦ Duh, not a good day for me. That's why I've never bothered to do it. (23 Aug '11, 07:18) grahamb ♦ |
They says "do not use cygwin, use cmd.exe". So, I'm confused.
Thank you for your answer. Have a nice day!
Is there other Bash on windows7 which is not cygwin's bash.
There is, but, as far as I know, nobody has tried building Wireshark without Cygwin and with that version of bash; the Wireshark core team does not make any guarantee that it'll work. Note that the Wireshark build process on Windows requires more UNIX-derived tools than just a Bourne-compatible shell, so a Windows port of bash is not sufficient. (That's what "(among other required tools)" means.)
As for "do not use cygwin, use cmd.exe", that means that the command prompt at which you should type the nmake command is the cmd.exe prompt; however, there are Bourne-shell scripts and commands in the build process, so you still need bash.