LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Cant compile TuxKart CVS. Give out error, on make. (https://www.linuxquestions.org/questions/linux-games-33/cant-compile-tuxkart-cvs-give-out-error-on-make-248617/)

RHLinuxGUY 10-28-2004 10:22 PM

Cant compile TuxKart CVS. Give out error, on make.
 
I got the CVS of TuxKart from here... http://sourceforge.net/cvs/?group_id=4647

Do this at command line

1. cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tuxkart login (press enter when asked for login password)
2. cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tuxkart co tuxkart

I changed directory to "tuxkart" and I did a ./configure then make, but when I did make, I got this...

sh-2.05b$ make
Making all in src
make[1]: Entering directory `/home/george/tuxkart/src'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"tuxkart\" -DVERSION=\"0.4.0\" -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_IMAGE=1 -DHAVE_LIBSDL_TTF=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PTHREAD=1 -DSTDC_HEADERS=1 -DLINUX_JOYSTICK_IS_PRESENT=1 -DTUXKART_DATADIR=\"/usr/local/share/games/tuxkart\" -I. -I. -g -O2 -I/usr/local/include/SDL -D_REENTRANT -I/usr/X11R6/include -Wall -MT sdldrv.o -MD -MP -MF ".deps/sdldrv.Tpo" -c -o sdldrv.o sdldrv.cxx; \
then mv -f ".deps/sdldrv.Tpo" ".deps/sdldrv.Po"; else rm -f ".deps/sdldrv.Tpo"; exit 1; fi
In file included from sdldrv.cxx:25:
WidgetSet.h:26:21: SDL_ttf.h: No such file or directory
In file included from sdldrv.cxx:25:
WidgetSet.h:293: error: syntax error before `*' token
make[1]: *** [sdldrv.o] Error 1
make[1]: Leaving directory `/home/george/tuxkart/src'
make: *** [all-recursive] Error 1
sh-2.05b$

Im guessing its a problem with my SDL? But its the newest version?! I also have SDL_ttf SDL_mixer SDL_devel and many more. Do I have to link something?

sAbEr 10-30-2004 01:59 AM

try getting one of the stable versions if you can. looks like theres a syntax error in the code somewhere.

320mb 10-30-2004 06:15 AM

try putting the SDL library PATH in your system $PATH


maybe it's having problems finding it........((shrug shoulders))

Komakino 10-30-2004 08:24 AM

Quote:

Originally posted by sAbEr
try getting one of the stable versions if you can. looks like theres a syntax error in the code somewhere.
No, he doesn't have the headers for SDL_ttf installed. Get them from www.libsdl.org.

RHLinuxGUY 10-31-2004 09:15 AM

I tried rpm2tgz an rpm file for Slackware 10, but it didn't work. I thought I already had SDL_ttf, I got it from linuxpackages.(org, or com?). Anyways, I guess once I get access to my computer again, I'll just try compiling from source.

Second, I dont want the stable version, because I already have it. Its--sry to say it steve--gay. But I've seen screenshots of what they are doing in the CVS, and so I tried to get it. Maybe I'll send a mail to SteveBaker see if he replys.

RHLinuxGUY 11-15-2004 05:48 PM

Hey installing SDL_ttf, and the other one worked. Apparently the ones at linuxpackages didn't put the path in right like 320mb said? Well anyways it works, and it looks pretty awsome. Im not joking, just a lot of problems, but its actualy playable, unlike TuxAQFH.


All times are GMT -5. The time now is 05:27 AM.