Wireshark fails to complete install at gtk2
Hello, Trying to get wireshark installed, and it looked good until the install script got to the gtk2 installation. (G5 powerpc, OS X 10.5.1, MacPorts 1.520) Here's the install output: [g5:~/downloads] jess% sudo port install wireshark ---> Extracting expat ---> Configuring expat ---> Building expat with target all ---> Staging expat into destroot ---> Installing expat 2.0.1_0 ---> Activating expat 2.0.1_0 ---> Cleaning expat ---> Fetching libiconv ---> Attempting to fetch libiconv-1.12.tar.gz from http://ftp.gnu.org/gnu/libiconv ---> Verifying checksum(s) for libiconv ---> Extracting libiconv ---> Applying patches to libiconv ---> Configuring libiconv ---> Building libiconv with target all ---> Staging libiconv into destroot ---> Installing libiconv 1.12_0 ---> Activating libiconv 1.12_0 ---> Cleaning libiconv ---> Fetching gettext ---> Attempting to fetch gettext-0.17.tar.gz from http://ftp.gnu.org/gnu/gettext ---> Verifying checksum(s) for gettext ---> Extracting gettext ---> Applying patches to gettext ---> Configuring gettext ---> Building gettext with target all ---> Staging gettext into destroot ---> Installing gettext 0.17_1 ---> Activating gettext 0.17_1 ---> Cleaning gettext ---> Fetching pkgconfig ---> Attempting to fetch pkg-config-0.22.tar.gz from http://mirror.opensysadmin.com/pkg-config/ ---> Verifying checksum(s) for pkgconfig ---> Extracting pkgconfig ---> Configuring pkgconfig ---> Building pkgconfig with target all ---> Staging pkgconfig into destroot ---> Installing pkgconfig 0.22_0 ---> Activating pkgconfig 0.22_0 ---> Cleaning pkgconfig ---> Fetching glib2 ---> Attempting to fetch glib-2.14.4.tar.bz2 from ftp://ftp.gtk.org/pub/glib/2.14/ ---> Verifying checksum(s) for glib2 ---> Extracting glib2 ---> Applying patches to glib2 ---> Configuring glib2 ---> Building glib2 with target all ---> Staging glib2 into destroot ---> Installing glib2 2.14.4_1+darwin_9 ---> Activating glib2 2.14.4_1+darwin_9 ---> Cleaning glib2 ---> Fetching atk ---> Attempting to fetch atk-1.20.0.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/atk/1.20/ ---> Verifying checksum(s) for atk ---> Extracting atk ---> Configuring atk ---> Building atk with target all ---> Staging atk into destroot ---> Installing atk 1.20.0_1 ---> Activating atk 1.20.0_1 ---> Cleaning atk ---> Fetching zlib ---> Attempting to fetch zlib-1.2.3.tar.bz2 from http://www.zlib.net/ ---> Verifying checksum(s) for zlib ---> Extracting zlib ---> Applying patches to zlib ---> Configuring zlib ---> Building zlib with target all ---> Staging zlib into destroot ---> Installing zlib 1.2.3_1 ---> Activating zlib 1.2.3_1 ---> Cleaning zlib ---> Fetching freetype ---> Attempting to fetch freetype-2.3.5.tar.bz2 from http://download.savannah.gnu.org/releases/freetype/ ---> Verifying checksum(s) for freetype ---> Extracting freetype ---> Applying patches to freetype ---> Configuring freetype ---> Building freetype with target all ---> Staging freetype into destroot ---> Installing freetype 2.3.5_1 ---> Activating freetype 2.3.5_1 ---> Cleaning freetype ---> Fetching fontconfig ---> Attempting to fetch fontconfig-2.5.0.tar.gz from http://fontconfig.org/release/ ---> Verifying checksum(s) for fontconfig ---> Extracting fontconfig ---> Configuring fontconfig ---> Building fontconfig with target all ---> Staging fontconfig into destroot ---> Installing fontconfig 2.5.0_0+macosx ---> Activating fontconfig 2.5.0_0+macosx ---> Cleaning fontconfig ---> Fetching libpng ---> Attempting to fetch libpng-1.2.23.tar.bz2 from http://downloads.sourceforge.net/libpng ---> Verifying checksum(s) for libpng ---> Extracting libpng ---> Configuring libpng ---> Building libpng with target all ---> Staging libpng into destroot ---> Installing libpng 1.2.23_0 ---> Activating libpng 1.2.23_0 ---> Cleaning libpng ---> Fetching render ---> Attempting to fetch renderext-0.9.tar.bz2 from http://xlibs.freedesktop.org/release/ ---> Verifying checksum(s) for render ---> Extracting render ---> Configuring render ---> Building render with target all ---> Staging render into destroot ---> Installing render 0.9_1 ---> Activating render 0.9_1 ---> Cleaning render ---> Fetching xrender ---> Attempting to fetch libXrender-0.9.0.tar.bz2 from http://xlibs.freedesktop.org/release/ ---> Verifying checksum(s) for xrender ---> Extracting xrender ---> Configuring xrender ---> Building xrender with target all ---> Staging xrender into destroot ---> Installing xrender 0.9.0_1 ---> Activating xrender 0.9.0_1 ---> Cleaning xrender ---> Fetching cairo ---> Attempting to fetch cairo-1.4.12.tar.gz from http://cairographics.org/releases/ ---> Verifying checksum(s) for cairo ---> Extracting cairo ---> Configuring cairo ---> Building cairo with target all ---> Staging cairo into destroot ---> Installing cairo 1.4.12_0 ---> Activating cairo 1.4.12_0 ---> Cleaning cairo ---> Fetching jpeg ---> Attempting to fetch jpegsrc.v6b.tar.gz from http://www.ijg.org/files ---> Attempting to fetch droppatch.tar.gz from http://sylvana.net/jpegcrop/ ---> Verifying checksum(s) for jpeg ---> Extracting jpeg ---> Applying patches to jpeg ---> Configuring jpeg ---> Building jpeg with target all ---> Staging jpeg into destroot ---> Installing jpeg 6b_2 ---> Activating jpeg 6b_2 ---> Cleaning jpeg ---> Fetching xorg-util-macros ---> Attempting to fetch util-macros-1.1.5.tar.bz2 from http://www.x.org/pub/individual/util/ ---> Verifying checksum(s) for xorg-util-macros ---> Extracting xorg-util-macros ---> Configuring xorg-util-macros ---> Building xorg-util-macros with target all ---> Staging xorg-util-macros into destroot ---> Installing xorg-util-macros 1.1.5_0 ---> Activating xorg-util-macros 1.1.5_0 ---> Cleaning xorg-util-macros ---> Fetching xorg-xproto ---> Attempting to fetch xproto-7.0.11.tar.bz2 from http://www.x.org/pub/individual/proto/ ---> Verifying checksum(s) for xorg-xproto ---> Extracting xorg-xproto ---> Applying patches to xorg-xproto ---> Configuring xorg-xproto ---> Building xorg-xproto with target all ---> Staging xorg-xproto into destroot ---> Installing xorg-xproto 7.0.11_1 ---> Activating xorg-xproto 7.0.11_1 ---> Cleaning xorg-xproto ---> Fetching Xft2 ---> Attempting to fetch libXft-2.1.12.tar.bz2 from http://xorg.freedesktop.org/releases/individual/lib/ ---> Verifying checksum(s) for Xft2 ---> Extracting Xft2 ---> Configuring Xft2 ---> Building Xft2 with target all ---> Staging Xft2 into destroot ---> Installing Xft2 2.1.12_0 ---> Activating Xft2 2.1.12_0 ---> Cleaning Xft2 ---> Fetching pango ---> Attempting to fetch pango-1.18.3.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/pango/1.18 ---> Verifying checksum(s) for pango ---> Extracting pango ---> Applying patches to pango ---> Configuring pango ---> Building pango with target all ---> Staging pango into destroot ---> Installing pango 1.18.3_0 ---> Activating pango 1.18.3_0 ---> Cleaning pango ---> Fetching tiff ---> Attempting to fetch tiff-3.8.2.tar.gz from ftp://ftp.remotesensing.org/pub/libtiff/ ---> Verifying checksum(s) for tiff ---> Extracting tiff ---> Configuring tiff ---> Building tiff with target all ---> Staging tiff into destroot ---> Installing tiff 3.8.2_1+macosx ---> Activating tiff 3.8.2_1+macosx ---> Cleaning tiff ---> Fetching gtk2 Error: Target org.macports.fetch returned: You must install gtk2 with either the +quartz or +x11 variant specified. Error: The following dependencies failed to build: gtk2 libpcap openssl Error: Status 1 encountered during processing. Does anyone know what to do next? Jesse
On Dec 1, 2007, at 15:25, Jesse Ohlsson wrote:
Hello,
Trying to get wireshark installed, and it looked good until the install script got to the gtk2 installation.
(G5 powerpc, OS X 10.5.1, MacPorts 1.520)
Here's the install output:
<snip>
---> Fetching gtk2 Error: Target org.macports.fetch returned: You must install gtk2 with either the +quartz or +x11 variant specified.
Error: The following dependencies failed to build: gtk2 libpcap openssl Error: Status 1 encountered during processing.
Does anyone know what to do next?
Try this in order (I bumped into this same issue and did the following): sudo port -Rv install gtk2 +x11 sudo port -Rv install libpcap sudo port -Rv install openssl sudo port -Rv install wireshark I read in a discussion thread dated in March 2007 while Googling for the search terms "gtk2 quartz" that the quartz variant was unusable at that time. So, since Wireshark has an X11 front-end, I figured I might as well go with the x11 variant of gtk2... Seems to work for me (I now have a seemingly functional Wireshark) although I'm still on Tiger (10.4.11). YMMV. -- Reality Artisans, Inc. # Network Wrangling and System Delousing P.O. Box 565, Gracie Station # Apple Certified Help Desk Specialist New York, NY 10028-0019 # Apple Consultants Network member <http://www.realityartisans.com> # Apple Developer Connection member (212) 369-4876 (Voice) # (212) 860-4325 (Fax) PGP Fingerprint: 77B3 D1E9 D24B 4FA9 9606 6C8D 62E4 2E4A 6FDD 9FD5
Kok-Yong Tan wrote:
On Dec 1, 2007, at 15:25, Jesse Ohlsson wrote:
Hello,
Trying to get wireshark installed, and it looked good until the install script got to the gtk2 installation.
(G5 powerpc, OS X 10.5.1, MacPorts 1.520)
Here's the install output:
<snip>
---> Fetching gtk2 Error: Target org.macports.fetch returned: You must install gtk2 with either the +quartz or +x11 variant specified.
Error: The following dependencies failed to build: gtk2 libpcap openssl Error: Status 1 encountered during processing.
Does anyone know what to do next?
Try this in order (I bumped into this same issue and did the following):
sudo port -Rv install gtk2 +x11 sudo port -Rv install libpcap sudo port -Rv install openssl sudo port -Rv install wireshark
I skipped that mysef, just uninstalled gtk2, and then installed it with the +x11 variant. Got my new Macbook yesterday, I've been going slightly crazy getting everything the way I want it. Does anyone know if the Quartz build works as well? -- Jay
Although I don't use wireshark (and therefor can't evaluate if it works) I did build it with quartz and have run it without crashes.
They might have fixed the quartz stability since March 2007. But I'm confused: Why would you bother building something if you weren't going to use it? On Dec 1, 2007, at 21:13, Randall Wood wrote:
Although I don't use wireshark (and therefor can't evaluate if it works) I did build it with quartz and have run it without crashes.
-- Reality Artisans, Inc. # Network Wrangling and System Delousing P.O. Box 565, Gracie Station # Apple Certified Help Desk Specialist New York, NY 10028-0019 # Apple Consultants Network member <http://www.realityartisans.com> # Apple Developer Connection member (212) 369-4876 (Voice) # (212) 860-4325 (Fax) PGP Fingerprint: 77B3 D1E9 D24B 4FA9 9606 6C8D 62E4 2E4A 6FDD 9FD5
All, I installed gtk2 +quartz without problem: g5:~] jess% sudo port install gtk2 +quartz Password: ---> Fetching gtk2 ---> Attempting to fetch gtk+-2.12.1.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/gtk+/2.12/ ---> Verifying checksum(s) for gtk2 ---> Extracting gtk2 ---> Configuring gtk2 ---> Building gtk2 with target all ---> Staging gtk2 into destroot ---> Installing gtk2 2.12.1_0+quartz ---> Activating gtk2 2.12.1_0+quartz ---> Cleaning gtk2 Then, installed wireshark: [g5:~] jess% sudo port install wireshark Password: ---> Fetching libpcap ---> Attempting to fetch libpcap-0.9.5.tar.gz from http://svn.macports.org/repository/macports/distfiles/libpcap ---> Verifying checksum(s) for libpcap ---> Extracting libpcap ---> Applying patches to libpcap ---> Configuring libpcap ---> Building libpcap with target all ---> Staging libpcap into destroot ---> Installing libpcap 0.9.5_1 ---> Activating libpcap 0.9.5_1 ---> Cleaning libpcap ---> Fetching openssl ---> Attempting to fetch openssl-0.9.8g.tar.gz from http://www.openssl.org/source/ ---> Verifying checksum(s) for openssl ---> Extracting openssl ---> Applying patches to openssl ---> Configuring openssl ---> Building openssl with target all ---> Staging openssl into destroot ---> Installing openssl 0.9.8g_0 ---> Activating openssl 0.9.8g_0 ---> Cleaning openssl ---> Fetching wireshark ---> Attempting to fetch wireshark-0.99.6.tar.bz2 from http://www.wireshark.org/download/src/ ---> Verifying checksum(s) for wireshark ---> Extracting wireshark ---> Configuring wireshark ---> Building wireshark with target all ---> Staging wireshark into destroot ---> Installing wireshark 0.99.6_0+darwin_9 ---> Activating wireshark 0.99.6_0+darwin_9 ---> Cleaning wireshark All looks good to this point. Except, this is the error log, and the GUI has no text in it! Aaarrgh! g5:/opt/local/bin] jess% /opt/local/bin/wireshark Sun Dec 2 11:11:13 g5.local wireshark[61786] <Error>: CGBitmapContextGetBitsPerPixel: invalid context Sun Dec 2 11:11:13 g5.local wireshark[61786] <Error>: CGBitmapContextGetBitsPerPixel: invalid context Sun Dec 2 11:11:14 g5.local wireshark[61786] <Error>: CGBitmapContextGetBitsPerPixel: invalid context 2007-12-02 11:11:14.015 wireshark[61786:807] *** _NSAutoreleaseNoPool(): Object 0x337d290 of class NSConcreteMutableData autoreleased with no pool in place - just leaking Stack: (0x94a61178 0x9498f0f8 0x925bf9e8 0x925bec98 0x925bd200 0x925b9700 0x8b4450 0x8b44a4 0x6b5bd4 0x2e80964 0x2e9581c 0x2e96b6c 0x2e97000 0x4a7494 0x873b14 0x30f9c90 0x30fe834 0x30fed94 0x54e7a4 0x14e54 0x1506c 0x48208 0x2164) Sun Dec 2 11:11:14 g5.local wireshark[61786] <Error>: CGBitmapContextGetBitsPerPixel: invalid context Sun Dec 2 11:11:14 g5.local wireshark[61786] <Error>: CGBitmapContextGetBitsPerPixel: invalid context Sun Dec 2 11:11:14 g5.local wireshark[61786] <Error>: CGBitmapContextGetBitsPerPixel: invalid context Sun Dec 2 11:11:14 g5.local wireshark[61786] <Error>: CGBitmapContextGetBitsPerPixel: invalid context and those CGBitmap errors continue ad infinitum... The application looks like this: http://www.ohlssons.be/~jess/Sites-Images/wireshark.jpg and this: http://www.ohlssons.be/~jess/Sites-Images/wireshark2.jpg I think I'm close to getting this working, but sure are running into a lot of problems along the way... Does anyone have any ideas how to proceed from here? Thank you. Jesse On Dec 1, 2007, at 10:32 PM, Kok-Yong Tan wrote:
On Dec 1, 2007, at 15:25, Jesse Ohlsson wrote:
Hello,
Trying to get wireshark installed, and it looked good until the install script got to the gtk2 installation.
(G5 powerpc, OS X 10.5.1, MacPorts 1.520)
Here's the install output:
<snip>
---> Fetching gtk2 Error: Target org.macports.fetch returned: You must install gtk2 with either the +quartz or +x11 variant specified.
Error: The following dependencies failed to build: gtk2 libpcap openssl Error: Status 1 encountered during processing.
Does anyone know what to do next?
Try this in order (I bumped into this same issue and did the following):
sudo port -Rv install gtk2 +x11 sudo port -Rv install libpcap sudo port -Rv install openssl sudo port -Rv install wireshark
I read in a discussion thread dated in March 2007 while Googling for the search terms "gtk2 quartz" that the quartz variant was unusable at that time. So, since Wireshark has an X11 front-end, I figured I might as well go with the x11 variant of gtk2... Seems to work for me (I now have a seemingly functional Wireshark) although I'm still on Tiger (10.4.11). YMMV. -- Reality Artisans, Inc. # Network Wrangling and System Delousing P.O. Box 565, Gracie Station # Apple Certified Help Desk Specialist New York, NY 10028-0019 # Apple Consultants Network member <http://www.realityartisans.com> # Apple Developer Connection member (212) 369-4876 (Voice) # (212) 860-4325 (Fax) PGP Fingerprint: 77B3 D1E9 D24B 4FA9 9606 6C8D 62E4 2E4A 6FDD 9FD5
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
participants (4)
-
Jay Chandler
-
Jesse Ohlsson
-
Kok-Yong Tan
-
Randall Wood