<?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>gregs &#187; mac</title>
	<atom:link href="http://gregs.tcias.co.uk/category/comps/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://gregs.tcias.co.uk</link>
	<description>helping me remember what I figure out</description>
	<lastBuildDate>Sun, 13 Jun 2010 02:16:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Recursive delete</title>
		<link>http://gregs.tcias.co.uk/2010/03/22/recursive-delete/</link>
		<comments>http://gregs.tcias.co.uk/2010/03/22/recursive-delete/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 05:30:52 +0000</pubDate>
		<dc:creator>gregs</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://gregs.tcias.co.uk/?p=496</guid>
		<description><![CDATA[I new it was possible, just never took the time to look it up.
PLAIN TEXT
CODE:




rm -rf `find . -type d -name .svn` 






As with all types of deletes, recursive or not, use with caution.
]]></description>
			<content:encoded><![CDATA[<p>I new it was possible, just never took the time to <a href="http://blog.snakehit.be/2007/08/29/svn-recursively-delete-svn-folders/" title="[SVN] Recursively delete .svn folders">look it up</a>.</p>
<div class="igBar"><span id="lcode-2"><a href="#" onclick="javascript:showPlainTxt('code-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-2">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">rm -rf `find . -type d -name .<span style="">svn</span>` </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>As with all types of deletes, recursive or not, use with caution.</p>
]]></content:encoded>
			<wfw:commentRss>http://gregs.tcias.co.uk/2010/03/22/recursive-delete/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>gnumake: *** No rule to make target `all&#8217;</title>
		<link>http://gregs.tcias.co.uk/2009/04/06/gnumake-no-rule-to-make-target-all/</link>
		<comments>http://gregs.tcias.co.uk/2009/04/06/gnumake-no-rule-to-make-target-all/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 01:29:58 +0000</pubDate>
		<dc:creator>gregs</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://gregs.tcias.co.uk/?p=479</guid>
		<description><![CDATA[I was using MacPorts to install ICU and Jam. After running the installer for the first time I got the following error message:
PLAIN TEXT
CODE:




sudo port install icu jam


Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_icu/work/icu/source" &#38;&#38; gnumake all " returned error 127


Command output: sh: gnumake: command not found 






Oops forgot to install XCode (you [...]]]></description>
			<content:encoded><![CDATA[<p>I was using <a href="http://www.macports.org/install.php">MacPorts</a> to install ICU and Jam. After running the installer for the first time I got the following error message:</p>
<div class="igBar"><span id="lcode-6"><a href="#" onclick="javascript:showPlainTxt('code-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-6">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo port install icu jam</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Error: Target org.<span style="">macports</span>.<span style="">build</span> returned: shell command <span style="color:#CC0000;">" cd "</span>/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.<span style="">macports</span>.<span style="">org_release_ports_devel_icu</span>/work/icu/source<span style="color:#CC0000;">" &amp;&amp; gnumake all "</span> returned error <span style="color:#800000;color:#800000;">127</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Command output: sh: gnumake: command not found </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Oops forgot to install XCode (you always forget to install something on a new machine <img src='http://gregs.tcias.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ). Quickly ran the XCode installer, however when I ran the command again I got a new error:</p>
<div class="igBar"><span id="lcode-7"><a href="#" onclick="javascript:showPlainTxt('code-7'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-7">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo port install icu jam</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Building</span> icu</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Error: Target org.<span style="">macports</span>.<span style="">build</span> returned: shell command <span style="color:#CC0000;">" cd "</span>/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.<span style="">macports</span>.<span style="">org_release_ports_devel_icu</span>/work/icu/source<span style="color:#CC0000;">" &amp;&amp; gnumake all "</span> returned error <span style="color:#800000;color:#800000;">2</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Command output: gnumake: *** No rule to make target `all<span style="color:#CC0000;">'.&nbsp; Stop. </span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><a href="https://trac.macports.org/ticket/17384">Turns out you need to do a cleanup</a> before attempting to run the command again:</p>
<div class="igBar"><span id="lcode-8"><a href="#" onclick="javascript:showPlainTxt('code-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-8">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo port clean --work icu</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Cleaning</span> icu</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo port clean --work jam</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Cleaning</span> jam</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo port install icu jam</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Fetching</span> icu</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Verifying</span> checksum<span style="color:#006600; font-weight:bold;">&#40;</span>s<span style="color:#006600; font-weight:bold;">&#41;</span> for icu</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Extracting</span> icu</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Configuring</span> icu</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Building</span> icu</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Staging</span> icu into destroot</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Installing</span> icu @<span style="color:#800000;color:#800000;">4</span>.<span style="color:#800000;color:#800000;">0</span>_0</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Activating</span> icu @<span style="color:#800000;color:#800000;">4</span>.<span style="color:#800000;color:#800000;">0</span>_0</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Cleaning</span> icu</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Fetching</span> jam</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Attempting</span> to fetch jam-<span style="color:#800000;color:#800000;">2</span>.<span style="color:#800000;color:#800000;">5</span>.<span style="">tar</span> from http:<span style="color:#FF9933; font-style:italic;">//distfiles.macports.org/jam/2.5</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Verifying</span> checksum<span style="color:#006600; font-weight:bold;">&#40;</span>s<span style="color:#006600; font-weight:bold;">&#41;</span> for jam</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Extracting</span> jam</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Applying</span> patches to jam</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Configuring</span> jam</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Building</span> jam</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Staging</span> jam into destroot</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Installing</span> jam @<span style="color:#800000;color:#800000;">2</span>.<span style="color:#800000;color:#800000;">5</span>_1</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Activating</span> jam @<span style="color:#800000;color:#800000;">2</span>.<span style="color:#800000;color:#800000;">5</span>_1</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">---&gt;&nbsp; <span style="">Cleaning</span> jam </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Time to continue the <a href="http://www.mapnik.org/">Mapnik</a> install.</p>
]]></content:encoded>
			<wfw:commentRss>http://gregs.tcias.co.uk/2009/04/06/gnumake-no-rule-to-make-target-all/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>VMWare and keyboard input</title>
		<link>http://gregs.tcias.co.uk/2008/07/09/vmware-and-keyboard-input/</link>
		<comments>http://gregs.tcias.co.uk/2008/07/09/vmware-and-keyboard-input/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 01:07:03 +0000</pubDate>
		<dc:creator>gregs</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://gregs.tcias.co.uk/?p=470</guid>
		<description><![CDATA[This morning I fired my Windows XP VM on my mac and my keyboard input simply stopped working. After a couple of VM reboots, which had no effect, I did some googling. The first result suggested typing a few commands to determine what had disabled it:
PLAIN TEXT
CODE:




$ ioreg -l -w 0 &#124; grep SecureInput


&#124;&#160; &#160;"IOConsoleUsers" [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I fired my Windows XP VM on my mac and my keyboard input simply stopped working. After a couple of VM reboots, which had no effect, I did some googling. <a title="keyboard stops working... system beeps" href="http://communities.vmware.com/message/617423">The first result</a> suggested typing a few commands to determine what had disabled it:</p>
<div class="igBar"><span id="lcode-10"><a href="#" onclick="javascript:showPlainTxt('code-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-10">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$ ioreg -l -w <span style="color:#800000;color:#800000;">0</span> | grep SecureInput</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">|&nbsp; &nbsp;<span style="color:#CC0000;">"IOConsoleUsers"</span> = <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#CC0000;">"kCGSSessionSecureInputPID"</span>=<span style="color:#800000;color:#800000;">177</span>,<span style="color:#CC0000;">"kCGSSessionLoginwindowSafeLogin"</span>=No,<span style="color:#CC0000;">"kCGSSessionAuditIDKey"</span>=<span style="color:#800000;color:#800000;">0</span>,<span style="color:#CC0000;">"kCGSessionLoginDoneKey"</span>=Yes,<span style="color:#CC0000;">"kCGSSessionSystemSafeBoot"</span>=No,<span style="color:#CC0000;">"kCGSSessionOnConsoleKey"</span>=Yes,<span style="color:#CC0000;">"kCGSSessionUserIDKey"</span>=<span style="color:#800000;color:#800000;">501</span>,<span style="color:#CC0000;">"kSCSecuritySessionID"</span>=<span style="color:#800000;color:#800000;">11622192</span>,<span style="color:#CC0000;">"kCGSSessionUserNameKey"</span>=<span style="color:#CC0000;">"gregstewart"</span>,<span style="color:#CC0000;">"kCGSSessionGroupIDKey"</span>=<span style="color:#800000;color:#800000;">20</span>,<span style="color:#CC0000;">"kCGSSessionConsoleSetKey"</span>=<span style="color:#800000;color:#800000;">0</span>,<span style="color:#CC0000;">"kCGSSessionIDKey"</span>=<span style="color:#800000;color:#800000;">256</span>,<span style="color:#CC0000;">"kCGSessionLongUserNameKey"</span>=<span style="color:#CC0000;">"User"</span><span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$ ps auxwwww | grep <span style="color:#800000;color:#800000;">177</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">user <span style="color:#800000;color:#800000;">177</span>&nbsp; &nbsp;<span style="color:#800000;color:#800000;">7</span>.<span style="color:#800000;color:#800000;">8</span>&nbsp; <span style="color:#800000;color:#800000;">9</span>.<span style="color:#800000;color:#800000;">2</span>&nbsp; &nbsp;<span style="color:#800000;color:#800000;">652520</span> <span style="color:#800000;color:#800000;">192788</span>&nbsp; &nbsp;??&nbsp; S&nbsp; &nbsp; <span style="color:#800000;color:#800000;">10</span>:51pm&nbsp; <span style="color:#800000;color:#800000;">59</span>:<span style="color:#800000;color:#800000;">09</span>.<span style="color:#800000;color:#800000;">22</span> /Applications/Firefox.<span style="">app</span>/Contents/MacOS/firefox-bin -psn_0_110619</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">user <span style="color:#800000;color:#800000;">1155</span>&nbsp; &nbsp;<span style="color:#800000;color:#800000;">0</span>.<span style="color:#800000;color:#800000;">0</span>&nbsp; <span style="color:#800000;color:#800000;">0</span>.<span style="color:#800000;color:#800000;">0</span>&nbsp; &nbsp;<span style="color:#800000;color:#800000;">599820</span>&nbsp; &nbsp; <span style="color:#800000;color:#800000;">464</span> s001&nbsp; S+&nbsp; &nbsp;<span style="color:#800000;color:#800000;">10</span>:44am&nbsp; &nbsp;<span style="color:#800000;color:#800000;">0</span>:<span style="color:#800000;color:#800000;">00</span>.<span style="color:#800000;color:#800000;">00</span> grep <span style="color:#800000;color:#800000;">177</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>According to the post the application that was blocking it was FireFox. "kCGSSessionSecureInputPID"=177 is the info you need to look for, where in my case 177 was the number I needed to use in the next command. Incredulous as I was, I closed FireFox and hey presto keyboard input was working again.</p>
<p>Hopefully this post will help others.</p>
]]></content:encoded>
			<wfw:commentRss>http://gregs.tcias.co.uk/2008/07/09/vmware-and-keyboard-input/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
