Re: [Audacity-devel] Error building (with python3 as /usr/bin/python)
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: Richard A. <ri...@au...> - 2013-12-18 11:07:51
|
On Tue, 17 Dec 2013 11:46:10 +0000 Paul Livesey <pau...@bo...> wrote: > On 16 Dec 2013, at 20:19, Benjamin Drung <bd...@de...> wrote: > > > On Di, 2013-12-17 at 06:15 +1100, Campbell Barton wrote: > >> Audacity fails to build since waf assumes python is python2 > >> > >> http://www.pasteall.org/48067 > >> > >> Im on arch-linux where running python will execute python3, > >> probably waf should be explicitly called with python2. > > > > Sounds good. I went ahead and changed the "python" call into > > "python2" in r12992. > > Unfortunately this fails to build on a Mac. > > ./configure: line 8: python2: command not found > configure: error: ./configure failed for lib-src/lv2 > > If you need any further details on this please ask. This doesn't surprise me, naming the binary "python2" is an artifact of installing two copies of python on the same system because of lack of backwards compatibility. For the same reason, most distributions have not yet switched the default "python" to be python3, because it breaks too many things! Ideally waf needs to be fixed upstream to work with python3, failing that then configure needs to try various names for the python interpreter to find the correct one on the build system - that is what the configure script is for! Has anyone tried building without an installed copy of python to see whether there is a sane error message? Fairly rare, but I suspect there won't be! Richard |