configure Not finding tcl/tk

Hi,

I'm new to Solaris/Unix so please bear with me :)

I am trying to install a program. I need to configure it first, the configuration script seems to not find tcl/tk although they are installed: SMCtcl/SMCtk

pkginfo -l SMCtcl gives:

PKGINST: SMCtcl

NAME: tcl

CATEGORY: application

ARCH: intel

VERSION: 8.4.9

BASEDIR: /usr/local

VENDOR: Scriptics

PSTAMP: Steve Christensen

INSTDATE: Nov 23 2005 15:22

EMAIL: steve@smc.vnet.net

STATUS: completely installed

FILES: 958 installed pathnames

8 shared pathnames

19 directories

5 executables

32578 blocks used (approx)

but ./configure gives:

checking for Tcl_CreateInterp in -ltcl... no

checking for Tcl_CreateInterp in -ltcl8.4... no

checking for Tcl_CreateInterp in -ltcl8.3... no

checking for Tcl_CreateInterp in -ltcl8.2... no

checking for Tcl_CreateInterp in -ltcl8.0... no

checking for Tcl_CreateInterp in -ltcl80... no

checking for Tcl_CreateInterp in -ltcl7.6... no

trying in /usr/tcl/lib ...

checking for Tcl_CreateInterp in -ltcl... no

checking for Tcl_CreateInterp in -ltcl8.4... no

checking for Tcl_CreateInterp in -ltcl8.3... no

checking for Tcl_CreateInterp in -ltcl8.2... no

checking for Tcl_CreateInterp in -ltcl8.0... no

checking for Tcl_CreateInterp in -ltcl7.6... no

trying in /opt/tcl/lib ...

checking for Tcl_CreateInterp in -ltcl... no

checking for Tcl_CreateInterp in -ltcl8.4... no

checking for Tcl_CreateInterp in -ltcl8.3... no

checking for Tcl_CreateInterp in -ltcl8.2... no

checking for Tcl_CreateInterp in -ltcl8.0... no

checking for Tcl_CreateInterp in -ltcl7.6... no

configure: error: cannot link tcl library

part of configure (I think relevant):

if test -z "$ocs_lib_tcl"

then

echo "$as_me:$LINENO: checking for Tcl_CreateInterp in -ltcl8.4" >&5

echo $ECHO_N "checking for Tcl_CreateInterp in -ltcl8.4... $ECHO_C" >&6

if test "${ac_cv_lib_tcl8_4_Tcl_CreateInterp+set}" = set; then

echo $ECHO_N "(cached) $ECHO_C" >&6

else

ac_check_lib_save_LIBS=$LIBS

LIBS="-ltcl8.4 $LIBS"

cat >conftest.$ac_ext <<_ACEOF

/* confdefs.h. */

_ACEOF

cat confdefs.h >>conftest.$ac_ext

cat >>conftest.$ac_ext <<_ACEOF

/* end confdefs.h. */

I also tried: ./configure --with-tcl-lib=/usr/local --with-tcl-incl=/usr/local

and other variations: /usr/local/lib, /usr/local/lib/tcl8.4

with no luck.

Could you please help me?

Thanks in advance,

Mohamz

[2744 byte] By [mohamz] at [2007-11-25 23:38:50]
# 1
While trying to solve this problem I installed the packages from sunfreeware, but they didn't solve my problem.Those from blastwave too, but I didn't change any env-variables could this be the problem, since they install to /opt/scw?Please help!
mohamz at 2007-7-5 18:22:37 > top of Java-index,General,Talk to the Sysop...
# 2
There is a difference between having the tcl libraries installed and the header files. The latter being used for development. To my knowledge the libraries are there for support only, but don't contain the needed header files.
LionO at 2007-7-5 18:22:37 > top of Java-index,General,Talk to the Sysop...
# 3

Linux people love to split up the libraries and headers into different rpm's. Then when you go to compile something half of the software you need isn't on your system.

Your best option is to learn how to compile and then only compile from trusted locations.

Assuming this is the correct path, what do nm and truss show for output?

/usr/local/lib/tcl8.4

alan_pae at 2007-7-5 18:22:37 > top of Java-index,General,Talk to the Sysop...