Re: tcl upgrade on redhat 5.2

From: Andy McAllister (drsmartz_at_yahoo.com)
Date: 11/23/04


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.....



Relevant Pages

  • Re: Problems compiling in Platform directory; in Public it works
    ... gal for switch / O ... you need to download and install all QFE's for all installed processors ... Here's my sources file: ... After editing my files I can compile in the Public ...
    (microsoft.public.windowsce.embedded)
  • Re: proposal: reswitch
    ... in a few TCL scripts (and end up using a variable kludge to ... > I personally don't care about a loop-ability of switch. ... But reserving a new exception code ... too hard to fit that stuff into my new idea for optimisation". ...
    (comp.lang.tcl)
  • Re: building a starkit of Img?
    ... Because if I use my system Tcl, some things are going to be different, ... compile stuff, so that that ... Not yet:-) I'm actually trying to just do an Img starkit, ... > truly simple, quick, and robust installs are acceptable. ...
    (comp.lang.tcl)
  • Re: Quick question about Ada code formatting.
    ... when it forces reformatting of reused source code that happens not ... We also compile with -gnatwaL which is reasonably strict. ... switch to warn about possibly-uninitialised variables one would be ... because the internal representation didn't store ...
    (comp.lang.ada)
  • Re: CEPTCL: Doesnt RX multicast, has anyone seen it work before?
    ... on my Linux. ... gave me are set up to compile for windows. ... has all of the files and the makefile is set up for Linux too. ... please modify the Makefile for proper Tcl path. ...
    (comp.lang.tcl)