<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: OS X != unix, and don&#8217;t you forget it&#8230;</title>
	<atom:link href="http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/</link>
	<description>Life is an adventure.  A good life is worth selling the movie rights. These are my story notes.</description>
	<pubDate>Wed, 07 Jan 2009 04:20:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Noah Sussman</title>
		<link>http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/comment-page-1/#comment-1585</link>
		<dc:creator>Noah Sussman</dc:creator>
		<pubDate>Fri, 15 Feb 2008 20:16:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/#comment-1585</guid>
		<description>Chris, 

Thank you very much for the explanation!  I had this very problem when trying to install TexLive.  I found your page when I Googled the error: 'Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.5.0" &#38;&#38; make all " returned error 2'

Like ozziem, my *nix head command had been overwritten(!) with LWP's HEAD.  Following all the good advice above, here are the steps I had to do on my Macbook (Tiger) in order to get rid of the compilation error:

1. sudo mv /usr/bin/HEAD /usr/bin/lwp-HEAD
2. Insert Mac OS Install Disk 1 and copy  /Volumes/Mac OS X Install Disc 1/usr/bin/head from the install disk to /usr/bin/ on the hard drive.
3. sudo port clean all  (though I guess 'sudo port clean texlive' would have worked)

After that I was able to install like a champ! 

