OSX Compiling

Building and customizing Audacity from the source code.

If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like

OSX Compiling

Permanent link to this post Posted by trimboone » Thu Jun 10, 2010 6:18 pm

Hi guys,

I'm having a horrifically hard time trying to compile under OSX through either the command line or XCode. I had the standard problem of pkg-config not being found and have corrected that, now I'm stuck with the same problem as described by the post http://forum.audacityteam.org/viewtopic.php?f=19&t=8080#p58526 where the author has a problem with wx-config etc. I've used the build script posted in the next comment down, and so have 4 versions of wxMac floating around. (honestly ive built wxMac about 25 times today haha...)

wx is installed to /usr/local and so is accessible from the command line - its in my path, pkg-config is all sort (as long as i open XCode from the command line - env vars etc). I've patched the wxMac source before building also. From following that other post, I'm pretty much at the stage where wx is built and ready, and i must be doing something horribly wrong with the project settings to search for wxMac in xcode.

I'm so mind numbingly confused now... can anyone help?

latest audacity beta from svn
wxMac-2.8.10
XCode 3.1.2

Cheers!
Nick
trimboone
 
Posts: 5
Joined: Thu Jun 10, 2010 6:09 pm

Re: OSX Compiling

Permanent link to this post Posted by Gale Andrews » Thu Jun 10, 2010 7:23 pm

trimboone wrote:I'm having a horrifically hard time trying to compile under OSX through either the command line or XCode. I had the standard problem of pkg-config not being found and have corrected that, now I'm stuck with the same problem as described by the post http://forum.audacityteam.org/viewtopic.php?f=19&t=8080#p58526 where the author has a problem with wx-config etc. I've used the build script posted in the next comment down, and so have 4 versions of wxMac floating around. (honestly ive built wxMac about 25 times today haha...)

wx is installed to /usr/local and so is accessible from the command line - its in my path, pkg-config is all sort (as long as i open XCode from the command line - env vars etc). I've patched the wxMac source before building also. From following that other post, I'm pretty much at the stage where wx is built and ready, and i must be doing something horribly wrong with the project settings to search for wxMac in xcode.

I'm so mind numbingly confused now... can anyone help?

latest audacity beta from svn
wxMac-2.8.10
XCode 3.1.2


Nick


Please post the exact error output. Unless you really want to compile, you can get Nightly Builds from SVN.

Generally, it seems to be much easier to build a native version of Audacity than a Universal Binary (see the last post in the thread you cite).


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 15039
Joined: Fri Jul 27, 2007 12:02 am

Re: OSX Compiling

Permanent link to this post Posted by trimboone » Fri Jun 11, 2010 10:04 am

Hi Gale,

Turns out I was just being stupid, i made sure everything was removed and started again..

I'm getting a problem with the build due to some macro business now, heres the error :

tests/Makefile.am:3: ENABLE_TEST_COVERAGE does not appear in AM_CONDITIONAL
tests/Makefile.am:178: LINUX_MINGW_CROSS_TEST does not appear in AM_CONDITIONAL
tests/Makefile.am:220: ENABLE_TEST_COVERAGE does not appear in AM_CONDITIONAL

thats under a static debug build

i see in the other post that you say to add a dirlist file to /usr/share/aclocal pointing to where the .m4 macros are for the pkg-config install, ive found my pkg-config installed to /opt/local and so have added /opt/local/share/aclocal to my dirlist file, yet im still getting these macro errors...

do you think it could be some version problems?
trimboone
 
Posts: 5
Joined: Thu Jun 10, 2010 6:09 pm

Re: OSX Compiling

Permanent link to this post Posted by trimboone » Fri Jun 11, 2010 12:13 pm

oh... totally skipped over that universal binary flag! looks like its from that due to the mention of mingw? rebuilding wx now..
trimboone
 
Posts: 5
Joined: Thu Jun 10, 2010 6:09 pm

Re: OSX Compiling

Permanent link to this post Posted by trimboone » Fri Jun 11, 2010 2:25 pm

nope, same errors...
trimboone
 
Posts: 5
Joined: Thu Jun 10, 2010 6:09 pm

Re: OSX Compiling

Permanent link to this post Posted by Gale Andrews » Fri Jun 11, 2010 6:30 pm

Hi Nick,

I only compile on Windows and Linux and I don't think anyone compiling on Mac regularly reads the Forum at the moment. If you need more help it may be better to subscribe to audacity-devel and ask there.



Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 15039
Joined: Fri Jul 27, 2007 12:02 am

Re: OSX Compiling

Permanent link to this post Posted by trimboone » Fri Jun 11, 2010 6:33 pm

ah ok cheers, im already on it so will send out a mail later!
trimboone
 
Posts: 5
Joined: Thu Jun 10, 2010 6:09 pm


Return to Compiling Audacity



Who is online

Users browsing this forum: No registered users and 1 guest