
Compiling Tcl w/ Solaris 2.4 and gcc 2.6.3
: I've read and heard that Tcl is, for the most part, supposed to compile
: directly "out of the box." I've compiled a few things, but nothing has
: produced more errors than Tcl!
: Using the tcl7.4b2 distribution, Solaris 2.4, and gcc 2.6.3, I
: get several warnings during the compile complaining about declarations in
: sys/types.h, stdio.h, and math.h. After a few minutes of that, I gives
: up and barfs out
: "tclMtherr.c:49: redefinition of `struct exception'"
: which is a new one for me. Incidentally, I get near the same results in
: the Sunpro compiler.
: Any suggestions?
I don't recall exactly, but I had little to no problems compiling tcl7.4b1
& tk4.0b1 under Solaris 2.4 on a Sparc 10. I'm using the Sunpro compilers.
Maybe the configure script didn't correctly autodetect your system layout?
Tom