installing mod_ruby on suse linux x86_64 with apache 2059

Tue, Jan 20, 2009

After the grunge of installing mod_ruby on OS X, I thought I’d try it on linux:

./configure.rb –with-apxs=/usr/local/apache/bin/apxs
this is a web server full of rpms so apr was found on the various system paths and I didn’t need to specify it. I did get a pretty bad error on make though:
…
recompile with -fPIC
turns out you have to compile ruby to enable sharing:
./configure –prefix=/usr/local/ruby-1.8.6 
–enable-shared
so that’s it installed on apache.

comments powered by Disqus