sudo apt install autoconf build-essential libbsd-dev gawk bison flex pkg-config python3 git nasm clang debhelper libelf-dev universal-ctags libsdl2-dev libcap-dev libao-dev libacl1-dev libsearpc-dev cmake libslirp-dev libfluidsynth-dev fluid-soundfont-gs libb64-dev libieee1284-3-dev ladspa-sdk-dev libgpm-dev libxpm-dev libslang2-dev
sudo apt install -t bookworm-backports meson
mkdir ~/git
cd ~/git
git clone https://github.com/stsp/nasm-segelf.git
git clone https://github.com/stsp/thunk_gen.git
git clone https://github.com/alexfru/SmallerC.git
git clone https://github.com/stsp/djstub.git
git clone https://github.com/stsp/dj64dev.git
git clone https://github.com/json-c/json-c.git
git clone https://github.com/munt/munt.git
git clone https://github.com/dosemu2/fdpp.git
git clone https://github.com/dosemu2/install-freedos.git
git clone https://github.com/dosemu2/comcom64.git
git clone https://github.com/dosemu2/dosemu2.git
cd ~/git/nasm-segelf
make clean
./configure
make
sudo make install
cd ~/git/thunk_gen
./configure
meson compile --verbose -C build
sudo meson install -C build
cd ~/git/SmallerC
make clean
./configure
make
sudo make install
cd ~/git/djstub
make clean
make
sudo make install
cd ~/git/dj64dev
make clean
make
sudo make install
cd ~/git/fdpp
make clean
./configure
make
sudo make install
cd ~/git/json-c
rm -r build-json-c
mkdir build-json-c
cd build-json-c
../cmake-configure
make
sudo make install
read -p "Press Enter when ready to build MUNT/mt32emu" x
cd ~/git/munt/mt32emu
cmake -DCMAKE_BUILD_TYPE:STRING=Release .
make
sudo make install
cd ~/git/munt/mt32emu_alsadrv
make
sudo make install
cd ~/git/comcom64
make clean
make
sudo make install
cd ~/git/install-freedos
sudo make install
cd ~/git/dosemu2
make clean
./default-configure
make
sudo make install
echo "/usr/local/lib" | sudo tee /etc/ld.so.conf.d/dosemu2.conf
sudo /sbin/ldconfig
/sbin/ldconfig -p | grep libdosemu2
$dosemu (should get taken to a C prompt)
Comments
Post a Comment