Salve Marco, benvenuto su rivet-dev

On 10/20/2012 05:21 PM, Marco Pallante wrote:
Hello everyone,

This is my first message to the list, so please forgive me if there
is an answer somewhere else, but I didn't find it.

I'm just trying Rivet 2.0.5 on a Debian machine, using the official
packages, and I've both Tcl 8.5 and 8.6 installed on it, the former
from the sid repos, and the latter from the experimental.


As both Debian maintainer and developer for Rivet my involvement in the issue is twofold.

I'd like to use Rivet with Tcl8.6, but if I try<? puts $tcl_version"
?>, I get 8.5 as result. ldd on librivet.so gives libtcl8.5.so.0 as
requisite, so I wonder if there is a way to choose between 8.6 and
8.5 at runtime, or I need to recompile Rivet.


short answer: no, you can't choose it runtime. You have to build Rivet yourself and tell configure where is the tclConfig.sh for the version of Tcl you want to build mod_rivet with

In the Debian case (testing and unstable) building Rivet 2.0.5 for Apache 2.2

./configure --with-apache=/usr --with-tcl=/usr/lib/tcl8.5 --with-apxs=/usr/bin/apxs2 --with-apache-version=2

You have you're custom Tcl installation just tell configure where you have installed it.

Notice that Debian ships Tcl 8.6 in experimental (along with Apache 2.4 but I would be careful about this because some fundamental packages such as mod_perl don't run with it)

 -- Massimo

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

Reply via email to