You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by da...@apache.org on 2003/08/21 00:32:24 UTC
cvs commit: tcl-rivet/src configure.tcl
davidw 2003/08/20 15:32:24
Modified: . ChangeLog INSTALL
src configure.tcl
Log:
* INSTALL: Updated instructions.
* src/configure.tcl (configure::parsetclconfig): We need access to
previously parsed variables, so we do this in the ::configs
namespace.
Revision Changes Path
1.131 +8 -0 tcl-rivet/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /home/cvs/tcl-rivet/ChangeLog,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -r1.130 -r1.131
--- ChangeLog 20 Aug 2003 17:20:47 -0000 1.130
+++ ChangeLog 20 Aug 2003 22:32:24 -0000 1.131
@@ -1,3 +1,11 @@
+2003-08-21 David N. Welton <da...@dedasys.com>
+
+ * INSTALL: Updated instructions.
+
+ * src/configure.tcl (configure::parsetclconfig): We need access to
+ previously parsed variables, so we do this in the ::configs
+ namespace.
+
2003-08-20 David N. Welton <da...@dedasys.com>
* src/buildscripts/aardvark.tcl (aardvark::getconfigs): Added new
1.6 +11 -5 tcl-rivet/INSTALL
Index: INSTALL
===================================================================
RCS file: /home/cvs/tcl-rivet/INSTALL,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- INSTALL 19 May 2003 22:24:56 -0000 1.5
+++ INSTALL 20 Aug 2003 22:32:24 -0000 1.6
@@ -1,11 +1,17 @@
The only thing you need to install Rivet is a C compiler, linker, and
of course, Tcl!
-Rivet is built by means of a Tcl make-like script which calculates
-dependencies and runs the C compiler and linker.
+Rivet is built by means of Tcl based configure and make like scripts
+which calculate dependencies and run the C compiler and linker.
-To build mod_rivet.so, cd to the src/ directory, and run the make.tcl
-script (using a tclsh linked against the libraries you want to use),
-then copy that to your Apache libexec/ directory.
+To build mod_rivet.so, cd to the src/ directory, run the
+./configure.tcl script, then run make.tcl. Make sure to use a tclsh
+linked against the libraries you want to use for Rivet. Then do a
+./make.tcl install to install everything.
+
+cd src
+./configure.tcl
+./make.tcl shared
+./make.tcl install
For more detailed instructions, see the docs/html/ directory.
1.2 +4 -3 tcl-rivet/src/configure.tcl
Index: configure.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/src/configure.tcl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- configure.tcl 20 Aug 2003 17:20:48 -0000 1.1
+++ configure.tcl 20 Aug 2003 22:32:24 -0000 1.2
@@ -257,8 +257,9 @@
set val ""
set var [lindex $line 0]
catch {
- set val [subst [string trim [lindex $line 1] ']]
- }
+ set val [namespace eval ::configs \
+ [list subst [string trim [lindex $line 1] ']]]
+ } err
set ::configs::[set var] $val
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org