Thanks again for posting the solution to this problem, which I doubt I would have ever solved on my own.</description>
		<content:encoded><![CDATA[<p>Chris, </p>
<p>Thank you very much for the explanation!  I had this very problem when trying to install TexLive.  I found your page when I Googled the error: &#8216;Target org.macports.build returned: shell command &#8221; cd &#8220;/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.5.0&#8243; &amp;&amp; make all &#8221; returned error 2&#8242;</p>
<p>Like ozziem, my *nix head command had been overwritten(!) with LWP&#8217;s HEAD.  Following all the good advice above, here are the steps I had to do on my Macbook (Tiger) in order to get rid of the compilation error:</p>
<p>1. sudo mv /usr/bin/HEAD /usr/bin/lwp-HEAD<br />
2. Insert Mac OS Install Disk 1 and copy  /Volumes/Mac OS X Install Disc 1/usr/bin/head from the install disk to /usr/bin/ on the hard drive.<br />
3. sudo port clean all  (though I guess &#8217;sudo port clean texlive&#8217; would have worked)</p>
<p>After that I was able to install like a champ! </p>
<p>Thanks again for posting the solution to this problem, which I doubt I would have ever solved on my own.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan</title>
		<link>http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/comment-page-1/#comment-1552</link>
		<dc:creator>Evan</dc:creator>
		<pubDate>Wed, 23 Jan 2008 19:49:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/#comment-1552</guid>
		<description>Thanks for the helpful post. This was bugging me, and your observation of HEAD vs head was helpful.</description>
		<content:encoded><![CDATA[<p>Thanks for the helpful post. This was bugging me, and your observation of HEAD vs head was helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens</title>
		<link>http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/comment-page-1/#comment-1487</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Sat, 05 Jan 2008 22:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/#comment-1487</guid>
		<description>Thanks. Had exactly this problem with fontconfig when I tried to install ImageMagick. Your post sorted it out!</description>
		<content:encoded><![CDATA[<p>Thanks. Had exactly this problem with fontconfig when I tried to install ImageMagick. Your post sorted it out!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don Johnson</title>
		<link>http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/comment-page-1/#comment-1399</link>
		<dc:creator>Don Johnson</dc:creator>
		<pubDate>Mon, 17 Dec 2007 04:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/#comment-1399</guid>
		<description>Thank you very much for this post.  I was unable to install the gimp.app because it was getting fouled up on the fontconfig install.  I found that my HEAD file was in /usr/bin using the command:

#&#62; which head

I found that the file was a text file and not the original OS X file by doing the command:

#&#62; file /usr/bin/head

I replaced the file and tried to the install again, only to have it fail AGAIN!!.  The last poster is absolutely correct.  Do the "clean"ing of the port first.

#&#62; port clean fontconfig

After that it installed completely without and error.  I never would have caught this problem with the HEAD file.  Not even on my train of thought until I found this post.

Once again, Thank you very much.</description>
		<content:encoded><![CDATA[<p>Thank you very much for this post.  I was unable to install the gimp.app because it was getting fouled up on the fontconfig install.  I found that my HEAD file was in /usr/bin using the command:</p>
<p>#&gt; which head</p>
<p>I found that the file was a text file and not the original OS X file by doing the command:</p>
<p>#&gt; file /usr/bin/head</p>
<p>I replaced the file and tried to the install again, only to have it fail AGAIN!!.  The last poster is absolutely correct.  Do the &#8220;clean&#8221;ing of the port first.</p>
<p>#&gt; port clean fontconfig</p>
<p>After that it installed completely without and error.  I never would have caught this problem with the HEAD file.  Not even on my train of thought until I found this post.</p>
<p>Once again, Thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom McDonough</title>
		<link>http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/comment-page-1/#comment-1355</link>
		<dc:creator>Tom McDonough</dc:creator>
		<pubDate>Mon, 10 Dec 2007 21:46:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/#comment-1355</guid>
		<description>Very timely post.  I would never have figured this out myself.  Let me emphasize the 'clean'ing phase you mentioned.  Thanks again.</description>
		<content:encoded><![CDATA[<p>Very timely post.  I would never have figured this out myself.  Let me emphasize the &#8216;clean&#8217;ing phase you mentioned.  Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ozziem</title>
		<link>http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/comment-page-1/#comment-1349</link>
		<dc:creator>ozziem</dc:creator>
		<pubDate>Sun, 09 Dec 2007 04:34:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/#comment-1349</guid>
		<description>very useful - thanks.

My perl 'HEAD' had already overwritten my unix 'head' ... crazy ... your post got me on the right track to realizing this was what was going on. I had to copy my 'head' back from the install DVD (or I could have compiled it from the Darwin source) to get it back ... (my backups already had a 'HEAD' without my knowledge!)

I also enjoy OS X as a primary OS but occasionally run into something (like this!) that is just mind-numbingly stupid design! (whether it be the OS or its default FS type)

Cheers!</description>
		<content:encoded><![CDATA[<p>very useful - thanks.</p>
<p>My perl &#8216;HEAD&#8217; had already overwritten my unix &#8216;head&#8217; &#8230; crazy &#8230; your post got me on the right track to realizing this was what was going on. I had to copy my &#8216;head&#8217; back from the install DVD (or I could have compiled it from the Darwin source) to get it back &#8230; (my backups already had a &#8216;HEAD&#8217; without my knowledge!)</p>
<p>I also enjoy OS X as a primary OS but occasionally run into something (like this!) that is just mind-numbingly stupid design! (whether it be the OS or its default FS type)</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ChrisKnight</title>
		<link>http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/comment-page-1/#comment-1321</link>
		<dc:creator>ChrisKnight</dc:creator>
		<pubDate>Thu, 29 Nov 2007 05:09:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/#comment-1321</guid>
		<description>Raul,

#1  You didn't mention what is giving you a mysql socket error, whether it is the mysql command line util, or PHP, or what...  But I will bet this is because the software that gave the error is looking for mysql.sock in a different place than it is installed.  Find where mysql.sock is located on your system, find where your software expects it, and set up a symlink.  (I had this problem the first time I set up PHP on my Tiger box.)

#2  "htaccess upload problems"  I have no idea what you are talking about.

#3  If you can't install xcode, then #4 and #5 are a given.

#5  This is the _exact_ same error I talked about in this post.  You will notice that while you were trying to compile ImageMagick, the actual error is on the dependency of fontconfig.  Try one of these two things:

#1  This will locate any other commands on your system named 'head', no matter what case.  This will help if the problem is the exact same one I had:
locate head &#124; egrep -i "/head$"
      

#2  Invoke the install command with -v so that you get verbose output, and then read ALL the output looking for the source of the problem:
./port -v install ImageMagick

-Chris</description>
		<content:encoded><![CDATA[<p>Raul,</p>
<p>#1  You didn&#8217;t mention what is giving you a mysql socket error, whether it is the mysql command line util, or PHP, or what&#8230;  But I will bet this is because the software that gave the error is looking for mysql.sock in a different place than it is installed.  Find where mysql.sock is located on your system, find where your software expects it, and set up a symlink.  (I had this problem the first time I set up PHP on my Tiger box.)</p>
<p>#2  &#8220;htaccess upload problems&#8221;  I have no idea what you are talking about.</p>
<p>#3  If you can&#8217;t install xcode, then #4 and #5 are a given.</p>
<p>#5  This is the _exact_ same error I talked about in this post.  You will notice that while you were trying to compile ImageMagick, the actual error is on the dependency of fontconfig.  Try one of these two things:</p>
<p>#1  This will locate any other commands on your system named &#8216;head&#8217;, no matter what case.  This will help if the problem is the exact same one I had:<br />
locate head | egrep -i &#8220;/head$&#8221;</p>
<p>#2  Invoke the install command with -v so that you get verbose output, and then read ALL the output looking for the source of the problem:<br />
./port -v install ImageMagick</p>
<p>-Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raul</title>
		<link>http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/comment-page-1/#comment-1320</link>
		<dc:creator>Raul</dc:creator>
		<pubDate>Thu, 29 Nov 2007 04:33:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/#comment-1320</guid>
		<description>I'm starting to hate OSX I can never get anything to work right on it. Todays hot list of problems are...

1) mysql socket error
2) htaccess upload problems
3) mac ports problems
4) xcode tools not installing
5) imagemagick will not install, I get this crap!!!!

mail:/opt/local/bin root# ./port install ImageMagick
---&#62;  Building fontconfig with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.5.0" &#38;&#38; make all " returned error 2
Command output: fcaliastail.h:520:2: error: #endif without #if
fcaliastail.h:522: error: only weak aliases are supported in this configuration
fcaliastail.h:523:2: error: #endif without #if
fcaliastail.h:525: error: only weak aliases are supported in this configuration
fcaliastail.h:526:2: error: #endif without #if
fcaliastail.h:528: error: only weak aliases are supported in this configuration
fcaliastail.h:529:2: error: #endif without #if
fcaliastail.h:531: error: only weak aliases are supported in this configuration
fcaliastail.h:532:2: error: #endif without #if
fcaliastail.h:534: error: only weak aliases are supported in this configuration
fcaliastail.h:535:2: error: #endif without #if
fcaliastail.h:537: error: only weak aliases are supported in this configuration
fcaliastail.h:538:2: error: #endif without #if
fcaliastail.h:540: error: only weak aliases are supported in this configuration
fcaliastail.h:541:2: error: #endif without #if
fcaliastail.h:543: error: only weak aliases are supported in this configuration
fcaliastail.h:544:2: error: #endif without #if
fcaliastail.h:546: error: only weak aliases are supported in this configuration
fcaliastail.h:547:2: error: #endif without #if
fcaliastail.h:549: error: only weak aliases are supported in this configuration
fcaliastail.h:550:2: error: #endif without #if
fcaliastail.h:552: error: only weak aliases are supported in this configuration
fcaliastail.h:553:2: error: #endif without #if
fcaliastail.h:555: error: only weak aliases are supported in this configuration
fcaliastail.h:556:2: error: #endif without #if
fcaliastail.h:557:2: error: #endif without #if
make[3]: *** [fcatomic.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: fontconfig jpeg libpng libxml2 pkgconfig tiff
Error: Status 1 encountered during processing.</description>
		<content:encoded><![CDATA[<p>I&#8217;m starting to hate OSX I can never get anything to work right on it. Todays hot list of problems are&#8230;</p>
<p>1) mysql socket error<br />
2) htaccess upload problems<br />
3) mac ports problems<br />
4) xcode tools not installing<br />
5) imagemagick will not install, I get this crap!!!!</p>
<p>mail:/opt/local/bin root# ./port install ImageMagick<br />
&#8212;&gt;  Building fontconfig with target all<br />
Error: Target org.macports.build returned: shell command &#8221; cd &#8220;/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.5.0&#8243; &amp;&amp; make all &#8221; returned error 2<br />
Command output: fcaliastail.h:520:2: error: #endif without #if<br />
fcaliastail.h:522: error: only weak aliases are supported in this configuration<br />
fcaliastail.h:523:2: error: #endif without #if<br />
fcaliastail.h:525: error: only weak aliases are supported in this configuration<br />
fcaliastail.h:526:2: error: #endif without #if<br />
fcaliastail.h:528: error: only weak aliases are supported in this configuration<br />
fcaliastail.h:529:2: error: #endif without #if<br />
fcaliastail.h:531: error: only weak aliases are supported in this configuration<br />
fcaliastail.h:532:2: error: #endif without #if<br />
fcaliastail.h:534: error: only weak aliases are supported in this configuration<br />
fcaliastail.h:535:2: error: #endif without #if<br />
fcaliastail.h:537: error: only weak aliases are supported in this configuration<br />
fcaliastail.h:538:2: error: #endif without #if<br />
fcaliastail.h:540: error: only weak aliases are supported in this configuration<br />
fcaliastail.h:541:2: error: #endif without #if<br />
fcaliastail.h:543: error: only weak aliases are supported in this configuration<br />
fcaliastail.h:544:2: error: #endif without #if<br />
fcaliastail.h:546: error: only weak aliases are supported in this configuration<br />
fcaliastail.h:547:2: error: #endif without #if<br />
fcaliastail.h:549: error: only weak aliases are supported in this configuration<br />
fcaliastail.h:550:2: error: #endif without #if<br />
fcaliastail.h:552: error: only weak aliases are supported in this configuration<br />
fcaliastail.h:553:2: error: #endif without #if<br />
fcaliastail.h:555: error: only weak aliases are supported in this configuration<br />
fcaliastail.h:556:2: error: #endif without #if<br />
fcaliastail.h:557:2: error: #endif without #if<br />
make[3]: *** [fcatomic.lo] Error 1<br />
make[2]: *** [all] Error 2<br />
make[1]: *** [all-recursive] Error 1<br />
make: *** [all] Error 2</p>
<p>Error: The following dependencies failed to build: fontconfig jpeg libpng libxml2 pkgconfig tiff<br />
Error: Status 1 encountered during processing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ChrisKnight</title>
		<link>http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/comment-page-1/#comment-1319</link>
		<dc:creator>ChrisKnight</dc:creator>
		<pubDate>Wed, 28 Nov 2007 22:07:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/#comment-1319</guid>
		<description>You are correct, I left out that detail while I was typing up the posting just before bedtime.  I have updated the original post to reflect the situation more accurately.

I have tried installing OS X onto a case sensitive filesystem.  I had numerous problems and wound up reformatting rather than dealing with it.  Mind you, that was back on an early Tiger release, and maybe Leopard manages it better; but I really don't have the time to give it a try these days.

-Chris</description>
		<content:encoded><![CDATA[<p>You are correct, I left out that detail while I was typing up the posting just before bedtime.  I have updated the original post to reflect the situation more accurately.</p>
<p>I have tried installing OS X onto a case sensitive filesystem.  I had numerous problems and wound up reformatting rather than dealing with it.  Mind you, that was back on an early Tiger release, and maybe Leopard manages it better; but I really don&#8217;t have the time to give it a try these days.</p>
<p>-Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gregory kick</title>
		<link>http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/comment-page-1/#comment-1318</link>
		<dc:creator>gregory kick</dc:creator>
		<pubDate>Wed, 28 Nov 2007 21:59:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghostwheel.com/merlin/Personal/notes/2007/11/28/os-x-unix-and-dont-you-forget-it/#comment-1318</guid>
		<description>"You see, OS X is a case-insensitive file system."

well first, os x isn't a file system... HFS(+) is the file system and it can be either case-sensitive or case-insensitive.  apple just defaults to creating partitions that are case-insensitive.  so, you can always just create a case-sensitive partition and install on that.</description>
		<content:encoded><![CDATA[<p>&#8220;You see, OS X is a case-insensitive file system.&#8221;</p>
<p>well first, os x isn&#8217;t a file system&#8230; HFS(+) is the file system and it can be either case-sensitive or case-insensitive.  apple just defaults to creating partitions that are case-insensitive.  so, you can always just create a case-sensitive partition and install on that.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
