Hi Massimo, Hi Jeff,

thank you for your answers. Rivet is running now.

Perhaps a bit of feed-back. This is not criticism, it is to help making
rivet better.

IMHO, there should not be as much error message when the install script
runs. The version 2.0 suggests a mature software.
The install script and the IMHO quite weak installation instructions do
not. Also the remar in two places "look to doc/html for installation
instructions" is quite inappropriate. I didn't found anything there in
my source distribution.

IMHO the installation should mention that many errors are expected.
And a test should be mentioned.
IMHO it is not sufficient to tell "add to apache conf". It would be
better to write something like "add to file
/etc/apache2/default-config.conf. Of cause this depends on the
distribution, but at least one requires an idea.
I also took some time to find apxs (as apxs2 in the develop package).
There should be a word, that this is a development tool provided with
apache.

And "easy" is something else ;-)

To end this funny text, here are my installation steps:
* All lines starting with "*" are remarks or instructions,
* all others must be entered on the command prompt

* System: SuSE Linux 11.1 32Bit X86

* be shure, packet apache2-devel is installed
* download Rivet 2.0.0 from http://tcl.apache.org/rivet
* As normal user in a temporary folder:
tar -xvf rivet-2.0.0.tar.gz
cd rivet-2.0.0
aclocal
autoreconf
./configure --with-tcl=/usr/lib --with-apache-version=2 \
        --with-tclsh=/usr/bin/tclsh --with-apache=/usr \
        --with-rivet-target-dir=/usr/lib/myrivetlib \
        --with-apxs=/usr/sbin/apxs2
make
* compilation takes some time
su
* enter superuser password
make install
* many errors arise
* will install:
*       /usr/lib/apache2/mod_rivet.so
*       /usr/lib/apache2/mod_rivet.la
*       /usr/lib/myrivetlib/*
kate /etc/apache2/mod_rivet.conf
* (replace "kate" by your favorite editor)
* Editor opens. Enter the following lines:
# start of file /etc/apache2/mod_rivet.conf
AddType application/x-httpd-rivet  rvt
AddType application/x-rivet-tcl    tcl
AddType "application/x-httpd-rivet; charset=utf-8" rvt
# end of file /etc/apache2/mod_rivet.conf

* Start Yast Sysconfig module:
* Navigate to Network->www->apache2
* Add "rivet" to APACHE_MODULES
* Add "/etc/apache2/mod_rivet.conf" to APACHE_CONF_INCLUDE_FILES

* Test *
kate /srv/www/htdocs/test.rvt
* (replace "kate" by your favorite editor)
* Editor opens. Enter the following lines and save the file:
<?
    package require Rivet
    package require Session
    package require DIO
    package require form

    puts "<b>I got right here!</b>"
?>
* End of file

* Now open the following address with a web browser:
* http://localhost/test.rvt

It should show "I got right here!".
If there are errors, there are issues with the installed apckages.
If there is the file contents ("<?...?>" shown, there are issues with
the apache configuration.

----

End ;-)

Thank you all !

Regards,
Harald

---------------------------------------------------------------------
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