Re: [Wireshark-dev] Problems building on Mac OS Yosemite
Just a note pointing out the cmake build won't get fixed unless you tell us what failed. The OSX buildbots are building OK with it. On 5 June 2015 at 05:03, Simon Barber simon.bar...@meraki.net wrote: Thanks - deleting my entire macos-support-libs and restarting did the trick. I had tried to use the setup script a couple of months ago when it was broken, and there was probably something left behind from that. cmake didn't work but configure gets me a working wireshark-gtk. Simon On Mon, Jun 1, 2015 at 7:39 PM, Guy Harris g...@alum.mit.edu wrote: On May 29, 2015, at 11:23 PM, Simon Barber simon.bar...@meraki.net wrote: On May 29, 2015 11:20 PM, Guy Harris g...@alum.mit.edu wrote: On May 29, 2015, at 9:16 PM, Simon Barber simon.bar...@meraki.net wrote: I'm trying to build wireshark out of the git repository, master branch, on my Mac OS Yosemite machine. You've installed XQuartz, right? Yes. xlogo runs OK. What does ls -ld /usr/X11 print? If it prints ls: /usr/X11: No such file or directory then you probably installed XQuartz on a machine running a pre-Yosemite version of OS X, and then upgraded to Yosemite, and the Yosemite installer proceeded to trash your XQuartz installation. Do sudo ln -s /opt/X11 /usr/X11 to fix the XQuartz installation, and then, in your source directory, do rm -rf macosx-support-libs and re-run the macosx-setup.sh script. If ls -ld /usr/X11 doesn't print ls: /usr/X11: No such file or directory, what does ls -l /usr/X11/lib/libcairo.la print? ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe -- Graham Bloice Software Developer Trihedral UK Limited ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Problems building on Mac OS Yosemite
Thanks - deleting my entire macos-support-libs and restarting did the trick. I had tried to use the setup script a couple of months ago when it was broken, and there was probably something left behind from that. cmake didn't work but configure gets me a working wireshark-gtk. Simon On Mon, Jun 1, 2015 at 7:39 PM, Guy Harris g...@alum.mit.edu wrote: On May 29, 2015, at 11:23 PM, Simon Barber simon.bar...@meraki.net wrote: On May 29, 2015 11:20 PM, Guy Harris g...@alum.mit.edu wrote: On May 29, 2015, at 9:16 PM, Simon Barber simon.bar...@meraki.net wrote: I'm trying to build wireshark out of the git repository, master branch, on my Mac OS Yosemite machine. You've installed XQuartz, right? Yes. xlogo runs OK. What does ls -ld /usr/X11 print? If it prints ls: /usr/X11: No such file or directory then you probably installed XQuartz on a machine running a pre-Yosemite version of OS X, and then upgraded to Yosemite, and the Yosemite installer proceeded to trash your XQuartz installation. Do sudo ln -s /opt/X11 /usr/X11 to fix the XQuartz installation, and then, in your source directory, do rm -rf macosx-support-libs and re-run the macosx-setup.sh script. If ls -ld /usr/X11 doesn't print ls: /usr/X11: No such file or directory, what does ls -l /usr/X11/lib/libcairo.la print? ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Problems building on Mac OS Yosemite
On May 29, 2015, at 11:23 PM, Simon Barber simon.bar...@meraki.net wrote: On May 29, 2015 11:20 PM, Guy Harris g...@alum.mit.edu wrote: On May 29, 2015, at 9:16 PM, Simon Barber simon.bar...@meraki.net wrote: I'm trying to build wireshark out of the git repository, master branch, on my Mac OS Yosemite machine. You've installed XQuartz, right? Yes. xlogo runs OK. What does ls -ld /usr/X11 print? If it prints ls: /usr/X11: No such file or directory then you probably installed XQuartz on a machine running a pre-Yosemite version of OS X, and then upgraded to Yosemite, and the Yosemite installer proceeded to trash your XQuartz installation. Do sudo ln -s /opt/X11 /usr/X11 to fix the XQuartz installation, and then, in your source directory, do rm -rf macosx-support-libs and re-run the macosx-setup.sh script. If ls -ld /usr/X11 doesn't print ls: /usr/X11: No such file or directory, what does ls -l /usr/X11/lib/libcairo.la print? ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Problems building on Mac OS Yosemite
Yes. xlogo runs OK. Simon On May 29, 2015 11:20 PM, Guy Harris g...@alum.mit.edu wrote: On May 29, 2015, at 9:16 PM, Simon Barber simon.bar...@meraki.net wrote: I'm trying to build wireshark out of the git repository, master branch, on my Mac OS Yosemite machine. You've installed XQuartz, right? ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Problems building on Mac OS Yosemite
On May 29, 2015, at 9:16 PM, Simon Barber simon.bar...@meraki.net wrote: I'm trying to build wireshark out of the git repository, master branch, on my Mac OS Yosemite machine. You've installed XQuartz, right? ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
[Wireshark-dev] Problems building on Mac OS Yosemite
I'm trying to build wireshark out of the git repository, master branch, on my Mac OS Yosemite machine. The build fails while running the macos-setup script, while building GTK, with: /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in x11 make[4]: Nothing to be done for `all'. Making all in . /bin/sh ../libtool --tag=CC --mode=link gcc -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -mmacosx-version-min=10.10 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -Wall -version-info 2400:17:2400 -export-dynamic -rpath /usr/local/lib -export-symbols-regex ^[^_].* -mmacosx-version-min=10.10 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -o libgdk-x11-2.0.lagdk.lo gdkapplaunchcontext.lo gdkcairo.lo gdkcolor.lo gdkcursor.lo gdkdisplay.lo gdkdisplaymanager.lo gdkdnd.lo gdkdraw.lo gdkevents.lo gdkfont.lo gdkgc.lo gdkglobals.lo gdkimage.lo gdkkeys.lo gdkkeyuni.lo gdkoffscreenwindow.lo gdkpango.lo gdkpixbuf-drawable.lo gdkpixbuf-render.lo gdkpixmap.lo gdkpolyreg-generic.lo gdkrectangle.lo gdkregion-generic.lo gdkrgb.lo gdkscreen.lo gdkselection.lo gdkvisual.lo gdkwindow.lo gdkwindowimpl.lo gdkenumtypes.lo gdkmarshalers.lo x11/libgdk-x11.la -L/usr/local/lib -L/opt/X11/lib -lpangocairo-1.0 -lpango-1.0 -lgio-2.0 -lfontconfig -lfreetype -lXrender -lXinerama -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lX11 -lXext -lm grep: /usr/local/lib/libcairo.la: No such file or directory sed: /usr/local/lib/libcairo.la: No such file or directory libtool: link: `/usr/local/lib/libcairo.la' is not a valid libtool archive make[4]: *** [libgdk-x11-2.0.la] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 If I change the macos-setup script to use GTK3, and update the PNG_VERSION from 1.5.17 to 1.5.22 then the script runs OK, and I can produce a working wireshark binary, but the resulting wireshark-gtk binary segfaults shortly after startup. Anyone run into this? Should the wireshark-gtk binary be working with GTK3? Or does anyone know what magic is needed to get GTK2 to build on Yosemite? Simon ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe