[ Content | Sidebar ]

Archives for June, 2008

Fixing updatedb in OS X

I find the locate command useful, and so like to keep the locate database more or less current. OS X makes this harder than it needs to be by hiding the updatedb command. Here’s how to fix it.

sudo ln -s /usr/libexec/locate.updatedb /usr/local/bin/updatedb

CDPATH vs make

A reader made an interesting comment in reply to an old post. I had experienced some problems running a make file included with the sample code for Joe Armstrong’s Programming Erlang.
Gijsbert de Haan wrote:
About your directory troubles, you might have to unset CDPATH. I have never taken the time to figure out why, but [...]