Just a note to anyone who wants to build this on macOS on Apple Silicon.
Have Xcode installed and install at least these homebrew pre-requites (there might be more but I have a 'busy' homebrew env already)
brew install sdl2 python3
For building resid change the install location to where Apple Silicon homebrew installs lives:
./configure --enable-shared –prefix=/opt/homebrew
# no need for sudo for make install
# no need for ldconfig
Edit pysid/setup.py
-sdl_flags = os.popen('sdl-config --cflags').read().strip().split(' ')
-sdl_libs = os.popen('sdl-config --libs').read().strip().split(' ')
+sdl_flags = os.popen('sdl2-config --cflags').read().strip().split(' ')
+sdl_libs = os.popen('sdl2-config --libs').read().strip().split(' ')
No need for sudo when installing, i.e.
hope that helps.
Just a note to anyone who wants to build this on macOS on Apple Silicon.
Have Xcode installed and install at least these
homebrewpre-requites (there might be more but I have a 'busy' homebrew env already)For building resid change the install location to where Apple Silicon
homebrewinstalls lives:Edit
pysid/setup.pyNo need for
sudowhen installing, i.e.hope that helps.