I am unable to build wireshark from the released source. I found a few references to this error but none were resolved. The source is version 1.4.4. Please help. A verify tools command generates the following:
Here's the error generated from "nmake -f Makefile.nmake all"
asked 15 Dec '11, 09:25 simply_blue |
2 Answers:
Try putting your Cygwin first in your Windows PATH before calling
answered 15 Dec '11, 15:31 helloworld |
Something wrong with your path ? answered 15 Dec '11, 09:51 Bill Meier ♦♦ edited 15 Dec '11, 09:55 That directory is included in the path. I can use sed from the command line (cmd.exe not bash) successfully with other commands. Would it help if I tried to point it to a local install instead of the network drive? http://seclists.org/wireshark/2010/Dec/5 This guy had the same error with /usr/bin/sed (15 Dec '11, 10:28) simply_blue
Yes Your bash (not cmd) path is somehow setup so that the weird sed is found first when looking for sed. (I'm assuming that the GARMIN/sed is something "not sed"). What is your path from the Bash prompt ? (15 Dec '11, 10:33) Bill Meier ♦♦ The path from cmd/bash differs only by /usr/local/bin:/usr/bin: being included at the beginning of the bash path. The network drive is included in both. My understanding, from the developer's guide, is that commands like "nmake -f Makefile.nmake all" should be run from cmd not bash. Which path would the tool verification command use? Is it possible to remove the X drive from the path used by bash but not the cmd path? (15 Dec '11, 12:37) simply_blue 1 That sounds like the network drive is in your windows path which is then being picked up by bash. You'll need to fix the path being used in your cmd prompt before calling nmake. (15 Dec '11, 12:54) grahamb ♦ |
That seems to have resolved this issue. Thanks! (although, now the build stops at a linking stage)
Also for anyone else who hits this issue, you want to set cygwin at the beginning of the path before you run vcvars32.bat
I think this question can be closed but I'm too new to do so.
@simply_blue if this suggestion fixed your problem, you can mark it as the accepted answer by clicking the checkmark outline underneath the voting buttons. This will mark the question as resolved. There is no need to close the question, as the Q&A format works differently from a forum.
@multipleinterfaces Thanks I was trying to figure out how to do so but i figured I didn't have enough karma yet.