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

