Hi all, I'm trying to build Wireshark on Windows Enviroment. I have already finished the Wireshark Windows version by using nmake and now I'm going to build Linux version. I have some questions to ask:
So, experts, please help if you have any idea or experience on that? Thank you so much. asked 11 Sep '13, 02:54 hoangsonk49 edited 18 Sep '13, 02:55 |
One Answer:
You can't build a version for Linux on a Windows host OS. None of the correct toolchain, headers and libraries are available. You can install a version of Linux in a VM on your windows host and use that to build the Linux version, but it will use a separate copy of the sources and be built as per the developers guide for a Linux host. answered 11 Sep '13, 03:56 grahamb ♦ Hi grahamb, so does this mean it is impossible to build version for Linux with Ubuntu installed on my Destop? I must install on a server or in a VM, am I right? (11 Sep '13, 04:11) hoangsonk49 I'm not sure i understand "Linux installed on my desktop" If you have Linux installed then in effect it's a Linux dektop and you can build Wireshark following the instructions for a linux system I guess (11 Sep '13, 04:14) Anders ♦ @hoangsonk49 I didn't mention installing Linux as a boot option as I'd thought that sort of thing had died out. Did you install Ubuntu using the Windows installer? If so you now have a dual boot computer with both Windows and Ubuntu. Just boot in to Ubuntu and follow the dev guide for building on Linux. (11 Sep '13, 04:23) grahamb ♦ Yes, I 've just installed Ubuntu as a boot option and I'm going to try. Hope it could be done in this way. Thank you so much, grahamb:) (11 Sep '13, 05:30) hoangsonk49 |
@hoangsonk49 There's no need to edit your question title to add "[SOLVED]". Accepting the appropriate answer by clicking the checkmark does that and indicates to other users that there is a good answer to the question.
@Grahamb, thanks for your suggestion, I will do it that way :-)