I am trying to install Marathon on my laptop. Been following along with the instructions at: https://github.com/Aleph-One-Marathon/alephone/wiki/Linux%20Install%20Instructions#ubuntu.
I installed the following libraries, per the instructions,
sudo apt-get install libboost-all-dev libsdl1.2-dev libsdl-image1.2-dev \
libsdl-net1.2-dev libsdl-ttf2.0-dev libspeexdsp-dev libzzip-dev \
libavcodec-dev libavformat-dev libavutil-dev libswscale-dev
However, when I configure the installation with,
~/file path/AlephOne$ ./ configure
I get the following message,
checking for SDL_ttf.h presence....no
error: You need SDL_ttf.h to run Aleph One.
I thought this was included in the libsdl-ttf2.0-dev? Anyone have any clues what is going on? Any help would be much appreciated.
config.logthat shows more details of the error? Possibly configure is looking in the wrong location... – andrew.46 Jun 25 '16 at 19:38Is that at all relevant?
– Grant Moore Jun 25 '16 at 20:03config.logwill be generated in the same location as the./configurefile and can be opened and searched with gedit or similar. Which version of Ubuntu are you running? I can run the compile in VM to check..... – andrew.46 Jun 25 '16 at 20:09grep -C3 '\bSDL_ttf' config.log– steeldriver Jun 25 '16 at 20:58sudo find /usr -name SDL_ttf.hand the result should be:/usr/include/SDL/SDL_ttf.h– andrew.46 Jun 25 '16 at 21:13pkg-config --cflags SDL_ttf– steeldriver Jun 25 '16 at 21:58env CPPFLAGS='-I/usr/include/SDL2' ./configure, I tested this on my own system after moving the sdl directory and seemed to work well enough. Perhaps this will be enough, if not we can dig a little deeper... – andrew.46 Jun 26 '16 at 10:33