Page 1 of 1

Compiling mac Audacity 2.0.4+ (current HEAD)

Posted: Mon Sep 30, 2013 1:22 pm
by jcxz100
I have already compiled Audacity HEAD (after 2.0.4 plus my own mods) with success under Windows XP and I thought I'd set up my OSX partition too.
I'm not successful yet..

I've come a good way - but you're probably not interested in knowing what I have made work, and if so please skip to next paragraph.
But for those interested I've overcome:
- A stale OSX 10.5 partition.
- Missing libtool and cmake.
- A macports library that had somehow ended up in a stalemate - a "port update outdated" reported of unsolvable incompatibilities.
- A compile bash script with CR+LF line endings.

But I can't compile portaudio.
It prints an error from line 15795 of the portaudio-19/compile script as it gives up on searching for SDK version - and this I don't understand because I have both /Developer/SDKs/MacOSX10.5.sdk and /Developer/SDKs/MacOSX10.4u.sdk.
Any ideas?

My system:
- OSX: 10.5 Leopard
- XCode 3.1
- Intel Core2 Duo 2.2 GHz
- 2 GB RAM
- 10 GB free space on HDD

// Lasse

Re: Compiling mac Audacity 2.0.4+ (current HEAD)

Posted: Mon Sep 30, 2013 9:04 pm
by Gale Andrews
Hi Lasse,

Although I compile Audacity on Mac I am not an expert, and I suspect most others here also.

The 10.5 SDK could be the problem. Is this an Apple Mac machine?

Are you following http://wiki.audacityteam.org/wiki/Building_On_Mac ?


Gale

Re: Compiling mac Audacity 2.0.4+ (current HEAD)

Posted: Tue Oct 01, 2013 5:52 am
by jcxz100
Thanks Gale!


That might be the problem as I have not been following that guide... I will give it a go immediately :)
I believe there are some pages in the non-wiki part of the site that should be updated to point to that particular wiki page, if that is the officially maintained guide.

I got to this page instead:
- http://wiki.audacityteam.org/wiki/Developing_On_Mac
and this
- http://wiki.audacityteam.org/wiki/Build ... ies_On_Mac
because that's where one is lead to after having downloaded the sources from this page:
- http://audacityteam.org/download/source

I've also had a look at the compile.txt file in the mac/ folder of the sources, but even though it claims to be updated for 2.0.4. I don't suppose it really is.
And - btw - that text file also points you back here:
- http://wiki.audacityteam.org/wiki/Developing_On_Mac


And yes, my computer *is* an Apple MacBook late 2007, but if the machine is itself a little confused about its identity, that could be explained by me having run only WinXP on it since 2009 ;-)


Thanks
Lasse

Re: Compiling mac Audacity 2.0.4+ (current HEAD)

Posted: Wed Oct 02, 2013 1:07 am
by Gale Andrews
Hi Lasse,

You're right that Leland's "Building on Mac" is only obliquely linked to - though there is a prominent yellow div on http://wiki.audacityteam.org/wiki/Developing_On_Mac that points to Leland's page. The obliqueness is because no-one was sure how well Leland's instructions would work on Tiger, and then I had some problems using Leland's instructions to build with accessibility enabled (I've not tried that again).

Ideally Leland's page should really just replace http://wiki.audacityteam.org/wiki/Developing_On_Mac but what about the case of an existing developer who already has Xcode 5 or a more modern OS X SDK?


Gale