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 Brice Hamon <no...@gmail.com> on 2013/07/02 16:01:46 UTC
Re: Rivet 2.1 try out - SOLVED -
Hi Guys,
Now Rivet 2.1.2 is running on my OPENSUSE 12.1 tcl 8.5 distribution.
I follow Harald's instruction and it worked.
Here is what I did:
packet apache2, apache2-devel, tcl8.5 tcl8.5-devel yast installed
tar -xvf rivet-2.1.2.tar.gz
cd rivet-2.1.2
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
su
make install
vi /etc/apache2/mod_rivet.conf and added in it:
# 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
NOTE: I ad to manually copy the packages to my target directory, im my case
/usr/myrivetlib
It now contains:
drwxr-xr-x 2 root root 4096 Jul 2 09:31 calendar
drwxr-xr-x 2 root root 4096 Jul 2 09:31 commserver
drwxr-xr-x 2 root root 4096 Jul 2 09:31 dio
drwxr-xr-x 2 root root 4096 Jul 2 09:31 dtcl
drwxr-xr-x 2 root root 4096 Jul 2 09:31 entities
drwxr-xr-x 2 root root 4096 Jul 2 09:31 form
-rw-r--r-- 1 root root 7109 Jul 2 08:43 init.tcl
-rwxr-xr-x 1 root root 252897 Jul 2 08:43 librivetlib.so
-rwxr-xr-x 1 root root 150042 Jul 2 08:43 librivetparser.so
-rw-r--r-- 1 root root 689 Jul 2 08:43 pkgIndex.tcl
-rw-r--r-- 1 root root 175 Jul 2 09:31 README
drwxr-xr-x 2 root root 4096 Jul 2 09:31 rivet_ncgi
drwxr-xr-x 2 root root 4096 Jul 2 08:55 rivet-tcl
drwxr-xr-x 2 root root 4096 Jul 2 09:29 session
drwxr-xr-x 2 root root 4096 Jul 2 09:31 simpledb
drwxr-xr-x 2 root root 4096 Jul 2 09:31 tclrivet
* Test *
vi /srv/www/htdocs/test.rvt
<?
package require Rivet
package require Session
package require DIO
package require form
puts "<b>I got right here!</b>"
?>
service apache2 start
point my browser to localhost/test.rvt
and got the magic "I got right here!".
Many thanks to Massimo and Harald in helping me to get this working from
genuine SUSE package.
Regards,
Brice.
On Mon, Jul 1, 2013 at 5:11 AM, Harald Oehlmann <harald.oehlmann@elmicron.de
> wrote:
> Hi Brice,
>
> well, when I was still on OpenSuse, I had absolutely no problems with
> Rivet. It just worked. I have never tried 64 bit on OpenSuse.
> I am now on CentOS which is much more difficult.
>
> Bit anyway:
> - complain about tclConfig.sh not found in /usr/lib64
>
> On CentOS, you need a file "/usr/local/share/config.site", as described on:
> wiki.tcl.tk/Rivet
> http://wiki.tcl.tk/3298
>
> OpenSuse is normally the best distribution on my Radar, always recent
> and a very good tcl maintainer (Rainhard Max).
>
> I have never tried the test suite...
> I had no need to recompile apache, it just worked.
>
> I am still maintaining the ready build rpm modules for rivet.
> But since some time, I have no system any more to test them.
>
> I did not get your final problem, waht was solved and what was not solved.
>
> Hope you get it.
>
> Regards,
> Harald
>
R: Re: Rivet 2.1 try out - SOLVED -
Posted by Massimo Manghi <mx...@apache.org>.
Typing
Make install-packages
Should install the tcl packages without manual copy
Congratulations anyway and let us know of any problems or feature requests (provided we can cope with them)
Happy tcl'ing
-- Massimo
Inviato dal mio BlackBerry®
-----Original Message-----
From: Brice Hamon <no...@gmail.com>
Date: Tue, 2 Jul 2013 10:01:46
To: Harald Oehlmann<ha...@elmicron.de>
Cc: Massimo Manghi<mx...@apache.org>; Massimo Manghi<ma...@unipr.it>; rivet-dev@tcl.apache.org<ri...@tcl.apache.org>
Subject: Re: Rivet 2.1 try out - SOLVED -
Hi Guys,
Now Rivet 2.1.2 is running on my OPENSUSE 12.1 tcl 8.5 distribution.
I follow Harald's instruction and it worked.
Here is what I did:
packet apache2, apache2-devel, tcl8.5 tcl8.5-devel yast installed
tar -xvf rivet-2.1.2.tar.gz
cd rivet-2.1.2
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
su
make install
vi /etc/apache2/mod_rivet.conf and added in it:
# 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
NOTE: I ad to manually copy the packages to my target directory, im my case
/usr/myrivetlib
It now contains:
drwxr-xr-x 2 root root 4096 Jul 2 09:31 calendar
drwxr-xr-x 2 root root 4096 Jul 2 09:31 commserver
drwxr-xr-x 2 root root 4096 Jul 2 09:31 dio
drwxr-xr-x 2 root root 4096 Jul 2 09:31 dtcl
drwxr-xr-x 2 root root 4096 Jul 2 09:31 entities
drwxr-xr-x 2 root root 4096 Jul 2 09:31 form
-rw-r--r-- 1 root root 7109 Jul 2 08:43 init.tcl
-rwxr-xr-x 1 root root 252897 Jul 2 08:43 librivetlib.so
-rwxr-xr-x 1 root root 150042 Jul 2 08:43 librivetparser.so
-rw-r--r-- 1 root root 689 Jul 2 08:43 pkgIndex.tcl
-rw-r--r-- 1 root root 175 Jul 2 09:31 README
drwxr-xr-x 2 root root 4096 Jul 2 09:31 rivet_ncgi
drwxr-xr-x 2 root root 4096 Jul 2 08:55 rivet-tcl
drwxr-xr-x 2 root root 4096 Jul 2 09:29 session
drwxr-xr-x 2 root root 4096 Jul 2 09:31 simpledb
drwxr-xr-x 2 root root 4096 Jul 2 09:31 tclrivet
* Test *
vi /srv/www/htdocs/test.rvt
<?
package require Rivet
package require Session
package require DIO
package require form
puts "<b>I got right here!</b>"
?>
service apache2 start
point my browser to localhost/test.rvt
and got the magic "I got right here!".
Many thanks to Massimo and Harald in helping me to get this working from
genuine SUSE package.
Regards,
Brice.
On Mon, Jul 1, 2013 at 5:11 AM, Harald Oehlmann <harald.oehlmann@elmicron.de
> wrote:
> Hi Brice,
>
> well, when I was still on OpenSuse, I had absolutely no problems with
> Rivet. It just worked. I have never tried 64 bit on OpenSuse.
> I am now on CentOS which is much more difficult.
>
> Bit anyway:
> - complain about tclConfig.sh not found in /usr/lib64
>
> On CentOS, you need a file "/usr/local/share/config.site", as described on:
> wiki.tcl.tk/Rivet
> http://wiki.tcl.tk/3298
>
> OpenSuse is normally the best distribution on my Radar, always recent
> and a very good tcl maintainer (Rainhard Max).
>
> I have never tried the test suite...
> I had no need to recompile apache, it just worked.
>
> I am still maintaining the ready build rpm modules for rivet.
> But since some time, I have no system any more to test them.
>
> I did not get your final problem, waht was solved and what was not solved.
>
> Hope you get it.
>
> Regards,
> Harald
>