LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Tuxracer can't find Tcl (https://www.linuxquestions.org/questions/linux-games-33/tuxracer-cant-find-tcl-311770/)

Napalm Llama 04-10-2005 03:34 PM

Tuxracer can't find Tcl
 
I'm trying to install Tuxracer on my SuSE Personal 9.1 box, but it's saying that there's no Tcl:

Code:

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... no
configure: error: Cannot find Tcl library

However, it's clearly installed:
Code:

nl@splig:~> rpm -q tcl
tcl-8.4.6-26

How to I get the one to acknowledge the other?


[edit]
OK, sorry everybody - false alarm.

The answer was running ./configure --with-tcl-name=tcl8.4:)

Napalm Llama 04-11-2005 05:12 AM

Hmm, this thread can still be rescued - it doesn't like Mesa, either. The ./configure program keeps telling me that I have an out of date glx.h
file. This is its exact output:

Code:

checking for GL library... yes
checking for glXGetProcAddressARB... yes
checking for GLU library... yes
checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking whether glx.h defines glXGetProcAddressARB... no
configure: error: Your copy of glx.h is out of date.  You can get a more recent copy from the latest Mesa distribution (http://mesa3d.sourceforge.net).

I have dutifully installed the latest Mesa, but to no avail. If it's of any help, the Mesa output looked like this:

Code:

Installing
./bin/installmesa

***** Mesa installation - You may need root privileges to do this *****

Default directory for header files is: /usr/local/include
Enter new directory or press <Enter> to accept this default.

Default directory for library files is: /usr/local/lib
Enter new directory or press <Enter> to accept this default.

About to install Mesa header files (GL/*.h) in:  /usr/local/include/GL
and Mesa library files (libGL.*, etc) in:  /usr/local/lib
Press <Enter> to continue, or <ctrl>-C to abort.

mkdir ${INCLUDE_DIR}
mkdir: cannot create directory `/usr/local/include': File exists
mkdir ${INCLUDE_DIR}/GL
mkdir: cannot create directory `/usr/local/include/GL': File exists
mkdir ${LIB_DIR}
mkdir: cannot create directory `/usr/local/lib': File exists
cp -f ${TOP}/include/GL/*.h ${INCLUDE_DIR}/GL
cp -fd ${TOP}/lib*/lib* ${LIB_DIR}

echo "Done."
Done.

I even tried copying across the glx.h from the distribution package directly to the directory, but that didn't help, either.

Does anybody know how I would get past this hurdle and continue with
the install?

Thanks.

kahlil88 11-19-2006 03:11 AM

I'm running Fedora Core 6, and I'm having problems with Tcl as well.
Quote:

$ rpm -q tcl
tcl-8.4.13-3.fc6
$ whereis tcl
tcl: /usr/lib/tcl8.4 /usr/include/tcl.h /usr/share/tcl8.4
$ ./configure --with-tcl-name=tcl8.4
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for working const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for strdup... yes
checking for finite... yes
checking for isnan... yes
checking for _finite... no
checking for _isnan... no
checking for ieeefp.h... no
checking for Win32 platform... no
checking for X... libraries , headers
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -ldl... yes
checking for main in -lm... yes
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... no
configure: error: Cannot find Tcl library

ADxD_7 05-25-2007 03:18 PM

Same problem
 
I am having the same problem as the first post -- but I have tcl8.3 -- even when I specify the location it still says :
Code:

loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for working const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for strdup... yes
checking for finite... yes
checking for isnan... yes
checking for _finite... no
checking for _isnan... no
checking for ieeefp.h... no
checking for Win32 platform... no
checking for X... no
checking for main in -ldl... yes
checking for main in -lm... yes
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... no
configure: error: Cannot find Tcl library

I even checked the configure file and it looked good, but I used autoconf to make a new one. Didnt help. I dont know if this helps but here is the log.(just the part that failed)

Code:

int main() {
XtMalloc()
; return 0; }
configure:2701: checking for main in -ldl
configure:2716: gcc -o conftest    conftest.c -ldl  1>&5
configure:2737: checking for main in -lm
configure:2752: gcc -o conftest    conftest.c -lm  1>&5
configure:2805: checking for tcl8.3 library
configure:2815: gcc -o conftest    conftest.c  -ldl -lm  -ltcl8.3 1>&5
/usr/bin/ld: cannot find -ltcl8.3
collect2: ld returned 1 exit status
configure: failed program was:
#line 2808 "configure"
#include "confdefs.h"

int main() {
 char Tcl_NewStringObj(); Tcl_NewStringObj();
; return 0; }
configure:2848: checking for tcl83 library
configure:2858: gcc -o conftest    conftest.c  -ldl -lm  -ltcl83 1>&5
/usr/bin/ld: cannot find -ltcl83
collect2: ld returned 1 exit status
configure: failed program was:
#line 2851 "configure"
#include "confdefs.h"

int main() {
 char Tcl_NewStringObj(); Tcl_NewStringObj();
; return 0; }
configure:2848: checking for tcl8.2 library
configure:2858: gcc -o conftest    conftest.c  -ldl -lm  -ltcl8.2 1>&5
/usr/bin/ld: cannot find -ltcl8.2
collect2: ld returned 1 exit status
configure: failed program was:
#line 2851 "configure"
#include "confdefs.h"

int main() {
 char Tcl_NewStringObj(); Tcl_NewStringObj();
; return 0; }
configure:2848: checking for tcl82 library
configure:2858: gcc -o conftest    conftest.c  -ldl -lm  -ltcl82 1>&5
/usr/bin/ld: cannot find -ltcl82
collect2: ld returned 1 exit status
configure: failed program was:
#line 2851 "configure"
#include "confdefs.h"

int main() {
 char Tcl_NewStringObj(); Tcl_NewStringObj();
; return 0; }
configure:2848: checking for tcl8.0 library
configure:2858: gcc -o conftest    conftest.c  -ldl -lm  -ltcl8.0 1>&5
/usr/bin/ld: cannot find -ltcl8.0
collect2: ld returned 1 exit status
configure: failed program was:
#line 2851 "configure"
#include "confdefs.h"

int main() {
 char Tcl_NewStringObj(); Tcl_NewStringObj();
; return 0; }
configure:2848: checking for tcl80 library
configure:2858: gcc -o conftest    conftest.c  -ldl -lm  -ltcl80 1>&5
/usr/bin/ld: cannot find -ltcl80
collect2: ld returned 1 exit status
configure: failed program was:
#line 2851 "configure"
#include "confdefs.h"

int main() {
 char Tcl_NewStringObj(); Tcl_NewStringObj();
; return 0; }
configure:2848: checking for tcl library
configure:2858: gcc -o conftest    conftest.c  -ldl -lm  -ltcl 1>&5
/usr/bin/ld: cannot find -ltcl
collect2: ld returned 1 exit status
configure: failed program was:
#line 2851 "configure"
#include "confdefs.h"

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


kahlil88 05-26-2007 03:47 AM

Tuxracer has been abandoned, but there is a newer project called PPRacer that is built on the same code. I had NO problem installing that!

Chargh 05-26-2007 12:47 PM

Quote:

Originally Posted by kahlil88
Tuxracer has been abandoned, but there is a newer project called PPRacer that is built on the same code. I had NO problem installing that!

PPRacer installed well from Fedora Extras for me. Its a great Game.

ADxD_7 05-31-2007 12:51 AM

Ya I gave up on it --- but only right after I found doom !!!! :) IDDQD BABY !!! :)


All times are GMT -5. The time now is 06:19 PM.