Problems with make install

Marcos Cruz (marcos@galileu.ic.cti.br)
Tue, 13 Aug 1996 16:34:11 -0400

Hello,

I'm trying to install the scotty with the msql database and I have
problem with make install.

Enviroment:
Machine i-586 with Linux version 1.2.13
Installed software: Tcl-7.5/Tk-4.1 in /usr/local/lib
msql-1.0.14 in /usr/local/Minerva

The /usr/local/lib/tcl7.5/init.tcl file was edited with:
lappend auto_path /usr/local/lib
lappend auto_path /usr/local/lib/tnm2.1.1
lappend auto_path /usr/local/lib/tkined1.4.1

Running tclsh7.5 I can verify the auto_path value:
%puts stdout $auto_path
/usr/local/lib/tcl7.5 /usr/local/lib /usr/local/lib/tnm2.1.1
/usr/local/lib/tkined1.4.1
%

The ./configure --enable-msql and the make complete with success.
During the make install I have the following log:

Making directory /usr/local/lib/tnm2.1.1
Installing scotty2.1.1 and tnm2.1.1.so
Making directory /usr/local/lib/tnm2.1.1/library
Installing ./../tnm/library/README
Installing ./../tnm/library/dialog.tcl
Installing ./../tnm/library/output.tcl
Installing ./../tnm/library/snmp.tcl
Installing ./../tnm/library/ifload.tcl
Installing ./../tnm/library/obsolete.tcl
Installing ./../tnm/library/init.tcl
./scotty:can't resolve symbol 'Tcl_LinkVar'
initialization failde: couldn't load file "/usr/local/lib/tnm2.1.1.so":
unable to resolve Tcl_LinkVar

This usually means that you have to define TCCLIBPATH enviroment variable
to point to the tnm library directory or you have to include the path to
the tnm library directory in Tcl's auto_path variable.
make: *** [tnm-install-library] Error 1

Although I setenv the variable TCLLIBPATH to /usr/local/lib it does no
effect.

The version of scotty without msql installs and runs fine in the same
machine!!

If anyone could help me I thanks in advance.

Marcos Cruz
=======================================================================
Fundacao centro Tecnologico para Informatica - Instituto de Computacao
Campinas, SP - Brazil
marcos@ic.cti.br