I’m trying to get setup to compile audacity on a macbook air with Xcode 7.3
I’m following the instructions on this page:
http://wiki.audacityteam.org/wiki/Building_On_Mac
Under the section:
“Install CMake”
And getting stuck on this step:
“Configure cmake:
./configure --prefix=/usr/local --docdir=/share/doc/CMake --mandir=/share/man”
Here’s what my input looks like, and the resulting error:
“djs-MacBook-Air:cmake-3.5.2-Darwin-x86_64 dj$ ./configure --prefix=/usr/local --docdir=/share/doc/CMake --mandir=/share/man
-bash: ./configure: No such file or directory”
I browse on my hard drive to this path and I see no executable “configure”. The “./” tells me that this is a hidden directory/command though, yes?. Though, I’ve got cmake 3.5.2 whereas the instructions are refering to 2.8.10.2 version. Is this something that was in 2.8.x and is no longer in 3.5.2?
If I look in applications, I appear to have both installed. I see “CMake” (which is v3.5.2) and I also see “Cmake 2.8-3”. 3.x is there because I copied it from downloads after unzipping. 2.8 is there due to a separate setup instruction set that had me download/compile/install via ports.
I can launch both versions. If I hit the configure button inide of the app, I get this error (I was trying to change the generator to XCode):
“Error in configuration process, project files may be invalid.”
When I click through, here’s the output in CMake
CMake Error: Unable to open cache file for save. //CMakeCache.txt
CMake Error: The source directory “” does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
CMake Error: : System Error: No such file or directory
I’m not sure how CMake will be used later in the process, should I just move on because it’s installed? Or do I need to stop and get this configure step correct?
In the end, I’d ideally like to be compiling and running audacity through Xcode, so perhaps I can skip CMake and Pkgconfig? Though, When just opening the Audacity/mac/Audacity.xcodeproj I get a pile of other errors I’m trying to sort through. I’ll start a separate thread for those issues.