This worked for me:

1) Get Tcl and Tk 8.5.8 and build them.

Build the *unix* versions, not the macos versions, using standard 

./configure 
make
sudo make install

Tcl first, then Tk of course.  This puts them in /usr/local.  This worked on 
10.6 with no problems.  All of the Tcl test suite worked.

2) In the xcircuit directory run 

./configure --with-tcl=/usr/local/lib

3) edit tclxcircuit.c to #ifdef out the va_copy definition around line 96.  
configure is mistakenly saying we don't have va_copy, but we do and the 
definition there causes an errlr.

4) edit Makefile to set LDFLAGS  to -L/usr/X11/lib, because .configure isn't 
setting that properly, even with --x-libraries=/usr/X11/lib set.

5) build and install.

make
sudo make install

and it runs for me.  I haven't tested the functionality yet, but hey, it's not 
crashing :-)

I'm not going to chase down the configure bugs right now...

Kevin


_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to