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: Paul L. <pau...@bo...> - 2014-01-21 18:29:36
|
This is as good an option as any. My nightly build script changes the reference from python2 to python in the configure script before it's run, but this gives the same result. The only other problem building on a Mac at the moment is if you try to build universal (not the easiest thing to do on anything post Snow Leopard), then SseMathFuncs.cpp will fail to build for PPC, it needs some #define protection. I'll try and get this fix checked in tonight or tomorrow. Paul. On 21 Jan 2014, at 08:13, Lasse Steen Bohnstedt wrote: > I've just upgraded os x (to Lion) and downloaded audacity sources again via svn. > ./configure couldn't complete because of a missing python2, it stopped in this section: > === configuring in lib-src/lv2 > > So I did this: > sudo ln -s /usr/bin/python /usr/bin/python2 > ... and it ran without further errors. > > Is that how it's supposed to be done for now? > > // Lasse > > "There is a crack in everything, that's how the light gets in." - L. Cohen > > > On Wed, Dec 18, 2013 at 12:07 PM, Richard Ash <ri...@au...> wrote: > 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 > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk_______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel |