Compiling audacity to a separate directory

All about the fine process of getting Audacity compiled.

Compiling audacity to a separate directory

Permanent link to this post Posted by Sanjoy.Das » Wed Jan 20, 2010 8:47 pm

I have been unsuccessfully trying to get audacity to compile in a
directory different than the one that holds the source code. Audacity
always ends up complaining about the packages in lib-src not being
configured. For instance when I try

sanjoy@sanjoy:/tmp$ ~/new/audacity/configure

The configure script halts with the error

[...]
checking for WIDGETEXTRA... no
configure: error: lib-widget-extra is required to build audacity. A
copy is included in the audacity source distribution at
lib-src/lib-widget-extra/.

How do I rectify this? I really would like to keep my source tree
uncluttered ...
Sanjoy.Das
 
Posts: 2
Joined: Wed Jan 20, 2010 8:44 pm

Re: Compiling audacity to a separate directory

Permanent link to this post Posted by steve » Wed Jan 20, 2010 9:12 pm

The simple solution; make a copy of the source tree and compile it there.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Senior Forum Staff
 
Posts: 32949
Joined: Sat Dec 01, 2007 11:43 am

Re: Compiling audacity to a separate directory

Permanent link to this post Posted by Sanjoy.Das » Wed Jan 20, 2010 10:05 pm

That approach quickly gets out of hand once one starts incrementally editing the source code - making a small change in one file should not require copying an entire directory over.

A better solution would be to hack up a shell script / Makefile which copies files intelligently, based on the last modification dates. But creating such a script / Makefile will probably not be trivial (or so I think).
Sanjoy.Das
 
Posts: 2
Joined: Wed Jan 20, 2010 8:44 pm


Return to Compiling Audacity



Who is online

Users browsing this forum: No registered users and 1 guest