verun - 2006-02-11

hi
i have installed tcl8.5a3 and tk8.5a3 on linux Red hat9

i want to install blt2.4
the output of ./configure is(i typed ./configure
without --with-tcl switch):

checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for prefix by checking for wish... /bin/wish
checking which C compiler... checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
gcc
checking how to run the C preprocessor... gcc -E
checking default compiler flags... -O6
checking for Cygwin environment... no
checking for mawk... no
checking for gawk... gawk
checking for a BSD compatible install...
/usr/bin/install -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for main in -lsocket... no
checking for main in -lnsl... yes
checking for main in -lm... yes
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible...
yes
checking whether time.h and sys/time.h may both be
included... yes
checking for inttypes.h... yes
checking for limits.h... yes
checking for sys/param.h... yes
checking for string.h... yes
checking for ctype.h... yes
checking for errno.h... yes
checking for float.h... yes
checking for math.h... yes
checking for ieeefp.h... no
checking for sys/time.h... yes
checking for waitflags.h... no
checking for sys/wait.h... (cached) yes
checking for malloc.h... yes
checking for memory.h... yes
checking for setjmp.h... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for pid_t... yes
checking whether union wait is defined correctly...
yes
checking whether byte ordering is bigendian... no
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of void *... 4
checking for strdup... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for drand48... yes
checking for srand48... yes
checking for finite... yes
checking for isnan... yes
checking for isfinite... no
checking whether DBL_EPSILON is defined in float.h...
yes
checking whether declaration is needed for strdup...
no
checking whether declaration is needed for drand48...
no
checking whether declaration is needed for srand48...
no
checking whether declaration is needed for j1... no
checking for X... libraries /usr/X11R6/lib, headers
/usr/X11R6/include
checking for tclConfig.sh...
../tcl8.5a3/unix/tclConfig.sh
checking for tkConfig.sh...
../tk8.5a3/unix/tkConfig.sh
checking for XExtendedMaxRequestSize... yes
checking BLT_MAJOR_VERSION... 2
checking BLT_MINOR_VERSION... 4
checking TCL_VERSION in tcl.h... 8.5
checking TK_VERSION in tk.h... 8.5

Configuration results:

  tcl.h      found in  /usr/local/include
  tk.h       found in  /usr/local/include
  X11/Xlib.h found in  /usr/X11R6/include
  libtcl8.5  found in  /usr/local/lib
  libtk8.5   found in  /usr/local/lib
  libX11     found in  /usr/X11R6/lib

Directories where BLT is to be installed:

  "$prefix" is
  "$exec_prefix" is /usr/local

  bltwish      to be installed in  ${exec_prefix}/bin
  libBLT.a     to be installed in  /usr/local/lib
  scripts      to be installed in  /lib/blt2.4
  manual pages to be installed in  ${prefix}/man

creating ./config.status
creating Makefile
creating src/Makefile
creating src/bltHash.h
creating src/shared/Makefile
creating man/Makefile
creating library/Makefile
creating demos/Makefile
creating src/bltConfig.h
src/bltConfig.h is unchanged
           -----------------------

The result of make is :

(cd src; make all)
make[1]: Entering directory `/root/blt2.4z/src'
gcc -c -Wall -O6   -I. -I.  -I/usr/local/include
-I/usr/X11R6/include bltAlloc.c
In file included from bltInt.h:80,
                 from bltAlloc.c:1:
bltNsUtil.h:51: conflicting types for
`Tcl_FindCommand'
/usr/local/include/tclDecls.h:3212: previous
declaration of `Tcl_FindCommand'
bltNsUtil.h:68: conflicting types for
`Tcl_CreateNamespace'
/usr/local/include/tclDecls.h:3153: previous
declaration of `Tcl_CreateNamespace'
bltNsUtil.h:73: conflicting types for
`Tcl_FindNamespace'
/usr/local/include/tclDecls.h:3205: previous
declaration of `Tcl_FindNamespace'
bltNsUtil.h:76: conflicting types for `Tcl_Export'
/usr/local/include/tclDecls.h:3173: previous
declaration of `Tcl_Export'
make[1]: *** [bltAlloc.o] Error 1
make[1]: Leaving directory `/root/blt2.4z/src'
make: *** [all] Error 2
[root@lab1pc-004 blt2.4z]# man make
[root@lab1pc-004 blt2.4z]# clear

please help
regards