What am I doing wrong?

I am trying to install a supermario clone game on my linux machine… I have
unloaded the program, and I did ./configure and it seems that everything
went fine… when i went to make the file this is what I got:

[root at localhost supermarioclone]# make
make all-recursive
make[1]: Entering directory /usr/local/supermarioclone' Making all in include make[2]: Entering directory/usr/local/supermarioclone/include’
make[2]: Nothing to be done for all'. make[2]: Leaving directory/usr/local/supermarioclone/include’
Making all in src
make[2]: Entering directory /usr/local/supermarioclone/src' source='box.cpp' object='box.o' libtool=no \ depfile='.deps/box.Po' tmpdepfile='.deps/box.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I../includesdl-config
–cflags-Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wtraditional -Wpointer-arith -Wmissing-prototypes -O1 -g -c -o box.otest -f ‘box.cpp’ || echo
’./’box.cpp In file included from box.cpp:18: ../include/globals.h:61:21: SDL_ttf.h: No such file or directory ../include/globals.h:62:23: SDL_image.h: No such file or directory ../include/globals.h:64:23: SDL_mixer.h: No such file or directory In file included from box.cpp:18: ../include/globals.h:124: syntax error before’ token
…/include/globals.h:169: syntax error before *' token ../include/globals.h:170: syntax error before
’ token
box.cpp: In member function virtual void cGoldBox::PlayerCollision(int)': box.cpp:55:coin’ undeclared (first use this function)
box.cpp:55: (Each undeclared identifier is reported only once for each
function
it appears in.)
box.cpp:55: Mix_PlayChannel' undeclared (first use this function) make[2]: *** [box.o] Error 1 make[2]: Leaving directory/usr/local/supermarioclone/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/supermarioclone’
make: *** [all] Error 2

It seems that I need to install the SDL ttf, SDL image, and SDL mixer, but I
think I have already installed them. Anyway, can anyone help me?? I would
appreciate it!!!_________________________________________________________________
Has one of the new viruses infected your computer? Find out with a FREE
online computer virus scan from McAfee. Take the FreeScan now!
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

David Martin wrote:

I am trying to install a supermario clone game on my linux machine…
I have unloaded the program, and I did ./configure and it seems that
everything went fine… when i went to make the file this is what I got:

[root at localhost supermarioclone]# make
make all-recursive
make[1]: Entering directory /usr/local/supermarioclone' Making all in include make[2]: Entering directory/usr/local/supermarioclone/include’
make[2]: Nothing to be done for all'. make[2]: Leaving directory/usr/local/supermarioclone/include’
Making all in src
make[2]: Entering directory /usr/local/supermarioclone/src' source='box.cpp' object='box.o' libtool=no \ depfile='.deps/box.Po' tmpdepfile='.deps/box.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I../includesdl-config --cflags-Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wtraditional -Wpointer-arith -Wmissing-prototypes -O1 -g -c -o box.otest -f ‘box.cpp’ || echo
’./’`box.cpp
In file included from box.cpp:18:
…/include/globals.h:61:21: SDL_ttf.h: No such file or directory
…/include/globals.h:62:23: SDL_image.h: No such file or directory
…/include/globals.h:64:23: SDL_mixer.h: No such file or directory

You need to install the following development packages :
SDL_ttf-devel
SDL_image-devel
SDL_mixer-devel
for your distribution.

Those packages name vary from one distribution to another, but you’ll
usually find something like SDL_ttf-dev (debian) or SDL_ttf-devel
(redhat, mandrake) and so on…

Stephane