Installing SDL

Hello, I’ve been perusing the FAQ in attempts to solve the problems I’m
having installing SDL so I can install Zsnes on a newly set-up Slackware
8.1. My kernel is 2.4.18. I’ve installed all 3 RPMs available on the
webpage, I’ve added /usr/local/lib into my /etc/lb.so.conf, I’ve added
/usr/local/bin into my path, I’ve run /sbin/ldconfig, I’ve tried
removing the config.cache from the zsnes src directory, I’ve also added
the directory that libarts.so.0 is in to my /etc/ld.so.conf, as it said.
So now I come to this list for help. Here’s the output of the commands
it says:

which sdl-config
/usr/local/bin/sdl-config

sdl-config --version
1.2.5

locate libSDL

tail config.log
#include “SDL.h”

int main(int argc, char*argv[])
{ return 0; }
#undef main
#define main K_and_R_C_main

int main() {
return 0;
; return 0; }

Any help would greatly, greatly be appreciated. I’m trying to install
the latest version of Zsnes, 1.36.

–Dante