moochan です.

On Thu, 25 Feb 1999 19:53:21 +0900
Shugo Maeda <shugo / netlab.co.jp> wrote:

shugo>わかりました。これはソースを展開したディレクトリなんですね。
shugo>このディレクトリで、
shugo># make install
shugo>とするとApacheが/usr/local/apacheにインストールされるように
shugo>なっています。
shugo>そうすれば、

# pwd
/usr/local/apache_1.3.3
# ls
ABOUT_APACHE           README                 configure
Announcement           README.NT              htdocs
INSTALL                README.configure       icons
KEYS                   WARNING-NT.TXT         logs
LICENSE                cgi-bin                mod_ruby-0.0.6.tar.gz
Makefile.tmpl          conf                   src

shugo>$ tar zxvf mod_ruby-0.0.6.tar.gz

# tar zxvf mod_ruby-0.0.6.tar.gz
mod_ruby/
mod_ruby/CVS/
mod_ruby/CVS/Root
mod_ruby/CVS/Repository
mod_ruby/CVS/Entries
mod_ruby/ChangeLog
mod_ruby/INSTALL
mod_ruby/apache.c
mod_ruby/apache.h
mod_ruby/configure.rb
mod_ruby/mod_ruby.c
mod_ruby/mod_ruby.h

shugo>$ cd mod_ruby
shugo>$ ruby configure.rb

# cd mod_ruby
# ruby configure.rb
checking for clearenv()... yes
I could not find your apache directory.
Please edit Makefile manually.

shugo>$ make

# make
gcc -g -O2 -fPIC -I/usr/local/lib/ruby/1.3/i486-linux -I -DHAVE_CLEARENV -c apac
he.c
apache.c:25: httpd.h: No such file or directory
apache.c:26: http_config.h: No such file or directory
apache.c:27: http_core.h: No such file or directory
apache.c:28: http_log.h: No such file or directory
apache.c:29: http_main.h: No such file or directory
apache.c:30: http_protocol.h: No such file or directory
apache.c:31: util_script.h: No such file or directory
apache.c:32: multithread.h: No such file or directory
make: *** [apache.o] Error 1
#

shugo># make install
shugo>という手順でmod_rubyをインストールできると思います。

以上の結果、インクルードで失敗します.
ruby_mod の Makefile を見ると $apachehdr,$apachelib が空ですが??

# このディレクトリ /usr/local/apache_1.3.3 は root 権限が必要ですね.

このテストは、
RHL5.0 LInux-2.0.35 i486,Apache-1.3.3,Ruby-1.3.1-990215
な環境で行なっております.

---
(^。^)(^・^)(^-^)(^ム^)	〜 moochan / ss.hitachizosen.co.jp