Re: tcl upgrade on redhat 5.2
From: Andy McAllister (drsmartz_at_yahoo.com)
Date: 11/23/04
- Next message: David Gravereaux: "Re: where to find bin, include and lib directories in tcl8.0 version source code"
- Previous message: hari gunupudi: "where to find bin, include and lib directories in tcl8.0 version source code"
- In reply to: Benjamin Riefenstahl: "Re: tcl upgrade on redhat 5.2"
- Next in thread: Benjamin Riefenstahl: "Re: tcl upgrade on redhat 5.2"
- Reply: Benjamin Riefenstahl: "Re: tcl upgrade on redhat 5.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 22 Nov 2004 20:58:04 -0800
***TCL8.4.7***
I went into "configure" and "tcl.m4" and just removed the
-fno-strict-aliasing switch from both files (it was only in one
location in each file). I ran "make" and the tcl compile went
smoothly, AFAIK. I ran "make test" next, and got the following output:
Test files exiting with errors:
encoding.test
history.test
I ran "make install" next just to see what happened in spite of errors,
and it ran through without apparent errors.
I then went to /usr/local/tcl8.4.7/bin and ran the shell - it at least
reports the correct version!!!!! (info tclversion is the command I run
for tcl version). So I believe, unless those errors are bad, I've got
a compiled tcl.
***TK8.4.7***
Next I compiled the tk source using first:
/root/tk8.4.7/unix/configure --enable-gcc
--with-tcl=/root/tcl8.4.7/unix --prefix=/usr/local/tk8.4.7
Again, when I ran make, I got the fno-strict-aliasing error, so I went
into configure and tcl.m4 in the tk8.4.7/unix directory and removed the
switch as I did with the tcl. Ran configure again, ran make, no
errors. But running "make test" in /root/tk8.4.7/unix/ returned a mess
of errors:
Skipping test files that match: l.*.test
Only running test files that match: *.test
Tests began at Mon Nov 22 19:18:25 EST 2004
bell.test
Error in startup script: can't find package Tk 8.4
while executing
"package require Tk 8.4"
("uplevel" body line 10)
invoked from within
"uplevel 1 [loadScript]"
(procedure "tcltest::loadTestedCommands" line 7)
invoked from within
"tcltest::loadTestedCommands"
(file "/root/tk8.4.7/tests/bell.test" line 15)
invoked from within
"::source /root/tk8.4.7/tests/bell.test"
("uplevel" body line 1)
invoked from within
"uplevel 1 [list ::source $file]"
(procedure "tcltest::runAllTests" line 57)
invoked from within
"tcltest::runAllTests"
(file "/root/tk8.4.7/unix/../tests/all.tcl" line 19)
make: *** [test] Error 1
I think there was more output from the make test, but running "make
test > err.file" just captured what I have pasted above. Iny case, any
advice? Must I be in XWindows to compile TK? Because I can't get
xwindows working.....
- Next message: David Gravereaux: "Re: where to find bin, include and lib directories in tcl8.0 version source code"
- Previous message: hari gunupudi: "where to find bin, include and lib directories in tcl8.0 version source code"
- In reply to: Benjamin Riefenstahl: "Re: tcl upgrade on redhat 5.2"
- Next in thread: Benjamin Riefenstahl: "Re: tcl upgrade on redhat 5.2"
- Reply: Benjamin Riefenstahl: "Re: tcl upgrade on redhat 5.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|