#17644: Revisited: wireshark: unable to build under Mac OS X 10.5.5 Leopard ----------------------------------+----------------------------------------- Reporter: p.de.haan2@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: wireshark gtk2 | Port: ----------------------------------+----------------------------------------- As with ticket 13012 For both wireshark 1.04 and 1.05, its true they won't run.[[BR]] Port install fails at GTK.[[BR]] Even starting from scratch, deleting the whole /opt, reinstalling macports 1.6.0 and rebuilding from scratch fails.[[BR]] (btw: this takes ages... ;-))[[BR]] [[BR]] Although the port registry in Porticus seems to be fully unaware of the status of things after a failed gtk2 build... on the cli it appears to be:[[BR]]
$ port list active[[BR]] atk @1.24.0 devel/atk[[BR]] cairo @1.8.4 graphics/cairo[[BR]] expat @2.0.1 textproc/expat[[BR]] fontconfig @2.6.0 graphics/fontconfig[[BR]] freetype @2.3.7 print/freetype[[BR]] gettext @0.17 devel/gettext[[BR]] glib2 @2.18.3 devel/glib2[[BR]] gnome-common @2.24.0 gnome/gnome-common[[BR]] gperf @3.0.3 devel/gperf[[BR]] intltool @0.40.5 textproc/intltool[[BR]] jasper @1.900.1 graphics/jasper[[BR]] jpeg @6b graphics/jpeg[[BR]] libiconv @1.12 textproc/libiconv[[BR]] libpixman @0.12.0 graphics/libpixman[[BR]] libpng @1.2.33 graphics/libpng[[BR]] libxml2 @2.7.2 textproc/libxml2[[BR]] ncurses @5.7 devel/ncurses[[BR]] ncursesw @5.7 devel/ncursesw[[BR]] p5-xml-parser @2.36 perl/p5-xml-parser[[BR]] pango @1.22.3 x11/pango[[BR]] perl5 @5.8.8 lang/perl5[[BR]] perl5.8 @5.8.8 lang/perl5.8[[BR]] pkgconfig @0.23 devel/pkgconfig[[BR]] shared-mime-info @0.51 devel/shared-mime- info[[BR]] tiff @3.8.2 graphics/tiff[[BR]] zlib @1.2.3 archivers/zlib[[BR]] [[BR]] After removing pango, it rebuilds correctly. No extra options given and no errors.[[BR]] [[BR]] Having fixed where gtk2 complained about pango, it's time to try gtk2 again.[[BR]] [[BR]] $ sudo port install gtk2[[BR]] ---> Fetching gtk2[[BR]] ---> Verifying checksum(s) for gtk2[[BR]] ---> Extracting gtk2[[BR]] ---> Applying patches to gtk2[[BR]] ---> Configuring gtk2[[BR]] ---> Building gtk2 with target all[[BR]] Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.14.5" && make all " returned error 2[[BR]] ....[[BR]] ....[[BR]] i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No such file or directory[[BR]] make[4]: *** [libgdk-x11-2.0.la] Error 1[[BR]] make[3]: *** [all-recursive] Error 1[[BR]] make[2]: *** [all] Error 2[[BR]] make[1]: *** [all-recursive] Error 1[[BR]] make: *** [all] Error 2[[BR]] [[BR]] Error: Status 1 encountered during processing. [[BR]] <sigh>[[BR]] [[BR]] [[BR]] Trying to install tiff, leads to reinstall jpeg, leads to reinstall zlib.... [[BR]] (freaking dependencies deja-vu all over again :-( )[[BR]] [[BR]] Again back at $ sudo port install gtk2 +darwin_8 +darwin_7 +universal[[BR]] comes back with.... another error!![[BR]]
Attempt next...[[BR]]
$ sudo port install gtk2 +darwin_8 +darwin_7 +universal --without- libtiff[[BR]] .....[[BR]] configure: WARNING: *** TIFF loader will not be built (TIFF library not found) ***[[BR]] configure: error:[[BR]] *** Checks for TIFF loader failed. You can build without it by passing[[BR]] *** --without-libtiff to configure but some programs using GTK+ may[[BR]] *** not work properly[[BR]] [[BR]] Error: Status 1 encountered during processing.[[BR]] [[BR]] [[BR]] configure: error:[[BR]] *** Checks for JPEG2000 loader failed. You can build without it by passing[[BR]] *** --without-libjasper to configure[[BR]] [[BR]] So, try that part again...[[BR]] $ sudo port install jasper +universal[[BR]] Which then goes through without errors..[[BR]] [[BR]] Back at...:[[BR]] $ sudo port install gtk2 +darwin_8 +darwin_7 +universal[[BR]] [[BR]] which end in the error:[[BR]] configure: error:[[BR]] *** Can't link to Pango. Pango is required to build[[BR]] *** GTK+. For more information see http://www.pango.org[[BR]] [[BR]] ......!@#$%^&*!*!$$%!%[[BR]] BUT I ALREADY RE-INSTALLED PANGO!![[BR]] AND IT'S ACTIVE IN THE LIST!!![[BR]] [[BR]] Tell me again how much I should love all dependencies...![[BR]] [[BR]] Bottom-line; anyone who has the golden tip to get Wireshark install properly? Please, please, pretty please![[BR]] regards,[[BR]] Paul[[BR]]
-- Ticket URL: <http://trac.macports.org/ticket/17644> MacPorts <http://www.macports.org/> Ports system for Mac OS