Compiling Tcl w/ Solaris 2.4 and gcc 2.6.3 
Author Message
 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?

--
------------------------------------------------------------------------------

Maintainer of SEDS.LPL.Arizona.EDU
             Near Earth Asteroid Rendezvous (NEAR) XRS/GRS Team
UA SEDS President                        SEDS-USA Director of Special Projects
------------------------------------------------------------------------------



Fri, 18 Jul 1997 13:42:26 GMT  
 Compiling Tcl w/ Solaris 2.4 and gcc 2.6.3
   I've built Tcl and Tk for  Solaris 2.3 on Sparc and Solaris
2.4 on X86.  For X86 it did compile right out of the box, for Sparc it
took a little minor tweeking of a couple of the headers files and
changing an instance of getwd to getcwd.  

   both seem to work quite nicely.  I can put the binaries up for ftp
somewhere if someone wants them.

--
Andrew E. Page   (Warrior Poet) |   Decision and Effort The Archer and Arrow
Mac Consultant                  |     The difference between what we are
Macintosh and DSP Technology    |           and what we want to be.



Sat, 19 Jul 1997 03:17:25 GMT  
 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



Sat, 19 Jul 1997 14:38:36 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Help sought for compiling Python 1.4 on Solaris 2.4 with gcc 2.7.2

2. Tk4.1 compile on Solaris 2.4 with gcc 2.7.2 failing

3. gcc 2.7.2, sparc-solaris 2.4, and tcl 7.5

4. Expect, tcl, Solaris 2.4/5, gcc 2.6.3

5. compiling tcl/tk on Solaris 2.4 x86

6. Compiling Tcl/Tk 8.0 on Sun Solaris 2.4

7. Compiling TCL 7.5a2 on SUN Netra running Solaris 2.4

8. Compiling TCL on Solaris 2.4 HELP!!

9. Anyone compile Tcl/Tk on Solaris 2.4 for the PC

10. building Tcl7.5 on Solaris 2.4 with gcc

11. sybtcl bug(?) on Solaris 2.4 with gcc

12. Can't compile gforth-0.3.0 on Sparc Solaris 2.4

 

 
Powered by phpBB® Forum Software