build 2.4.2 into PPA

Building and customizing Audacity from the source code.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
ubuntuhandbook
Posts: 16
Joined: Tue May 19, 2015 3:54 am
Operating System: Please select

build 2.4.2 into PPA

Post by ubuntuhandbook » Sat Jun 27, 2020 1:07 pm

Hi, I'm the maintainer of ppa:ubuntuhandbook1/audacity.

Just noticed that Audacity has switched to cmake. And I've read steve's post about building on Ubuntu 20.04.

However, the launchpad builders do not have internet connection while the build process requires cloning wxwidgets from github.

:( I'm not a programmer , has no skill to hack on the cmake file. So I'm here to ask if possible to upload wxwidgets (grab from github/audacity/wxwidgets) along with Audacity source into launchpad. More detailed instructions would be appreciated.

steve
Site Admin
Posts: 81434
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: build 2.4.2 into PPA

Post by steve » Sat Jun 27, 2020 9:00 pm

Hi, did you see my reply here: viewtopic.php?p=398885#p398885
Does that help?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

ubuntuhandbook
Posts: 16
Joined: Tue May 19, 2015 3:54 am
Operating System: Please select

Re: build 2.4.2 into PPA

Post by ubuntuhandbook » Sun Jun 28, 2020 2:02 pm

Thanks steve, I've figured out building wxwidgets. However, I'm running into another issue. I've seen similar issue in github bug reporting page, though I don't know exactly where to add --no-undefined flag.
/usr/bin/ld: ./obj-x86_64-linux-gnu/modules/mod-script-pipe/./modules/mod-script-pipe/ScripterCallback.cpp:128: undefined reference to `wxString::Replace(wxString const&, wxString const&, bool)'
/usr/bin/ld: ./obj-x86_64-linux-gnu/modules/mod-script-pipe/./modules/mod-script-pipe/ScripterCallback.cpp:129: undefined reference to `wxEmptyString'
/usr/bin/ld: ./obj-x86_64-linux-gnu/modules/mod-script-pipe/./modules/mod-script-pipe/ScripterCallback.cpp:134: undefined reference to `wxArrayString::Clear()'
/usr/bin/ld: ./obj-x86_64-linux-gnu/modules/mod-script-pipe/./modules/mod-script-pipe/ScripterCallback.cpp:141: undefined reference to `wxString::Mid(unsigned long, unsigned long) const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/modules/mod-script-pipe/./modules/mod-script-pipe/ScripterCallback.cpp:141: undefined reference to `operator+(wxString const&, wchar_t const*)'
/usr/bin/ld: ./obj-x86_64-linux-gnu/modules/mod-script-pipe/./modules/mod-script-pipe/ScripterCallback.cpp:141: undefined reference to `wxArrayString::Add(wxString const&, unsigned long)'
Full build log: https://launchpadlibrarian.net/48619852 ... ING.txt.gz

steve
Site Admin
Posts: 81434
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: build 2.4.2 into PPA

Post by steve » Sun Jun 28, 2020 2:20 pm

ubuntuhandbook wrote:
Sun Jun 28, 2020 2:02 pm
I've seen similar issue in github bug reporting page
Could you post a link to that/those issues.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

ubuntuhandbook
Posts: 16
Joined: Tue May 19, 2015 3:54 am
Operating System: Please select

Re: build 2.4.2 into PPA

Post by ubuntuhandbook » Sun Jun 28, 2020 3:07 pm

Seems to be:

https://github.com/audacity/audacity/issues/552

Though I'm building for Ubuntu.

steve
Site Admin
Posts: 81434
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: build 2.4.2 into PPA

Post by steve » Sun Jun 28, 2020 4:01 pm

I think the problem is that mod-script-pipe requires wxWidgets but for some reason it isn't found when building the module.
Are you setting LD_LIBRARY_PATH, and if not, how does cmake know where to find wxWidgets?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply