If TclBlend was built with Tcl stubs, then it would
work fine. Otherwise, TclBlend needs to be linked
against a dynamic build of Tcl and a dynamic JVM.
The code in blend will do a LoadLibrary of itself,
so TclBlend needs to be dynamic as well...
Let's make it stubs-aware.
David Gravereaux sent out an email to the TEA mailing
list about a mechanism that would allow TclBlend to
find the Tcl DLLs and load the stub table (when loading
blend from the JVM).
-- Scott
-Original Message-
From: Mo DeJong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 13, 2000 11:01 AM
To: [EMAIL PROTECTED]
Subject: [Tcl Java] Does Tcl Blend need to build with a shared Tcl?
I was just trying to build Tcl Blend when I got this error:
% /home/mo/project/tcljava/configure
--prefix=/home/mo/project/install/tcljava
--with-tcl=/home/mo/project/build/tcl
srcdir is /home/mo/project/tcljava
configuring for both jacl and tclblend
checking for Tcl build in /home/mo/project/build/tcl
configure: error: Tcl was not built correctly.
Make sure Tcl was configured with --enable-shared.
That check has been in there since version 1.0, but
I can't say I know exactly why. Can anyone think of
a reason that Tcl Blend can not be loaded into
a statically compiled build of Tcl? As long as
Tcl is built with support for the load command,
I don't think it would be a problem. Of course,
you would not be able to load Tcl + Tcl Blend
into a JVM if it was not build as a shared library,
but that is fine.
Mo DeJong
Red Hat Inc
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.
An archive is available at
http://www.mail-archive.com/tcljava@scriptics.com
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com