LinuxQuestions.org
Help answer threads with 0 replies.
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 04-10-2005, 03:34 PM   #1
Napalm Llama
Member
 
Registered: Nov 2004
Location: Bristol, UK
Distribution: Gentoo 2005.0
Posts: 224

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

Last edited by Napalm Llama; 04-10-2005 at 04:13 PM.
 
Old 04-11-2005, 05:12 AM   #2
Napalm Llama
Member
 
Registered: Nov 2004
Location: Bristol, UK
Distribution: Gentoo 2005.0
Posts: 224

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

Last edited by Napalm Llama; 04-11-2005 at 05:14 AM.
 
Old 11-19-2006, 03:11 AM   #3
kahlil88
Member
 
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 170

Rep: Reputation: 30
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
 
Old 05-25-2007, 03:18 PM   #4
ADxD_7
Member
 
Registered: May 2007
Location: CO
Distribution: Solaris , Redhat , Debian
Posts: 152

Rep: Reputation: 23
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; }

Last edited by ADxD_7; 05-25-2007 at 03:25 PM.
 
Old 05-26-2007, 03:47 AM   #5
kahlil88
Member
 
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 170

Rep: Reputation: 30
Smile

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!
 
Old 05-26-2007, 12:47 PM   #6
Chargh
Member
 
Registered: Apr 2004
Location: Seba Beach Alberta Canada
Distribution: Fedora 16
Posts: 251
Blog Entries: 24

Rep: Reputation: 31
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.
 
Old 05-31-2007, 12:51 AM   #7
ADxD_7
Member
 
Registered: May 2007
Location: CO
Distribution: Solaris , Redhat , Debian
Posts: 152

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
commads in tcl/tk to find out the hardware details lexersrp Linux - Hardware 3 01-24-2005 10:16 AM
Tuxracer wr3ck3d Linux - Software 8 08-02-2003 01:09 PM
tuxracer installation: cannot find SDL_mixer.h koyi Slackware 2 08-02-2003 05:34 AM
tuxracer bibilit Linux - Software 4 11-13-2002 01:55 PM
tcl header for tuxracer philfighter Linux - General 2 08-15-2001 01:25 AM


All times are GMT -5. The time now is 12:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration