MAC OS Lion - build errors: config.h: No such file

Building and customizing Audacity from the source code.
Forum rules
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
Post Reply
twenzinger
Posts: 3
Joined: Wed May 09, 2012 5:04 am
Operating System: Please select

MAC OS Lion - build errors: config.h: No such file

Post by twenzinger » Sun Feb 10, 2013 2:58 am

New to the MAC world, so there is likely a very simple and obvious solution.

Trying to build audacity-src-2.0.2
Followed "Building On Mac" from wiki.
From command line build, I get 195 of this type of error.
I tried using Xcode 3.2.6 and got even more.
Tried just compiling "libFLAC" separately and got this error, which is common to all the others:
/audacity-src-2.0.2/mac/../lib-src/libflac/src/libFLAC/bitmath.c:33:22: error: config.h: No such file or directory
Looks like the lines that generate the error are:
#if HAVE_CONFIG_H
#include <config.h>
#endif


Please tell me what I am doing wrong!

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: MAC OS Lion - build errors: config.h: No such file

Post by Gale Andrews » Sun Feb 10, 2013 4:52 am

twenzinger wrote:New to the MAC world, so there is likely a very simple and obvious solution.

Trying to build audacity-src-2.0.2
Followed "Building On Mac" from wiki.
From command line build, I get 195 of this type of error.
I tried using Xcode 3.2.6 and got even more.
Tried just compiling "libFLAC" separately and got this error, which is common to all the others:
/audacity-src-2.0.2/mac/../lib-src/libflac/src/libFLAC/bitmath.c:33:22: error: config.h: No such file or directory
Looks like the lines that generate the error are:
#if HAVE_CONFIG_H
#include <config.h>
#endif


Please tell me what I am doing wrong!
Do you mean this page http://wiki.audacityteam.org/wiki/Building_On_Mac ?

What version of OS X? if you are on OS X 10.5 or earlier, perhaps you should try http://wiki.audacityteam.org/wiki/Developing_On_Mac .

I suggest you use the 2.0.3 tarball or HEAD rather than 2.0.2.

No-one on the Forum currently builds Audacity on Mac so I suggest you follow your own intuition or Google search results as you wish. Note however that you have to use XCode (IDE or its own command-line tools). Command-line building as done on Linux hasn't worked for years.

If you find a solution, please post it here. If not, please recheck all the Wiki steps and tell us your version of OS X


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

twenzinger
Posts: 3
Joined: Wed May 09, 2012 5:04 am
Operating System: Please select

Re: MAC OS Lion - build errors: config.h: No such file

Post by twenzinger » Sun Feb 10, 2013 5:17 am

OS X Lion 10.7.5

I will try 2.0.3. My concern with this is the "minsrc".
The tar I have with 2.0.2 is fullsrc.
I did not see a 2.0.3 "fullsrc"
Is there one that I missed?

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: MAC OS Lion - build errors: config.h: No such file

Post by Gale Andrews » Sun Feb 10, 2013 2:49 pm

twenzinger wrote:I will try 2.0.3. My concern with this is the "minsrc".
The tar I have with 2.0.2 is fullsrc. I did not see a 2.0.3 "fullsrc"
There is no fullsrc tarball for 2.0.3.

If you need all the libraries included (probably you do on Mac) follow the steps here to check out the 2.0.3 tagged release.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply