Re: Tcl_LinkVar & mSQL

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Mon, 30 Dec 1996 17:05:21 +0100

Donovan Wade <wade@onramp.net> said:

Donovan> As a novice with Scotty, I find it the best thing
Donovan> since sliced bread. I am running Scotty on a linux
Donovan> box on a network with several Sun's. The ICMP and
Donovan> SNMP work great. But recently tried the 'msql'
Donovan> option. Upon doing the 'make install' in Scotty, I
Donovan> get the message:

Donovan> can't resolve symbol Tcl_LinkVar
Donovan> within the file: ../lib/tnm2.1.5.so.

Donovan> The TCLLIBPATH variable is set and again, all works
Donovan> fine as long as I don't configure Scotty with
Donovan> '--enable-msql'.

Donovan> I'm running linux 2.0.26, Scotty-2.1.5, tcl7.5p1, and
Donovan> tk4.1p1.

Donovan> Several machines run mSQL and am curious as to what
Donovan> Scotty does with them.

The enable-msql switch allows you to link msqltcl into the Tnm
extension. This is now a historic feature since the new version of
msqltcl allows to build a dynamic loadable module. With this version
of msqltcl, you can use the Tcl package system to add support for
msql. (The enable-msql configuration option will disappear in 2.2.0.)

The scotty scripts don't do fancy things when mSQL is enabled. It is
probably not worth to spend time on the Tcl_LinkVar() problem if you
do not plan to write Tnm scripts that store data in a mSQL database.

Juergen

-- 
Juergen Schoenwaelder schoenw@cs.utwente.nl http://www.cs.utwente.nl/~schoenw
Computer Science Department, University of Twente,   (Fax: +31-53-489-3247)
P.O. Box 217, NL-7500 AE Enschede, The Netherlands.  (Tel. +31-53-489-3678)