All,I installed gtk2 +quartz without problem:g5:~] jess% sudo port install gtk2 +quartzPassword:---> 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 gtk2All 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/wiresharkSun Dec 2 11:11:13 g5.local wireshark[61786] <Error>: CGBitmapContextGetBitsPerPixel: invalid contextSun Dec 2 11:11:13 g5.local wireshark[61786] <Error>: CGBitmapContextGetBitsPerPixel: invalid contextSun Dec 2 11:11:14 g5.local wireshark[61786] <Error>: CGBitmapContextGetBitsPerPixel: invalid context2007-12-02 11:11:14.015 wireshark[61786:807] *** _NSAutoreleaseNoPool(): Object 0x337d290 of class NSConcreteMutableData autoreleased with no pool in place - just leakingStack: (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 contextSun Dec 2 11:11:14 g5.local wireshark[61786] <Error>: CGBitmapContextGetBitsPerPixel: invalid contextSun Dec 2 11:11:14 g5.local wireshark[61786] <Error>: CGBitmapContextGetBitsPerPixel: invalid contextSun Dec 2 11:11:14 g5.local wireshark[61786] <Error>: CGBitmapContextGetBitsPerPixel: invalid contextand those CGBitmap errors continue ad infinitum... The application looks like this:<wireshark.tiff>and this:<wireshark2.tiff>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.JesseOn 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 gtk2Error: 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 opensslError: 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