<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Newsyland Blog &#187; Mac OS X</title>
	<atom:link href="http://blog.newsyland.com/category/mac-os-x/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.newsyland.com</link>
	<description>tail -f /dev/brain &#62;&#62; blog.newsyland.com</description>
	<lastBuildDate>Thu, 11 Aug 2011 19:56:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Silence fitbitd console messages</title>
		<link>http://blog.newsyland.com/mac-os-x/silence-fitbitd-console-messages</link>
		<comments>http://blog.newsyland.com/mac-os-x/silence-fitbitd-console-messages#comments</comments>
		<pubDate>Thu, 11 Aug 2011 19:56:01 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/?p=191</guid>
		<description><![CDATA[I found Fitbitd (the Fitbit running daemon) sending tons of strings like this to console: Aug/11/2011 14:57:32 com.fitbit.fitbitd[351] Thu Aug 11 14:57:32 mycomputer.local MacUserInterface[351] : [9A] 0x00, 0x3b, 0x61, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00 Aug/11/2011 14:57:32 com.fitbit.fitbitd[351] Thu Aug &#8230; <a href="http://blog.newsyland.com/mac-os-x/silence-fitbitd-console-messages">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I found Fitbitd (the Fitbit running daemon) sending tons of strings like this to console:</p>
<pre class="code">Aug/11/2011 14:57:32 	com.fitbit.fitbitd[351]	Thu Aug 11 14:57:32 mycomputer.local MacUserInterface[351] : [9A] 0x00, 0x3b, 0x61, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00
Aug/11/2011 14:57:32 	com.fitbit.fitbitd[351]	Thu Aug 11 14:57:32 mycomputer.local MacUserInterface[351] : [0A] 0x00, 0x01, 0x0a, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00
Aug/11/2011 14:57:32 	com.fitbit.fitbitd[351]	Thu Aug 11 14:57:32 mycomputer.local MacUserInterface[351] : [05] 0x00, 0x01, 0x05, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00
Aug/11/2011 14:57:32 	com.fitbit.fitbitd[351]	Thu Aug 11 14:57:32 mycomputer.local MacUserInterface[351] : Pending acks: 0
Aug/11/2011 14:57:32 	com.fitbit.fitbitd[351]	Thu Aug 11 14:57:32 mycomputer.local MacUserInterface[351] : [9B] 0x00, 0x3c, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
Aug/11/2011 14:57:32 	com.fitbit.fitbitd[351]	Thu Aug 11 14:57:32 mycomputer.local MacUserInterface[351] : Pending acks: 0
Aug/11/2011 14:57:32 	com.fitbit.fitbitd[351]	Thu Aug 11 14:57:32 mycomputer.local MacUserInterface[351] : Received logical packet.
Aug/11/2011 14:57:32 	com.fitbit.fitbitd[351]	Thu Aug 11 14:57:32 mycomputer.local MacUserInterface[351] : Received terminating status packet.</pre>
<p>So, I silenced these by altering the top of /Library/LaunchDaemons/com.fitbit.fitbitd.plist<br />
Note: the -e switch I obtained from:</p>
<pre>fitbitd --help</pre>
<p>from:</p>
<pre class="code">   &lt;key&gt;Program&lt;/key&gt;
   &lt;string&gt;/usr/local/bin/fitbitd&lt;/string&gt;</pre>
<p>to:</p>
<pre class="code">   &lt;key&gt;ProgramArguments&lt;/key&gt;
   &lt;array&gt;
      &lt;string&gt;/usr/local/bin/fitbitd&lt;/string&gt;
      &lt;string&gt;-e&lt;/string&gt;
   &lt;/array&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/mac-os-x/silence-fitbitd-console-messages/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vemedio Snowtape RadioAgent</title>
		<link>http://blog.newsyland.com/mac-os-x/vemedio-snowtape-radioagent</link>
		<comments>http://blog.newsyland.com/mac-os-x/vemedio-snowtape-radioagent#comments</comments>
		<pubDate>Fri, 22 Oct 2010 22:24:32 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/?p=180</guid>
		<description><![CDATA[In Mac OS X (10.6 Snow Leopard), after closing Snowtape version 2.0.4, I see in Activity Monitor there is a service/process running named RadioAgent. In Snowtape under Preferences &#8594; Recording &#8594; &#8220;Enable automatic wakeup from sleep&#8221;, is NOT checked, and &#8230; <a href="http://blog.newsyland.com/mac-os-x/vemedio-snowtape-radioagent">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In Mac OS X (10.6 Snow Leopard), after closing Snowtape version 2.0.4, I see in Activity Monitor there is a service/process running named RadioAgent. In Snowtape under Preferences &rarr; Recording &rarr; &#8220;Enable automatic wakeup from sleep&#8221;, is NOT checked, and thus I expect all related processes to quit when I exit the program.  However, this is their response to this:</p>
<p class="code">
This is intended behavior. The RadioAgent has a purpose. I won&#8217;t go into any<br />
detail. If you kill the agent manually you might get unexpected behavior we can<br />
not support.
</p>
<p>
If you do want to stop or deactivate the RadioAgent (for example, you are trying to upgrade Snowtape and get the message &#8220;The operation can&#8217;t be completed because the item &#8216;RadioAgent&#8217; is in use&#8221;.) is this the Terminal command to use: </p>
<p class="code">
launchctl remove com.vemedio.Snowtape.RadioAgent</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/mac-os-x/vemedio-snowtape-radioagent/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mac OS X: Mounting FAT32 external hard drive via Terminal command line</title>
		<link>http://blog.newsyland.com/mac-os-x/mac-os-x-mounting-fat32-external-hard-drive-via-terminal-command-line</link>
		<comments>http://blog.newsyland.com/mac-os-x/mac-os-x-mounting-fat32-external-hard-drive-via-terminal-command-line#comments</comments>
		<pubDate>Mon, 02 Mar 2009 04:14:40 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/?p=47</guid>
		<description><![CDATA[I have a 150GB USB external hard drive (IDE/Parallel ATA disk in an enclosure) which was formatted as one partition, FAT32 in Windows XP. I wanted to extract the files off of it using my Macbook Pro running Apple Macintosh &#8230; <a href="http://blog.newsyland.com/mac-os-x/mac-os-x-mounting-fat32-external-hard-drive-via-terminal-command-line">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have a 150GB USB external hard drive (IDE/Parallel ATA disk in an enclosure) which was formatted as one partition, FAT32 in Windows XP. I wanted to extract the files off of it using my Macbook Pro running Apple Macintosh Leopard (Mac OS X 10.5.6).</p>
<p>However, when I plug it in, I get a dialog box which says:</p>
<p class="code">
Disk Insertion<br />
The disk you inserted was not readable by this computer.<br />
Initialize&#8230;   Ignore   Eject
</p>
<p>I saw many references to there being a 127GB or 128GB partition limit for FAT32 for Mac to successfully mount.</p>
<p>Also, a potential problem was that when using Disk Utility it shows up on my system incorrectly as formatted as a Windows NT Filesystem (NTFS-3G).</p>
<p class="code">
diskutil list disk3
</p>
<p>Output:</p>
<p class="code">
/dev/disk3<br />
#:                       TYPE NAME                    SIZE       IDENTIFIER<br />
0:     FDisk_partition_scheme                        *149.1 Gi   disk3<br />
1:               Windows_NTFS                         149.0 Gi   disk3s1
</p>
<p>It did however mount automatically and show up when I was running a virtual machine, for example Parallels and Windows XP (I used VirtualBox and Windows 7), but copying over files this way proved to be very slow.</p>
<p>So, after spending a lot of time on the internet looking for solutions, I just tried mounting it from the Terminal (command line) with success!</p>
<p>First, make a mount point:</p>
<p class="code">
sudo mkdir /Volumes/EXT_HD
</p>
<p>Now mount (your device numbers may be different, e.g. /dev/disk2s1 &#8212; you can determine what it is as it will the the highest number when you issue the command &#8216;ls /dev/disk*&#8217;):</p>
<p class="code">
sudo mount -t msdos /dev/disk3s1 /Volumes/EXT_HD/
</p>
<p>It eventually showed up in Devices in Finder, but just to let you know, when I tried ejecting (unmounting) it when I was done, even though I had closed all programs I got the error:</p>
<p>The disk &#8220;USB_DRIVE&#8221; is in use and could not be ejected. Try quitting applications and try again.</p>
<p>Unmounting via he command line also failed:</p>
<p class="code">
sudo umount /Volumes/EXT_HD/<br />
umount: unmount(/Volumes/EXT_HD): Resource busy
</p>
<p>So I had to reboot.</p>
<p>I hope someone finds this information useful because I sure didn&#8217;t find any help&#8230;</p>
<p><em>EDIT (01 Oct, 2009): </em> Apparently there is a way to <a href="http://www.macosxhints.com/article.php?story=20090913140023382">enable native NTFS read/write support in 10.6 Snow Leopard</a> (and this may work for Leopard).  However, I would recommend not allowing write ability (and thus read only) when using this method as it may corrupt your NTFS files. To set to read only, follow the directions in the link but instead of using &#8216;rw&#8217;, use &#8216;ro&#8217;, e.g. UUID=123-456-789 none ntfs ro</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/mac-os-x/mac-os-x-mounting-fat32-external-hard-drive-via-terminal-command-line/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>How to handle deleting trash in Thunderbird when using IMAP Gmail</title>
		<link>http://blog.newsyland.com/mac-os-x/how-to-handle-deleting-trash-in-thunderbird-when-using-imap-gmail</link>
		<comments>http://blog.newsyland.com/mac-os-x/how-to-handle-deleting-trash-in-thunderbird-when-using-imap-gmail#comments</comments>
		<pubDate>Wed, 15 Oct 2008 20:11:35 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Original]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/?p=38</guid>
		<description><![CDATA[The Google team about a year ago added IMAP services to gmail. This is a great way to be able to manage your mail from several different places (e.g. client software at work, and web based gmail page on the &#8230; <a href="http://blog.newsyland.com/mac-os-x/how-to-handle-deleting-trash-in-thunderbird-when-using-imap-gmail">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The Google team <a href="http://gmailblog.blogspot.com/2007/10/sync-your-inbox-across-devices-with.html">about a year ago</a> added <a title="IMAP config" href="http://mail.google.com/support/bin/answer.py?hl=en&amp;answer=78892">IMAP services to gmail</a>. This is a great way to be able to manage your mail from several different places (e.g. client software at work, and web based gmail page on the road) and have everything automatically be in sync.</p>
<p>I&#8217;m also a big fan of the open source <a href="http://www.mozilla.com/thunderbird/">Thunderbird</a> email client. But there is one annoying thing using these two together: when you have a message selected and press &#8216;delete&#8217;, normally this sends the message to Thunderbird&#8217;s trash (which completely removes it from Gmail), but in this case, you want to send it to Gmail&#8217;s trash.</p>
<p>There was a configuration setting you could try, to send the message to [Gmail]/Trash, but Google doesn&#8217;t recommend it (see &#8216;UPDATE 2, Nov 8th&#8217; <a href="http://lifehacker.com/software/geek-to-live/turn-thunderbird-into-the-ultimate-gmail-imap-client-314574.php">here</a>). Instead you are supposed to move (e.g. drag-and-drop) the message to the [Gmail]/Trash folder manually.  Well, that&#8217;s not too convenient when you have a lot of folders. So, what I&#8217;ve found is an add-on <a href="https://addons.mozilla.org/en-US/thunderbird/addon/3254">QuickFolders</a> which will easily make a shortcut to that folder (and others) so that you can more easily drag-n-drop to send that message to gmail&#8217;s &#8216;Trash&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/mac-os-x/how-to-handle-deleting-trash-in-thunderbird-when-using-imap-gmail/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>libtiff error in Matlab when attempting to use ImageMagick</title>
		<link>http://blog.newsyland.com/mac-os-x/libtiff-error-in-matlab-when-attempting-to-use-imagemagick</link>
		<comments>http://blog.newsyland.com/mac-os-x/libtiff-error-in-matlab-when-attempting-to-use-imagemagick#comments</comments>
		<pubDate>Sat, 06 Sep 2008 19:20:46 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Matlab]]></category>
		<category><![CDATA[Original]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/?p=15</guid>
		<description><![CDATA[Trying to use the Imagemagick toolbox (for me, installed via MacPorts) sometimes doesn&#8217;t work (for example, converting a png image) in Matlab because Matlab for some reason uses the libraries in its path over those given in system call (this is &#8230; <a href="http://blog.newsyland.com/mac-os-x/libtiff-error-in-matlab-when-attempting-to-use-imagemagick">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Trying to use the <a title="imagemagick.org homepage" href="http://www.imagemagick.org/">Imagemagick</a> toolbox (for me, installed via <a href="http://www.macports.org/">MacPorts</a>) sometimes doesn&#8217;t work (for example, converting a png image) in Matlab because Matlab for some reason uses the libraries in its path over those given in <a title="System Call" href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/system.html">system</a> call (this is for Mac, but probably for *nix and maybe even Windows).</p>
<p>This is an example call:</p>
<p class="code">[s,w] = system([IMAGEMAGICK_PATH,'convert ',pwd,'/',outfile,'.png -rotate 90 ',pwd,'/',outfile,'.png']);</p>
<p>This is the error:</p>
<p class="code">error:<br />
dyld: Library not loaded: /opt/local/lib/libtiff.3.dylib<br />
Referenced from: /opt/local/bin/convert<br />
Reason: Incompatible library version: convert requires version 12.0.0 or later, but libtiff.3.dylib provides version 11.0.0</p>
<p>The work around is to replace the Matlab library with the ImageMagick one (only need to do this once and will stay until you upgrade Matlab):</p>
<p class="code">cd /Applications/MATLAB74/bin/maci/   (or wherever your Matlab is installed)<br />
mv libtiff.3.7.1.dylib  libtiff.3.7.1.dylib.MATLAB  (give it a different name)<br />
ln -s /opt/local/lib/libtiff.3.dylib libtiff.3.7.1.dylib  (create a soft link to the Imagemagick library file)</p>
<p class="code">
<p><strong>EDIT: This is the much better way to handle this</strong>:</p>
<p class="code">
setenv(&#8216;DYLD_LIBRARY_PATH&#8217;,['/opt/local/lib/:' getenv('DYLD_LIBRARY_PATH')])</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/mac-os-x/libtiff-error-in-matlab-when-attempting-to-use-imagemagick/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Serial Port communications on Mac via Matlab</title>
		<link>http://blog.newsyland.com/mac-os-x/serial-port-communications-on-mac-via-matlab</link>
		<comments>http://blog.newsyland.com/mac-os-x/serial-port-communications-on-mac-via-matlab#comments</comments>
		<pubDate>Tue, 18 Mar 2008 00:31:12 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Matlab]]></category>
		<category><![CDATA[Original]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/uncategorized/serial-port-communications-on-mac-via-matlab</guid>
		<description><![CDATA[I have a rev B (Core 2 Duo from Dec, 2006) Apple MacBook Pro laptop running Leopard OS X (version 10.5.2) and have Matlab version 7.5.0.338 (R2007b). I&#8217;ve just found that I can NOT use the built-in serial port object, &#8230; <a href="http://blog.newsyland.com/mac-os-x/serial-port-communications-on-mac-via-matlab">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have a rev B (Core 2 Duo from Dec, 2006) Apple MacBook Pro laptop running Leopard OS X (version 10.5.2) and have Matlab version 7.5.0.338 (R2007b). I&#8217;ve just found that I can NOT use the built-in serial port object, instead, I get the following error:</p>
<p class="code"> java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver<br />
??? Error using ==&gt; serial.serial at 57<br />
The serial port object is supported on the Solaris, 32-bit Windows and 32-bit Linux platforms only.</p>
<p>So, to get it successfully working, I downloaded these files: SerialComm.m, SerialComm.mexmac and SerialComm.mexmaci from <a href="http://svn.berlios.de/svnroot/repos/osxptb/stable/Psychtoolbox/PsychHardware/">http://svn.berlios.de/svnroot/repos/osxptb/stable/Psychtoolbox/PsychHardware/</a>.</p>
<p>You can then use code like this:</p>
<p class="code"> PORT = 1;<br />
% close (if previously open)<br />
SerialComm( &#8216;close&#8217;, PORT)<br />
% open<br />
SerialComm(&#8216;open&#8217;,PORT,&#8217;9600,n,8,1&#8242;)<br />
% flush the buffers<br />
SerialComm( &#8216;purge&#8217;, PORT)<br />
% status<br />
SerialComm( &#8216;status&#8217;, PORT)<br />
% read<br />
STR = SerialComm( &#8216;readl&#8217;, PORT);<br />
% close<br />
SerialComm( &#8216;close&#8217;, PORT)</p>
<p><strong>[UPDATE 02 Apr, 2008]</strong>: Note, this same code didn&#8217;t seem to work on a recently purchased Macbook.  Good luck.</p>
<p><strong>[UPDATE 27 Mar, 2009]</strong>: I see that in Matlab version 7.8.0 (R2009a) if you go to &#8216;serial&#8217; in Help docs it now says for Mac OS X and Mac OS X 64 you can use serial(&#8216;/dev/tty.KeySerial1&#8242;);  I don&#8217;t have a way of testing that right now, but it&#8217;s possible that you don&#8217;t need to use this third party toolkit anymore. If that&#8217;s true, please leave a note here.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/mac-os-x/serial-port-communications-on-mac-via-matlab/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Getting tcl via macports to compile on Leopard</title>
		<link>http://blog.newsyland.com/mac-os-x/tcl-via-macports-on-leopard</link>
		<comments>http://blog.newsyland.com/mac-os-x/tcl-via-macports-on-leopard#comments</comments>
		<pubDate>Wed, 05 Mar 2008 11:00:05 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Original]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/original/tcl-via-macports-on-leopard</guid>
		<description><![CDATA[With a fresh install of MacPorts version 1.6.0 on Mac OS X 10.5.2 Leopard, then issuing the command: sudo port install tcl returned: /usr/local/include/mach-o/arch.h:35: error: nested redefinition of &#8216;enum NXByteOrder&#8217; /usr/local/include/mach-o/arch.h:35: error: redeclaration of &#8216;enum NXByteOrder&#8217; /usr/local/include/mach-o/arch.h:36: error: redeclaration of &#8230; <a href="http://blog.newsyland.com/mac-os-x/tcl-via-macports-on-leopard">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>With a fresh install of MacPorts version 1.6.0 on Mac OS X 10.5.2 Leopard, then issuing the command:</p>
<p class="code"> sudo port install tcl</p>
<p>returned:</p>
<p class="code"> /usr/local/include/mach-o/arch.h:35: error: nested redefinition of &#8216;enum NXByteOrder&#8217;<br />
/usr/local/include/mach-o/arch.h:35: error: redeclaration of &#8216;enum NXByteOrder&#8217;<br />
/usr/local/include/mach-o/arch.h:36: error: redeclaration of enumerator &#8216;NX_UnknownByteOrder&#8217;<br />
/usr/include/architecture/byte_order.h:137: error: previous definition of &#8216;NX_UnknownByteOrder&#8217; was here<br />
/usr/local/include/mach-o/arch.h:37: error: redeclaration of enumerator &#8216;NX_LittleEndian&#8217;<br />
/usr/include/architecture/byte_order.h:138: error: previous definition of &#8216;NX_LittleEndian&#8217; was here<br />
/usr/local/include/mach-o/arch.h:39: error: redeclaration of enumerator &#8216;NX_BigEndian&#8217;<br />
/usr/include/architecture/byte_order.h:140: error: previous definition of &#8216;NX_BigEndian&#8217; was here<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c: In function &#8216;TclpFindSymbol&#8217;:<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:382: warning: &#8216;NSLookupSymbolInImage&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:182)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:415: warning: &#8216;NSLinkEditError&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:217)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:419: warning: &#8216;NSLookupSymbolInModule&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:181)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:428: warning: &#8216;NSAddressOfSymbol&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:188)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c: In function &#8216;TclpUnloadFile&#8217;:<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:493: warning: &#8216;NSUnLinkModule&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:169)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c: In function &#8216;TclpLoadMemory&#8217;:<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:697: warning: &#8216;NSCreateObjectFileImageFromMemory&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:146)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:730: warning: &#8216;NSLinkModule&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:161)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:732: warning: &#8216;NSDestroyObjectFileImage&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:147)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:740: warning: &#8216;NSLinkEditError&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:217)<br />
make: *** [tclLoadDyld.o] Error 1</p>
<p>I searched the web and found suggestions to deactivate odcctools, but the problem in my case is that odcctools wasn&#8217;t even installed.  So, instead what I did was temporarily move the arch.h file, rerun the install command, and it worked fine!</p>
<p class="code"> sudo mv /usr/local/include/mach-o/arch.h /usr/local/include/mach-o/arch.h.RENAMED</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/mac-os-x/tcl-via-macports-on-leopard/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Leopard Broke SMB Tunnel Mounting via Finder</title>
		<link>http://blog.newsyland.com/mac-os-x/leopard-broke-smb-tunneling</link>
		<comments>http://blog.newsyland.com/mac-os-x/leopard-broke-smb-tunneling#comments</comments>
		<pubDate>Wed, 21 Nov 2007 09:26:55 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/mac-os-x/leopard-broke-smb-tunnelling</guid>
		<description><![CDATA[In Mac OS X 10.4 Tiger, you could use Finder (GUI) to mount an SMB mount which was being tunneled through ssh For example: From Terminal establish the tunnel: ssh -L 139:remote_machine:139 user@remote_machine Then, in Finder, Go ? Connect to &#8230; <a href="http://blog.newsyland.com/mac-os-x/leopard-broke-smb-tunneling">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In Mac OS X 10.4 Tiger, you could use Finder (GUI) to mount an SMB mount which was being tunneled through ssh<br />
For example:</p>
<ul>
<li>From Terminal establish the tunnel:
<p class="code"> ssh -L 139:<em>remote_machine</em>:139 <em>user</em>@<em>remote_machine</em></p>
</li>
<li>Then, in Finder, Go ? Connect to Server&#8230;</li>
<li>In &#8220;Server Address&#8221;, smb://localhost/<em>mountpoint</em></li>
</ul>
<p>However, this <a href="http://discussions.apple.com/thread.jspa?threadID=1211756">doesn&#8217;t work</a> in Mac OS X 10.5 Leopard anymore!<br />
The workaround is instead of using Finder, to use the mount_smbfs command in Terminal:</p>
<p class="code"> mount_smbfs //<em>samba_user_name</em>@localhost/<em>samba_share</em> /local/mount/point/</p>
<p>For example:<br />
After establishing the tunnel (see above), I first made a mount point:</p>
<p class="code"> cd ~; mkdir sambamount</p>
<p>Then mounted it:</p>
<p class="code"> mount_smbfs //samba_user_name@localhost/data ~/sambamount</p>
<p>Once mounted, you should see the volume appear on your desktop, and you can drag it to the trash (or use &#8216;umount&#8217;) to unmount it.</p>
<p><strong>**** UPDATE 25 Mar, 2009 ****</strong></p>
<p>I&#8217;m getting many hits for this post, so I&#8217;m adding a little more detail for my setup specifically.</p>
<p>My work blocks almost all ports to incoming traffic. In order to log into a machine from the outside (for example from my home computer) I must first ssh into a firewall computer and setup a tunnel, or can ssh or telnet to another computer (you can do nothing on the firewall computer except ssh or telnet).</p>
<p>So, here&#8217;s my setup for tunnelling the SMB traffic within a ssh session (and still mount via Finder):</p>
<p>home <-ssh/tunnel-> firewall.example.com <-smb traffic-> smb_server.example.com</p>
<p>My work account credentials are the same on both the firewall computer and the SMB server.</p>
<p>You can add your modified version of the following to the file &#8216;/Users/mac_username/.ssh/config&#8217;:</p>
<pre class="code">
#------------------------------------------------------
# For mounting smb shares locally from home:
#-- This is the name of this alias to this specific
#  configuration:
Host smb_tunnel_from_home

#-- Work's firewall computer (can also use IP number here)
Hostname firewall.example.com

#-- In place of 'work_username', your firewall username goes
#  here:
User work_username

#-- 127.0.0.2 is your computer, the second (where there are
#  x's) is the SMB server. Seems like I have to use the IP
#  number (instead of smb_server.example.com for this!):
LocalForward 127.0.0.2:139 xxx.xxx.xxx.xxx:139
LocalForward 127.0.0.2:445 xxx.xxx.xxx.xxx:445

#------ TO USE: ------
#--Using Terminal, at the prompt type (this creates an alias
#  of 127.0.0.1 at 127.0.0.2):
#    sudo ifconfig lo0 alias 127.0.0.2 up
#--Now start the ssh session:
#    sudo ssh work_username@smb_tunnel_from_home \
#    -F /Users/mac_username/.ssh/config
#--Then, in finder, Go->Connect to Server (Cmd-K), in the
#  box type:
#       smb://127.0.0.2/work_username
#--In the box which pops up, enter your work_username
#  and work_password.
#--Be sure to unmount the volume in finder when done using.
#------------------------------------------------------
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/mac-os-x/leopard-broke-smb-tunneling/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Updated X11 for Leopard</title>
		<link>http://blog.newsyland.com/mac-os-x/updated-x11-for-leopard</link>
		<comments>http://blog.newsyland.com/mac-os-x/updated-x11-for-leopard#comments</comments>
		<pubDate>Fri, 16 Nov 2007 07:55:03 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/mac-os-x/updated-x11-for-leopard</guid>
		<description><![CDATA[There are a few complaints and bugs with the X11.app which shipped with Leopard Mac OS X 10.5.0. You can download and install updates from x.org which incorporate many fixes. Works great. Also, you can get Darwin 9.0 source code.]]></description>
			<content:encoded><![CDATA[<p>There are <a href="http://forums.macosxhints.com/showthread.php?t=80171" title="macosxhints complaints">a few complaints</a> and bugs with the X11.app which shipped with Leopard Mac OS X 10.5.0.  You can download and install updates from <a href="http://xquartz.macosforge.org/trac/wiki" title="XDarwin">x.org</a> which incorporate many fixes. Works great.  Also, you can get <a href="http://www.opensource.apple.com/darwinsource/10.5/" title="darwinsource for 10.5">Darwin 9.0 source code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/mac-os-x/updated-x11-for-leopard/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Matlab 2007b on Leopard Bug</title>
		<link>http://blog.newsyland.com/mac-os-x/matlab-2007b-on-leopard-bug</link>
		<comments>http://blog.newsyland.com/mac-os-x/matlab-2007b-on-leopard-bug#comments</comments>
		<pubDate>Thu, 15 Nov 2007 09:53:52 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Matlab]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/programming/matlab/matlab-2007b-on-leopard-bug</guid>
		<description><![CDATA[Mathworks Matlab version 2007b in Mac OS X 10.5 Leopard has a scrolling bug where the desktop GUI is sluggish and scrolls slowly. There is a bug fix posted at the Mathworks website, bug #412219, (login required).   It&#8217;s due to &#8230; <a href="http://blog.newsyland.com/mac-os-x/matlab-2007b-on-leopard-bug">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Mathworks Matlab version 2007b in Mac OS X 10.5 Leopard has a scrolling bug where the desktop GUI is sluggish and scrolls slowly. There is a bug fix posted at the Mathworks website, <a href="http://www.mathworks.com/support/bugreports/details.html?rp=412219" title="bug #412219">bug #412219</a>, (login required).   It&#8217;s due to a different default Java Graphics2D rendering engine used by OS X 10.5 (Sun2D), where OS X 10.4 used Quartz2D.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/mac-os-x/matlab-2007b-on-leopard-bug/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

