This is why I prefer Homebrew -- it's basically a lightweight "package" manager for your /usr/local prefix.
I used to use MacPorts but got tired of having to tweak CFLAGS/LDFLAGS, and keeping around a massive /opt/local prefix.

Haven't tested with Audacity per se, but pkg-config and autotools are in there.


Sent from my iPhone

On Jan 19, 2013, at 9:23 PM, Paul Livesey <> wrote:

On 20 Jan 2013, at 01:33, Leland wrote:

On 1/19/2013 12:56 PM, Leland wrote:
On 1/19/2013 12:12 PM, David Ryskalczyk wrote:
Would be nice if Homebrew was also listed as an option rather than

I'm starting to think you and Paul have something here.  Prebuilts
aren't a good idea as there's no "control" over where things go.  And
homebrew would get me past an environment variable issue with the Xcode

Gotta go play now...

Decided to stick with MacPorts for now.  Building pkg-config requires
several other packages and I wanted to make the guide as "simple" as

Really? I built pkg-config and cmake on lion without having to install anything other than Xcode. Well, I don't remember needing anything else.

I was able to resolve the issue I was running into on how to make the
Xcode IDE find pkg-config and cmake.  Since MacPorts updates the users
.profile, xcodebuild really wasn't a problem.  But the updated .profile
doesn't get sourced for GUI apps and Xcode couldn't find them.

So I simply added a couple of commands to the guide that created links
to pkg-config and cmake in the /Developer/usr/bin directory.  Works

I've always spawned Xcode from the command line (open <path to Xcode>/Xcode or open Xcode project work) which passes my environment along quite nicely but it's not an ideal solution.  You can add paths to the path via Xcode but it's also not an ideal solution for the end user, much like having to have WX_PREFIX set which causes no end of trouble with the inexperienced.

Also, added a command to the guide for folks installing Xcode 4.5.2 that
creates an xcodebuild3 in /usr/bin to make it easier to invoke the 3.2.6

Finally, I added Audacity download and build instructions.

I'm off to test them on Snow and Mountain.


Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
audacity-devel mailing list