Here is what I had to do to get Wireshark 1.8.4 (latest as of December 20, 2012) running on Mountain Lion. I was able to start wireshark without any prompts or changing X11 settings. Your build will fail at a few warnings in version_info.c about Gestalt being deprecated, which I resolved by hard-coding the values to match 10.8.0. I have several MacPorts libraries installed, including xorg-libX11 (seems to play fine with XQuartz). I don't think building it is necessary, but FYI. Side noteīefore I tried step 3-6 above, I built wireshark (SVN 44057) on my machine and ran it with XQuartz. That is, it automatically opens XQuartz (if not already open), followed by the Wireshark application. Do the same for the XQuartz icon.Īt this point, the link to X11 should be setup properly so that opening /Applications/Wireshark.app works as it did in Lion. Right-click the Wireshark icon, and choose Quit.This appears to do nothing other than show the XQuartz icon in the dock and open xterm. From the picker dialog, click Browse button, and choose /Applications/Utilities/XQuartz.app.Open /Applications/Wireshark.app, which shows the Wireshark icon in the dock and a picker dialog, titled Where is X11?, listing the apps from /Applications.Install Wireshark, using the installer from.This will change X11.app to /Applications/Utilities/XQuartz.app. Open /Applications/Utilities/X11.app, which prompts you to install X11 (the Install button actually opens a web page that tells you to install Xquartz).I managed to get it to work as it did in Lion (without changing any X11 settings). (wireshark-bin:7287): Gtk-WARNING **: cannot open display:Īnd retry launching /Applications/Wireshark.app/Contents/MacOS/Wireshark. With Xquartz running, and from a Terminal (not xterm) I run: /Applications/Wireshark.app/Contents/MacOS/Wireshark it produces the following: (process:7287): Gtk-WARNING **: Locale not supported by C library. However, there might also be a DISPLAY issue as well. I believe you're right that apps are not doing the Launch-on-demand for XQuartz. If Xquartz is not running, i get xterm: Xt error: Can't open display: If Xquartz is running, and I double click the wireshark icon, nothing happens. voila! At least on my 2009 MBP with Wireshark 1.8.1 and ML installed as an upgrade from Lion. Type: open /Applications/Wireshark.app/Įt.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |