The base problem there is a bug in two M4 files:

Index: tcl/unix/tcl.m4
================================================== =================
RCS file: /cvsroot/sourcenav/src/tcl/unix/tcl.m4,v
retrieving revision 1.3
diff -u -r1.3 tcl.m4
--- tcl/unix/tcl.m4 29 Nov 2003 22:04:20 -0000 1.3
+++ tcl/unix/tcl.m4 14 Jun 2007 17:53:04 -0000
@@ -582,7 +582,7 @@
# results, and the version is kept in special file).

if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
- system=MP-RAS-`awk '{print $3}' /etc/.relid'`
+ system=MP-RAS-`awk '{print $3}' /etc/.relid`
fi
if test "`uname -s`" = "AIX" ; then
system=AIX-`uname -v`.`uname -r`
@@ -1513,7 +1513,7 @@
# results, and the version is kept in special file).

if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
- system=MP-RAS-`awk '{print $3}' /etc/.relid'`
+ system=MP-RAS-`awk '{print $3}' /etc/.relid`
fi
if test "`uname -s`" = "AIX" ; then
system=AIX-`uname -v`.`uname -r`

And exactly the same for tk/unix/tcl.m4.

Then run aclocal in the two directories and maybe autoconf. (Hmm,
maybe just autoreconf would do.)

You may find these necessary:

Index: libgui/configure
================================================== =================
RCS file: /cvsroot/sourcenav/src/libgui/configure,v
retrieving revision 1.5
diff -u -r1.5 configure
--- libgui/configure 15 Feb 2003 21:34:48 -0000 1.5
+++ libgui/configure 14 Jun 2007 17:58:15 -0000
@@ -1924,7 +1924,7 @@
# Tcl8.1 requires writable strings for gcc

if test "$GCC" = "yes"; then
- LIBGUI_CFLAGS=-fwritable-strings
+ LIBGUI_CFLAGS=
else
LIBGUI_CFLAGS=
fi
Index: tix/unix/tk8.3/Makefile.in
================================================== =================
RCS file: /cvsroot/sourcenav/src/tix/unix/tk8.3/Makefile.in,v
retrieving revision 1.3
diff -u -r1.3 Makefile.in
--- tix/unix/tk8.3/Makefile.in 28 Jan 2004 00:23:36 -0000 1.3
+++ tix/unix/tk8.3/Makefile.in 14 Jun 2007 17:58:15 -0000
@@ -47,7 +47,7 @@
# To change the compiler switches, for example to change from -O
# to -g, change the following line:
CFLAGS = @CFLAGS@
-TIX_CFLAGS = $(CFLAGS) -fwritable-strings
+TIX_CFLAGS = $(CFLAGS)

# To disable ANSI-C procedure prototypes reverse the comment characters
# on the following lines: