Audacity 2.4.2: build failure on antix 4.9.160 32-bit [SOLVED]

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
rachdatu
Posts: 12
Joined: Thu Jun 25, 2020 12:18 pm
Operating System: Windows 7

Audacity 2.4.2: build failure on antix 4.9.160 32-bit [SOLVED]

Post by rachdatu » Sun Aug 23, 2020 7:48 pm

Hello

I am trying to build 2.4.2 on Antix (32 bit) without success. I followed the instructions from viewtopic.php?f=19&t=111755
To recap what has been done:
- Installed cmake 3.17.4 from the sources and then follow the above link.
gcc is 6.3.0

The build gets stuck at this point:

Code: Select all

[ 43%] Linking C static library ../../lib/audacity/liblibsndfile.a
[ 43%] Built target libsndfile
Scanning dependencies of target libsoxr
[ 43%] Building C object cmake-proxies/libsoxr/CMakeFiles/libsoxr.dir/__/__/lib-src/libsoxr/src/cr.c.o
cc: error: unrecognized command line option ‘-msse -mfpmath=sse’; did you mean ‘-mfpmath=sse’?
cmake-proxies/libsoxr/CMakeFiles/libsoxr.dir/build.make:82: recipe for target 'cmake-proxies/libsoxr/CMakeFiles/libsoxr.dir/__/__/lib-src/libsoxr/src/cr.c.o' failed
make[2]: *** [cmake-proxies/libsoxr/CMakeFiles/libsoxr.dir/__/__/lib-src/libsoxr/src/cr.c.o] Error 1
CMakeFiles/Makefile2:2096: recipe for target 'cmake-proxies/libsoxr/CMakeFiles/libsoxr.dir/all' failed
make[1]: *** [cmake-proxies/libsoxr/CMakeFiles/libsoxr.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Can you help?
Thanks

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

Re: Audacity 2.4.2: build failure on antix 4.9.160

Post by steve » Sun Aug 23, 2020 8:03 pm

Are you building on an old computer? Does it have SSE2?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

rachdatu
Posts: 12
Joined: Thu Jun 25, 2020 12:18 pm
Operating System: Windows 7

Re: Audacity 2.4.2: build failure on antix 4.9.160

Post by rachdatu » Sun Aug 23, 2020 8:54 pm

Thanks for the quick answer.
I am running Antix on virtual box (win7) on a relatively new machine (~ 4-5 years old)

However, this is just for testing. I then would like to install Audacity on Antix on a pentium 4 at some point.

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

Re: Audacity 2.4.2: build failure on antix 4.9.160

Post by steve » Sun Aug 23, 2020 9:41 pm

I know Audacity will build on Debian 10 64-bit in VirtualBox / Ubuntu host, or macOS host, and I've built previous version on 32-bit Debian in VB with Ubuntu host, but I've never tried 32-bit Antix with Windows 7 host.

Have you installed Guest Additions?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

rachdatu
Posts: 12
Joined: Thu Jun 25, 2020 12:18 pm
Operating System: Windows 7

Re: Audacity 2.4.2: build failure on antix 4.9.160

Post by rachdatu » Mon Aug 24, 2020 2:08 pm

Have you installed Guest Additions
Yes, it's installed.

In the meantime, I have installed Antix 4.9.212 (32 bit) in Vbox as before. ISO image is antiX-19.2_386-full.iso
Same issue, stop at the same step.

The image I installed first was antiX-17.4.1_386-full.iso

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

Re: Audacity 2.4.2: build failure on antix 4.9.160

Post by steve » Mon Aug 24, 2020 2:48 pm

Is 64-bit Debian not an option?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

rachdatu
Posts: 12
Joined: Thu Jun 25, 2020 12:18 pm
Operating System: Windows 7

Re: Audacity 2.4.2: build failure on antix 4.9.160

Post by rachdatu » Mon Aug 24, 2020 4:06 pm

Unfortunately not with a Pentium 4 and my motherboard. I have a couple of them I would like to repurpose for my workbench.
It could have been fun to use Audacity as a signal generator...

Is there an older version that would work in a 32 bit environment?

Do you think it's a problem with the virtual machine because I could try to build it in the "true" OS?

Thanks

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

Re: Audacity 2.4.2: build failure on antix 4.9.160

Post by steve » Mon Aug 24, 2020 5:18 pm

Audacity 2.4.2 "should" build on 32-bit Linux, I've just not tried it myself.

In your Antix guest OS, what do you get if you run:

Code: Select all

cat /proc/cpuinfo | grep sse2
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

rachdatu
Posts: 12
Joined: Thu Jun 25, 2020 12:18 pm
Operating System: Windows 7

Re: Audacity 2.4.2: build failure on antix 4.9.160

Post by rachdatu » Mon Aug 24, 2020 7:08 pm

cat /proc/cpuinfo | grep sse2

Code: Select all

flags		: fpu vme de pse tsc msr mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht rdtscp constant_tsc xtopology nonstop_tsc pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 x2apic popcnt aes xsave avx rdrand hypervisor lahf_lm fsgsbase

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

Re: Audacity 2.4.2: build failure on antix 4.9.160

Post by steve » Tue Aug 25, 2020 10:39 am

That's good. It's reporting that you do have SSE.
Which exact version of Antix are you using? I'll try installing it in Virtualbox and see if Audacity will build for me.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked