VOGONS


First post, by Korrupt

User metadata
Rank Newbie
Rank
Newbie

Hi all,

is there any guide for compiling dosbox under latest ubuntu? I tried to do it with "Tutorial: dosbox with Glide under Linux " without the glide part but that didn't work.
However, then I downloaded latest SVN build, installed needed packages and tried to to ./autogen.sh then ./configure and then make fails with this message:

make[4]: Betrete Verzeichnis '/home/scheerkoch/dosbox/src/cpu' source='callback.cpp' object='callback.o' libtool=no \ DEPDIR=.d […]
Show full quote

make[4]: Betrete Verzeichnis '/home/scheerkoch/dosbox/src/cpu'
source='callback.cpp' object='callback.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o callback.o callback.cpp
../../depcomp: Zeile 772: exec: g++: Nicht gefunden.

Installing g++ via apt-get didn't fix it. I didn't compile SDL before compiling dosbox, is that the problem?

Reply 1 of 2, by Korrupt

User metadata
Rank Newbie
Rank
Newbie

Fixed with

sudo apt-get install build-essential g++

Reply 2 of 2, by ripa

User metadata
Rank Oldbie
Rank
Oldbie

What an age we live in when Linux distributions don't come with a compiler installed by default 😜