SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have tuxracer 0.61 and can not compile it on Slackware 10.2. It complains about not being able to find tcl.
This is what "configure" is looking for:
checking for tcl8.3 library... no
checking for tcl83 library... no
checking for tcl8.2 library... no
checking for tcl82 library... no
checking for tcl8.0 library... no
checking for tcl80 library... no
checking for tcl library... yes
checking for tcl.h... yes
Slackware 10.2 has tcl 8.4, so I checked "./configure --help" and found these:
--with-tcl-libs=DIR Location of Tcl library
--with-tcl-lib-name=NAME Tcl library name
--with-tcl-inc=DIR Location of Tcl header files
--with-tcl-header=NAME Tcl header filename
I tried changing some of these values and nothing seems to work. Maybe I am not doing it right.
Any ideas?
the part that states checking for tcl80 library.... no
that indicates version
the older versions are not on slack 10.2, (that I know of).
and I'm not sure what version of TCL is required to run tuxracer, but tcl 8.4 should work.
I've had problems here and there with tcl/tk on Slack because some programs expect to find the headers in /usr/include/{tcl,tk}-private. You could try symlinking with those directories but it looks as tho it did find tcl however.
Are you sure there is a problem? Looks to me as if it's just saying that it didn't find 8.3.or below. Slack 10.2 uses 8.4..... Unless you actually get a 'make' error, I would'nt worry about what configure states. Seems to me, configure is looking for known versions of tcl first, and then if it doesn't find one, it does a general check for tcl libs and headers, which it found...
I'm having problems in "make", I think it's because "configure" doesn't configure it right.
I would get a package from linuxpackages.net but back when I used 10.1 I was able to get it to compile fine, plus they don't have any packages for 10.2
A tgz package from linuxpackages doesn't have to be built with make. It's already done. Just type, as root, installpkg tuxracer*.tgz. A 10.0 or 10.1 package should work in 10.2. I got a 9.1 package when I had 10.1 and it works fine.
Right, I know what a tgz package is, and how to make one. I like making my own packages.
Tuxracer is just giving me problems on 10.2 when it compiled without a hitch in 10.1.
I just need some help in getting it to build (because I want it to take advantage of my hardware, athlonxp and not i486).
Any Ideas would be helpful, thank you.
I tried too with the same results. Hunting around on the web, I found the exact errors with others as well. Not sure what to tell you... Looks as if tcl is making changes and tuxracer isn't keeping up with them....
So I guess since tuxracer is pretty much dead (last post on there site is at the end of 2001) there's isn't much hope for a working version of TuxRacer.
Guess I'll just have to stick with Planet Penguin Racer.
ppracer is just your standard ./configure,make,make install type of deal. Nothing extraordinary about it. I tried to back port ppracer's TCL fix into tuxracer and made some headway but it just made additional problems. You can run a diff on 0.2.1 and 0.2 and see his "FUCKTCL" function added to game_config.{c,h}... I eventually gave up cause I didn't care enough to keep working on it but It's entirely within the realm of possibility.
ppracer is tuxracer. I didn't see a difference in the few minutes I was playing it, except when you try to trick jump(t), the screen flashes and you come to a halt. A little buggy but basically tuxracer.
Code:
#!/bin/sh
CWD=`pwd`
TMP=/tmp
PKG=$TMP/package-ppracer
VERSION=0.3.1
ARCH=i486
BUILD=1
rm -rf $PKG
mkdir -p $PKG/install
cd $TMP
rm -rf ppracer-$VERSION
tar xjvf $CWD/ppracer-$VERSION.tar.bz2
cd ppracer-$VERSION
chown -R root.root .
find . -perm 777 -exec chmod 755 {} \;
find . -perm 664 -exec chmod 644 {} \;
# Proper form is not to install to /usr/local, but you could do:
# ./configure --datadir=/usr/local/games
#
# That would put the binary in /usr/local/bin and the game folder in /usr/local/games
CFLAGS="-march=i486 -pipe -O2" \
./configure --prefix=/usr \
--datadir=/usr/share
make
make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
cat << EOF > $PKG/install/slack-desc
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
ppracer: ppracer (OpenGL racing game)
ppracer:
ppracer: PlanetPenguin Racer is an OpenGL racing game featuring Tux, the
ppracer: Linux mascot. The goal of the game is to slide down a snow- and
ppracer: ice-covered mountain as quickly as possible. It is based on the
ppracer: GPL version of TuxRacer.
ppracer:
ppracer:
ppracer:
ppracer:
ppracer:
EOF
# Build the package:
cd $PKG
makepkg -l y -c n $TMP/ppracer-$VERSION-$ARCH-$BUILD.tgz
Tux Racer compiled neither on Slackware 10.0 nor on Slackware 10.1. At least, I was not able to do it and I always got the same error during ./configure. Did you achieve to compile it in 10.0 or 10.1? How did you get that?
Thanks you for help!
Thanks too to making me know of PlanetPenguin.
Quote:
Originally posted by Kruncher I have tuxracer 0.61 and can not compile it on Slackware 10.2. It complains about not being able to find tcl.
This is what "configure" is looking for:
checking for tcl8.3 library... no
checking for tcl83 library... no
checking for tcl8.2 library... no
checking for tcl82 library... no
checking for tcl8.0 library... no
checking for tcl80 library... no
checking for tcl library... yes
checking for tcl.h... yes
Slackware 10.2 has tcl 8.4, so I checked "./configure --help" and found these:
--with-tcl-libs=DIR Location of Tcl library
--with-tcl-lib-name=NAME Tcl library name
--with-tcl-inc=DIR Location of Tcl header files
--with-tcl-header=NAME Tcl header filename
I tried changing some of these values and nothing seems to work. Maybe I am not doing it right.
Any ideas?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.