<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><b>All,</b><div><b><br class="webkit-block-placeholder"></b></div><div><b>I installed gtk2 +quartz without problem:</b></div><div><br class="webkit-block-placeholder"></div><div><div>g5:~] jess% sudo port install gtk2 +quartz</div><div>Password:</div><div>---&gt; &nbsp;Fetching gtk2</div><div>---&gt; &nbsp;Attempting to fetch gtk+-2.12.1.tar.bz2 from&nbsp;<a href="http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/gtk+/2.12/">http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/gtk+/2.12/</a></div><div>---&gt; &nbsp;Verifying checksum(s) for gtk2</div><div>---&gt; &nbsp;Extracting gtk2</div><div>---&gt; &nbsp;Configuring gtk2</div><div>---&gt; &nbsp;Building gtk2 with target all</div><div>---&gt; &nbsp;Staging gtk2 into destroot</div><div>---&gt; &nbsp;Installing gtk2 2.12.1_0+quartz</div><div>---&gt; &nbsp;Activating gtk2 2.12.1_0+quartz</div><div>---&gt; &nbsp;Cleaning gtk2</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><b>Then, installed wireshark:</b></div><div><br class="webkit-block-placeholder"></div><div><div>[g5:~] jess% sudo port install wireshark</div><div>Password:</div><div>---&gt; &nbsp;Fetching libpcap</div><div>---&gt; &nbsp;Attempting to fetch libpcap-0.9.5.tar.gz from&nbsp;<a href="http://svn.macports.org/repository/macports/distfiles/libpcap">http://svn.macports.org/repository/macports/distfiles/libpcap</a></div><div>---&gt; &nbsp;Verifying checksum(s) for libpcap</div><div>---&gt; &nbsp;Extracting libpcap</div><div>---&gt; &nbsp;Applying patches to libpcap</div><div>---&gt; &nbsp;Configuring libpcap</div><div>---&gt; &nbsp;Building libpcap with target all</div><div>---&gt; &nbsp;Staging libpcap into destroot</div><div>---&gt; &nbsp;Installing libpcap 0.9.5_1</div><div>---&gt; &nbsp;Activating libpcap 0.9.5_1</div><div>---&gt; &nbsp;Cleaning libpcap</div><div>---&gt; &nbsp;Fetching openssl</div><div>---&gt; &nbsp;Attempting to fetch openssl-0.9.8g.tar.gz from&nbsp;<a href="http://www.openssl.org/source/">http://www.openssl.org/source/</a></div><div>---&gt; &nbsp;Verifying checksum(s) for openssl</div><div>---&gt; &nbsp;Extracting openssl</div><div>---&gt; &nbsp;Applying patches to openssl</div><div>---&gt; &nbsp;Configuring openssl</div><div>---&gt; &nbsp;Building openssl with target all</div><div>---&gt; &nbsp;Staging openssl into destroot</div><div>---&gt; &nbsp;Installing openssl 0.9.8g_0</div><div>---&gt; &nbsp;Activating openssl 0.9.8g_0</div><div>---&gt; &nbsp;Cleaning openssl</div><div>---&gt; &nbsp;Fetching wireshark</div><div>---&gt; &nbsp;Attempting to fetch wireshark-0.99.6.tar.bz2 from&nbsp;<a href="http://www.wireshark.org/download/src/">http://www.wireshark.org/download/src/</a></div><div>---&gt; &nbsp;Verifying checksum(s) for wireshark</div><div>---&gt; &nbsp;Extracting wireshark</div><div>---&gt; &nbsp;Configuring wireshark</div><div>---&gt; &nbsp;Building wireshark with target all</div><div>---&gt; &nbsp;Staging wireshark into destroot</div><div>---&gt; &nbsp;Installing wireshark 0.99.6_0+darwin_9</div><div>---&gt; &nbsp;Activating wireshark 0.99.6_0+darwin_9</div><div>---&gt; &nbsp;Cleaning wireshark</div><div><br class="webkit-block-placeholder"></div><div><b>All looks good to this point. &nbsp;Except, this is the error log, and the GUI has no text in it! &nbsp;Aaarrgh!</b></div><div><div><br class="webkit-block-placeholder"></div><div><div>g5:/opt/local/bin] jess% /opt/local/bin/wireshark</div><div>Sun Dec &nbsp;2 11:11:13 g5.local wireshark[61786] &lt;Error&gt;: CGBitmapContextGetBitsPerPixel: invalid context</div><div>Sun Dec &nbsp;2 11:11:13 g5.local wireshark[61786] &lt;Error&gt;: CGBitmapContextGetBitsPerPixel: invalid context</div><div>Sun Dec &nbsp;2 11:11:14 g5.local wireshark[61786] &lt;Error&gt;: CGBitmapContextGetBitsPerPixel: invalid context</div><div>2007-12-02 11:11:14.015 wireshark[61786:807] *** _NSAutoreleaseNoPool(): Object 0x337d290 of class NSConcreteMutableData autoreleased with no pool in place - just leaking</div><div>Stack: (0x94a61178 0x9498f0f8 0x925bf9e8 0x925bec98 0x925bd200 0x925b9700 0x8b4450 0x8b44a4 0x6b5bd4 0x2e80964 0x2e9581c 0x2e96b6c 0x2e97000 0x4a7494 0x873b14 0x30f9c90 0x30fe834 0x30fed94 0x54e7a4 0x14e54 0x1506c 0x48208 0x2164)</div><div>Sun Dec &nbsp;2 11:11:14 g5.local wireshark[61786] &lt;Error&gt;: CGBitmapContextGetBitsPerPixel: invalid context</div><div>Sun Dec &nbsp;2 11:11:14 g5.local wireshark[61786] &lt;Error&gt;: CGBitmapContextGetBitsPerPixel: invalid context</div><div>Sun Dec &nbsp;2 11:11:14 g5.local wireshark[61786] &lt;Error&gt;: CGBitmapContextGetBitsPerPixel: invalid context</div><div>Sun Dec &nbsp;2 11:11:14 g5.local wireshark[61786] &lt;Error&gt;: CGBitmapContextGetBitsPerPixel: invalid context</div><div><br class="webkit-block-placeholder"></div><div><b>and those CGBitmap errors continue ad infinitum... &nbsp;The application looks like this:</b></div><div><b><br class="webkit-block-placeholder"></b></div><div><b><a href="http://www.ohlssons.be/~jess/Sites-Images/wireshark.jpg">http://www.ohlssons.be/~jess/Sites-Images/wireshark.jpg</a></b></div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-style-span" style="font-weight: bold; ">and this:</span></div><div><b><br class="webkit-block-placeholder"></b></div><div><font class="Apple-style-span" color="#144FAE"><span class="Apple-style-span" style="text-decoration: underline;"><b><a href="http://www.ohlssons.be/~jess/Sites-Images/wireshark2.jpg">http://www.ohlssons.be/~jess/Sites-Images/wireshark2.jpg</a></b></span></font></div><div><br class="webkit-block-placeholder"></div><div><br></div><div><b>I think I'm close to getting this working, but sure are running into a lot of problems along the way...</b></div><div><b><br class="webkit-block-placeholder"></b></div><div><b>Does anyone have any ideas how to proceed from here?</b></div><div><b><br class="webkit-block-placeholder"></b></div><div><b>Thank you.</b></div><div><b><br class="webkit-block-placeholder"></b></div><div><b>Jesse</b></div><div><b><br class="webkit-block-placeholder"></b></div><div><b><br class="webkit-block-placeholder"></b></div><div><b><br class="webkit-block-placeholder"></b></div></div></div></div></div><div><div>On Dec 1, 2007, at 10:32 PM, Kok-Yong Tan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>On Dec 1, 2007, at 15:25, Jesse Ohlsson wrote:<br><br><blockquote type="cite">Hello,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Trying to get wireshark installed, and it looked good until the install script got to the gtk2 installation.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">(G5 powerpc, OS X 10.5.1, MacPorts 1.520)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Here's the install output:<br></blockquote><br>&lt;snip&gt;<br><br><blockquote type="cite">---&gt; &nbsp;Fetching gtk2<br></blockquote><blockquote type="cite">Error: Target org.macports.fetch returned:<br></blockquote><blockquote type="cite">You must install gtk2 with either the +quartz or +x11 variant specified.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Error: The following dependencies failed to build: gtk2 libpcap openssl<br></blockquote><blockquote type="cite">Error: Status 1 encountered during processing.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Does anyone know what to do next?<br></blockquote><br><br>Try this in order (I bumped into this same issue and did the following):<br><br>sudo port -Rv install gtk2 +x11<br>sudo port -Rv install libpcap<br>sudo port -Rv install openssl<br>sudo port -Rv install wireshark<br><br>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. &nbsp;So, since Wireshark has an X11 front-end, I figured I might as well go with the x11 variant of gtk2... &nbsp;Seems to work for me (I now have a seemingly functional Wireshark) although I'm still on Tiger (10.4.11). &nbsp;YMMV.<br>--<br>Reality Artisans, Inc. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# &nbsp;&nbsp;Network Wrangling and System Delousing<br>P.O. Box 565, Gracie Station &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# &nbsp;&nbsp;Apple Certified Help Desk Specialist<br>New York, NY 10028-0019 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# &nbsp;&nbsp;Apple Consultants Network member<br>&lt;<a href="http://www.realityartisans.com">http://www.realityartisans.com</a>&gt; &nbsp;# &nbsp;&nbsp;Apple Developer Connection member<br>(212) 369-4876 (Voice) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# &nbsp;&nbsp;(212) 860-4325 (Fax)<br>PGP Fingerprint: &nbsp;77B3 D1E9 D24B 4FA9 9606 &nbsp;6C8D 62E4 2E4A 6FDD 9FD5<br><br><br><br><br>_______________________________________________<br>macports-users mailing list<br><a href="mailto:macports-users@lists.macosforge.org">macports-users@lists.macosforge.org</a><br>http://lists.macosforge.org/mailman/listinfo/macports-users<br></blockquote></div><br></body></html>