Well, it looks like you dont' have the mysqltcl package installed. Rivet
(with its session package) and Mysql work well together. I've been using
them for 4 years now and I remember fixing the mysql support for the
session package was my very first small contribution to Rivet.
-- Massimo
Thomas Lloyd wrote:
You got it on the nose. I had compile rivet using tcl8.5 but the Itcl
package I was using from Ubuntu was compiled against 8.4. So i
recompiled rivet against 8.4 and now at least it does not seg fault when
I start apache.
The next issue, as per the instructions on the rivet website I am trying
to call the DIO object to connect to a database before calling session.
I am getting this error message from this code:
puts "DIO - [package require DIO]"
set dbhandle [::DIO::handle Mysql -host host -port port -user user -pass
pass -db db]
--------------------------------------------------------------------------
No MySQL Tcl package available
while executing
"::DIO::Mysql #auto -host host -port port -user user -pass pass -db db"
("uplevel" body line 1)
invoked from within
"uplevel \#0 ::DIO::$interface $obj $args"
(procedure "::DIO::handle" line 9)
invoked from within
"::DIO::handle Mysql -host host -port port -user user -pass pass -db db"
(in namespace eval "::request" script line 9)
invoked from within
"namespace eval request {
puts -nonewline "
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org