summaryrefslogtreecommitdiffstats
path: root/ext/tcltklib
diff options
context:
space:
mode:
author(no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-01 09:38:53 +0000
committer(no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-01 09:38:53 +0000
commit867524eff51c1679f63b9c61fdacc44f8cb85d11 (patch)
treeb8fcdf67f2058b43c0a7cf704bcd7e0a782eff7c /ext/tcltklib
parent3c4ad5062d65fbe491dfc1df680a540feacadcda (diff)
downloadruby-867524eff51c1679f63b9c61fdacc44f8cb85d11.tar.gz
ruby-867524eff51c1679f63b9c61fdacc44f8cb85d11.tar.xz
ruby-867524eff51c1679f63b9c61fdacc44f8cb85d11.zip
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tcltklib')
-rw-r--r--ext/tcltklib/README.ActiveTcl42
1 files changed, 42 insertions, 0 deletions
diff --git a/ext/tcltklib/README.ActiveTcl b/ext/tcltklib/README.ActiveTcl
new file mode 100644
index 000000000..c9cc69197
--- /dev/null
+++ b/ext/tcltklib/README.ActiveTcl
@@ -0,0 +1,42 @@
+ActiveTcl is ActiveState's quality-assured distribution of Tcl.
+
+# see <http://www.activestate.com/Products/ActiveTcl/>
+# <http://www.tcl.tk/>
+
+If you want to use ActiveTcl binary package as the Tcl/Tk libraries,
+please use the following configure options.
+
+ --with-tcl-dir=<ActiveTcl_root>
+ --with-tk-dir=<ActiveTcl_root>
+
+And use the followings if you need.
+
+ --with-tcllib=<libname>
+ --with-tklib=<libname>
+ --enable-tcltk-stubs
+
+For example, when you install ActiveTcl-8.4.x to '/usr/local/ActiveTcl',
+
+ configure --with-tcl-dir=/usr/local/ActiveTcl/ \
+ --with-tk-dir=/usr/local/ActiveTcl/ \
+ --with-tcllib=tcl8.4 \
+ --with-tklib=tk8.4 \
+ --enable-tcltk-stubs
+
+It depends on your environment that you have to add the directory of
+ActiveTcl's dynamic link libraries to your library path when execute
+Ruby/Tk.
+
+# For example, on Linux, one of the ways is to use LD_LIBRARY_PATH
+# environment variable.
+#
+# [bash]$ LD_LIBRARY_PATH=/usr/local/ActiveTcl/lib:$LD_LIBRARY_PATH \
+# ruby your-Ruby/Tk-script
+#
+# [bash]$ LD_LIBRARY_PATH=/usr/local/ActiveTcl/lib:$LD_LIBRARY_PATH irb
+
+Then, you'll be able to use Tcl/Tk extension libraries included in the
+ActiveTcl package (e.g. call TkPackage.require('BWidget'), and then,
+use functions/widgets of BWidget extention).
+
+ Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)