Updated 2020-11-28: thanks, Ennio! Should now build after new Raspberry Pi OS and Vice changes
As requested on our local Commodore user group mailing list, how to install VICE on a Raspberry Pi running Raspberry Pi OS:
sudo apt install autoconf automake build-essential byacc dos2unix flex libavcodec-dev libavformat-dev libgtk2.0-cil-dev libgtkglext1-dev libmp3lame-dev libmpg123-dev libpcap-dev libpulse-dev libreadline-dev libswscale-dev libvte-dev libxaw7-dev subversion yasm libgtk3.0-cil-dev xa65 libsdl2-dev libsdl2-image-dev libgtk-3-dev libglew-dev mkdir -p src cd src svn checkout https://svn.code.sf.net/p/vice-emu/code/trunk trunk cd trunk/vice ./autogen.sh ./configure --disable-pdf-docs make -j4 sudo make install
This was freely adapted from the build docs, Linux-Native-Howto.txt, which has more info if you get stuck.
If you’re feeling fancy and want nice GUI controls and sound recording and menu stuff, try
./configure --disable-pdf-docs --enable-lame --with-mpg123 --enable-shared-ffmpeg --enable-x64 --enable-native-gtk3ui --enable-desktop-files
This will give you desktop icons too. I’m not sure in the apt line is quite right, though — but I’ve had my doubts about all those CIL entries, ‘cos I think they pull in Mono/.Net, and who would want to use that?
I install that today on a pi 3b+ with an up to date Raspbian stretch. I have an error at the end of the compilation.
I have added : sudo apt-get install libsdl2-dev.
Now all is ok
Looks like the original instructions I cribbed from have gone away, so thanks for this.
In the file
https://sourceforge.net/p/vice-emu/code/HEAD/tree/trunk/vice/doc/building/Linux-GTK3-Howto.txt
I don’t see any requirement for the .NET stuff I pulled in (*-cil-dev packages), either.
Hi Steve,
I had to make 2 changes to get the most recent Vice to compile on Raspbian as of now.
1. ./configure –disable-pdf-docs (as recommended from https://www.lemon64.com/forum/viewtopic.php?t=70098&start=615)
2. apt install libsdl2-image-dev
Thanks, Ennio! The –disable-pdf-docs option keeps the size of the install way down: texinfo and all are several gigabytes in size.
(who is this Steve fella tho?)