sdl-config troubles

I’m trying to install a Nintendo emulator on my Mint 16 Mate system. The two I’ve tried are FCEUX and Nestopia. I’ve installed the scons builder, the required libraries and the g++ compiler. All seem to be working fine but in both cases I’m hitting a snag which prevents either emulator being setup. Here’s the terminal output when I try to execute the scons file in my FCEUX folder:

lee@lee-P4i65G ~/Downloads/fceux-2.2.1 $ scons
scons: Reading SConscript files ...
platform:  posix
Checking for C function asprintf()... (cached) yes
Checking for inflate in C library z... (cached) yes
Checking for C library SDL... (cached) yes
Checking for C library gtk-x11-2.0... (cached) yes
Checking for C library lua5.1... (cached) yes
Checking for C library gd... (cached) no
Did not find libgd, you won't be able to create a logo screen for your avis.
Checking for C library GL... (cached) yes
/bin/sh: 1: sdl-config: not found
OSError: 'sdl-config --cflags --libs' exited 127:
  File "/home/lee/Downloads/fceux-2.2.1/SConstruct", line 152:
    env.ParseConfig('sdl-config --cflags --libs')
  File "/usr/local/lib/scons-2.3.4/SCons/", line 1579:
    return function(self, self.backtick(command))
  File "/usr/local/lib/scons-2.3.4/SCons/", line 597:
    raise OSError("'%s' exited %d" % (command, status))
lee@lee-P4i65G ~/Downloads/fceux-2.2.1 $

I don’t think that the libgd thing is a critical issue. The problem seems to be with the missing sdl-config file. I’ve checked it is there on my system but the icon has an “X” in the corner and under Properties is labelled as broken. Can anyone help me with this?

sdl-config is part of the libsdl1.2-dev package
libgd is part of the libgd-dev package

So try running:

sudo apt-get install libsdl1.2-dev libgd-dev

then try ‘scons’ again.

Mint 16 is no longer supported - any reason you haven’t upgraded to Mint 17 (Mint 17.1 now)

Thanks Mark, that did the job. Emulator’s up-and-running. :slight_smile:

Chemicafan, still on the to-do list.