LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 10-28-2004, 10:22 PM   #1
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
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 -dserver:anonymous@cvs.sourceforge.net:/cvsroot/tuxkart login (press enter when asked for login password)
2. cvs -z3 -dserver: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?
 
Old 10-30-2004, 01:59 AM   #2
sAbEr
LQ Newbie
 
Registered: Oct 2004
Distribution: Mandrake 10
Posts: 10

Rep: Reputation: 0
try getting one of the stable versions if you can. looks like theres a syntax error in the code somewhere.
 
Old 10-30-2004, 06:15 AM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
try putting the SDL library PATH in your system $PATH


maybe it's having problems finding it........((shrug shoulders))
 
Old 10-30-2004, 08:24 AM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
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.
 
Old 10-31-2004, 09:15 AM   #5
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889

Original Poster
Blog Entries: 1

Rep: Reputation: 30
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.
 
Old 11-15-2004, 05:48 PM   #6
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889

Original Poster
Blog Entries: 1

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine CVS make/configure error trawler Linux - Software 0 10-31-2005 04:36 PM
error at make with winex cvs lonrot_m Linux - Software 1 03-07-2005 06:12 PM
Cadega cvs compile error kryptobs2000 Linux - Software 6 03-01-2005 12:31 PM
Error during make (Steam with CVS) hyperion57070 Linux - Games 1 05-08-2004 08:40 AM
Error in Make Depend while CVS install of WineX calmlikeabomb Mandriva 1 04-28-2004 05:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 09:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration