Hi,
How do I install Audacity 3.3.3 on Ubuntu 22.04 ARM64 with Parallels Desktop on a Mac M1 chip?
I followed the instructions below but failed.
parallels@ubuntu-linux-22-04-desktop:~/Desktop/build$ cmake -G "Unix Makefiles" ../audacity
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python3: /usr/bin/python3.10 (found version "3.10.6") found components: Interpreter
-- The ASM_NASM compiler identification is unknown
-- Didn't find assembler
-- Build Info:
-- Host System: Linux-5.15.0-41-generic
-- Host System Name: Linux
-- Host System Processor: aarch64
-- Host System Version: 5.15.0-41-generic
-- Host System Architecture: 64-bit
--
-- Compiler: /usr/bin/c++
-- Compiler Version: 11.2.0
-- Compiler Standard: 17
-- Compiler Standard Required: ON
-- Compiler Extensions:
--
-- Current Commit: b99aedb11
--
-- Looking for pow in m
-- Looking for pow in m - found
-- Looking for __atomic_fetch_add_4 in atomic
-- Looking for __atomic_fetch_add_4 in atomic - found
-- Performing Test HAVE_MMX
-- Performing Test HAVE_MMX - Failed
-- Performing Test HAVE_SSE
-- Performing Test HAVE_SSE - Failed
-- Performing Test HAVE_SSE2
-- Performing Test HAVE_SSE2 - Failed
-- Looking for 4 include files float.h, ..., string.h
-- Looking for 4 include files float.h, ..., string.h - found
-- Looking for assert.h
-- Looking for assert.h - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for fileno
-- Looking for fileno - found
-- Looking for flock
-- Looking for flock - found
-- Looking for gmtime
-- Looking for gmtime - found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for lrint
-- Looking for lrint - found
-- Looking for lrintf
-- Looking for lrintf - found
-- Looking for lstat
-- Looking for lstat - found
-- Looking for mlock
-- Looking for mlock - found
-- Looking for posix_fadvise
-- Looking for posix_fadvise - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of float
-- Check size of float - done
-- ========== Using Conan version of ZLIB ==========
-- ========== Using Conan version of EXPAT ==========
-- ========== Using Conan version of PNG ==========
-- ========== Using Conan version of JPEG ==========
-- ========== Using Conan version of wxWidgets ==========
-- ========== Using Conan version of libmp3lame ==========
-- ========== Using Conan version of mpg123 ==========
-- ========== Using Conan version of libid3tag ==========
-- ========== Using Conan version of WavPack ==========
-- ========== Using Conan version of Ogg ==========
-- ========== Using Conan version of FLAC ==========
-- ========== Using Conan version of Opus ==========
-- ========== Using Conan version of Vorbis ==========
-- ========== Using Conan version of SndFile ==========
-- ========== Using Conan version of PortAudio ==========
-- ========== Using Conan version of PortMidi ==========
-- ========== Using Conan version of vst3sdk ==========
-- ========== Using Conan version of Catch2 ==========
-- Found libuuid:
libuuid_INCLUDE_DIR: /usr/include
libuuid_LIBRARIES: /usr/lib/aarch64-linux-gnu/libuuid.so
'/usr/bin/python3.10' '/home/parallels/Desktop/audacity/conan/conan_runner.py' '--build-dir' '/home/parallels/Desktop/build' '--compiler' 'GNU' '--compiler-version' '11.2.0' '--build-types' 'Debug' '--target-arch' 'aarch64' '--build-arch' 'aarch64' '--lib-dir' 'lib/audacity' '-o' 'use_zlib=True' 'use_expat=True' 'use_libpng=True' 'use_libjpeg-turbo=True' 'use_wxwidgets=True' 'use_libmp3lame=True' 'use_mpg123=True' 'use_libid3tag=True' 'use_wavpack=True' 'use_ogg=True' 'use_flac=True' 'use_opus=True' 'use_vorbis=True' 'use_libsndfile=True' 'use_jack=True' 'use_portaudio=True' 'use_portmidi=True' 'use_vst3sdk=True' 'use_catch2=True'
Using Conan version 1.59.0 (conan)
WARN: Remotes registry file missing, creating default one in /home/parallels/.conan/remotes.json
Adding audacity-recipes remote...
Adding audacity-binaries remote...
Updating global Conan config...
Auto detecting your dev setup to initialize the default profile (/home/parallels/.conan/profiles/default)
CC and CXX: /usr/bin/cc, /usr/bin/c++
No compiler was detected (one may not be needed)
Default settings
os=Linux
os_build=Linux
arch=armv8
arch_build=armv8
build_type=Release
ERROR: Not able to automatically detect '/usr/bin/cc' version
*** You can change them in /home/parallels/.conan/profiles/default ***
*** Or override with -s compiler='other' -s ...s***
ERROR: Invalid setting 'aarch64' is not a valid 'settings.arch' value.
Possible values are ['x86', 'x86_64', 'ppc32be', 'ppc32', 'ppc64le', 'ppc64', 'armv4', 'armv4i', 'armv5el', 'armv5hf', 'armv6', 'armv7', 'armv7hf', 'armv7s', 'armv7k', 'armv8', 'armv8_32', 'armv8.3', 'sparc', 'sparcv9', 'mips', 'mips64', 'avr', 's390', 's390x', 'asm.js', 'wasm', 'sh4le', 'e2k-v2', 'e2k-v3', 'e2k-v4', 'e2k-v5', 'e2k-v6', 'e2k-v7', 'xtensalx6', 'xtensalx106', 'xtensalx7']
Read "http://docs.conan.io/en/latest/faq/troubleshooting.html#error-invalid-setting"
Restoring global Conan config...
Traceback (most recent call last):
File "/home/parallels/Desktop/audacity/conan/conan_runner.py", line 339, in <module>
subprocess.check_call(conan_options)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['conan', 'install', '/home/parallels/Desktop/audacity/conan', '--build=missing', '--install-folder', '/home/parallels/Desktop/build/conan-install-debug', '--output-folder', '/home/parallels/Desktop/build', '--remote', 'audacity-binaries', '--profile:build', '/home/parallels/Desktop/build/profile-build.profile', '--profile:host', '/home/parallels/Desktop/build/profile-host-debug.profile']' returned non-zero exit status 1.
CMake Error at cmake-proxies/cmake-modules/AudacityDependencies.cmake:202 (message):
Conan failed to install dependencies (1) /usr/bin/python3.10
Call Stack (most recent call first):
CMakeLists.txt:572 (include)
-- Configuring incomplete, errors occurred!
See also "/home/parallels/Desktop/build/CMakeFiles/CMakeOutput.log".
See also "/home/parallels/Desktop/build/CMakeFiles/CMakeError.log".
parallels@ubuntu-linux-22-04-desktop:~/Desktop/build$