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.
Please be more precise. I’m trying to reproduce your setup.
The recommended way to install the latest stable version of Cmake is to download and run the cmake “.sh” file, but that’s only available for 64-bit OS, so I’m not clear how you installed Cmake.
Go to the folder that contains the file “bootstrap” and type:
./bootstrap -- -DCMAKE_USE_OPENSSL=OFF
OPENSSL is not installed by default. That’s why you have to turn this option OFF. You can as well just run ./bootstrap. After a few minutes, you should get a message telling you to add that option or install openssl. I don’t need openssl, so I didn’t install it.
I’m now looking to see if this is a general problem for 32-bit Linux, or if it is specific to Antix. If it’s a general problem, then I expect that it can be fixed at our end. If it’s specific to Antix then I’d guess that it’s due to some missing dependency.
Unfortunately I’ve hit a problem setting up 32-bit Ubuntu due to a bug in VirtualBox Guest Additions. I’m currently trying to work around this problem.
I’m getting the same error with Ubuntu 18.04 32-bit.
I can see where the problem lies, but not how to fix it, so I’ve sent an enquiry to the Audacity developers. I’ll update here when I have more info.
We have a fix. cmake.patch (3.27 KB)
Download the “cmake.patch” file, and put it in the root of your Audacity source code (If you’re using the official audacity-minsrc-2.4.2.tar.gz, then that will be the “audacity-minsrc-2.4.2/” folder.)
Open a terminal window and navigate to the “audacity-minsrc-2.4.2” folder.
Apply the patch:
patch -p1 < cmake.patch
Delete the contents of your build folder, and run your cmake command followed by “make”.