Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to install openssn on Ubuntu 12.04. I have extracted the file, and when I type cd openssn then sudo make in a terminal I get this:

main.cpp:32:17: fatal error: SDL.h: No such file or directory

I have been searching all over the forum for how to fix this and have had no luck. This is the first time I have tried to install a program.

share|improve this question
add comment

1 Answer 1

I assume you are installing from openssn-1.3.tar.gz. The README is pretty cryptic about what's needed, since it assumes you are a bit experienced and you might be compiling for any number of Linux distributions. A bit by trial and error, I got it to 'make' without error or warning by installing from Synaptic: libsdl-mixer1.2, libsdl-ttf2.0-0, libsmpeg0,sdlbasic, sdlbrt, libasound2-dev, libavahi-client-dev, libavahi-common-dev, libcaca-dev, libdbus-1-dev, libdrm-dev, libgl1-mesa-dev, libglu1-mesa-dev,libpulse-dev, libsdl1.2-dev, libslang2-dev, libx11-xcb-dev, libxcb-glx0-dev, libxdamage-dev, libxfixes-dev, libxxf86vm-dev, mesa-common-dev, x11proto-damage-dev, x11proto-dri2-dev,x11proto-fixes-dev, x11proto-gl-dev, x11proto-xf86vidmode-dev, libsdl-gfx1.2-4, libsdl-gfx1.2-dev, libsdl-image1.2-dev, gnu-smalltalk, gnu-smalltalk-common, libgst7, libmikmod2-dev, libsdl-mixer-gst, libsdl-mixer1.2-dev and libsigsegv2.

I built it on 12.10, so some details may differ slightly.

Good luck and have fun!

share|improve this answer
    
how do i switch from regex to synaptic? –  Mark Caron Nov 22 '12 at 13:48
    
after removing all of the ,s and other verbage, it worked perfectly. Thank you –  Mark Caron Nov 22 '12 at 14:11
    
Awesome! Glad it's working. –  chili555 Nov 22 '12 at 15:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.