Search code examples
objective-cmacosaudioaudacity

How to build audacity app source code for Mac OS X


I downloaded the audacity source code from http://code.google.com/p/audacity/downloads/detail?name=audacity-fullsrc-1.3.13-beta.tar.bz2&can=2&q=

I have to build my app on Mac OS X 10.6 & for Xcode 3.2.5.

I tried by following the steps from 'compile.txt' file in audacitysourceCodeFolder/mac/

But no success.

Can anyone please help me out in installing this. As I need to study the waveform generation code for a compressed file.


Solution

  • Run:

    /Users/Anne/Desktop/audacity-src-1.3.13-beta/configure 
    

    Says:

    configure: error: pkg-config is required to compile audacity!
    

    Download an install MacPorts:

    http://www.macports.org/install.php
    

    Install pkgconfig

    sudo port install pkgconfig
    

    Run again:

    /Users/Anne/Desktop/audacity-src-1.3.13-beta/configure 
    

    Says:

    lib-widget-extra is required to build audacity. A copy is included in the audacity source distribution at lib-src/lib-widget-extra/.
    

    Build and install lib-widget-extra:

    cd /Users/Anne/Desktop/audacity-src-1.3.13-beta/lib-src/lib-widget-extra 
    ./configure
    make
    sudo make install
    

    Run again:

    /Users/Anne/Desktop/audacity-src-1.3.13-beta/configure 
    

    Says:

    configure: error: must have Ogg installed!
    

    Install libogg

    sudo port install libogg
    

    Run:

     /Users/Anne/Desktop/audacity-src-1.3.13-beta/configure --with-portmixer=no
    

    Build:

    cd /Users/Anne/Desktop/audacity-src-1.3.13-beta/
    sudo make install
    

    For additional information check:
    http://forum.audacityteam.org/
    http://forum.audacityteam.org/viewtopic.php?f=19&t=55176