From: Chris Pine Date: 2002-12-04T13:26:57+09:00 Subject: mod_ruby 1.0.1 install problems Hi. I sent this to the mod_ruby ML, but this one is much more active, so I thought I'd give it a try. First I was having trouble with configure.rb, which kept saying: ./configure.rb:286: uninitialized constant CFLAGS (NameError) I tried exporting the CFLAGS variable, but it wasn't working, so I just added the following code to the top of configure.rb: CFLAGS = '' if !defined? CFLAGS That seemed to work. Then I tried 'make'. It complained: ---------------------------- gcc -fPIC -Wall -O2 -march=i386 -mcpu=i686 -I. -I/usr/local/lib/ruby/1.7/i68 6-linux -I/usr/include/httpd -DUSE_ERUBY=1 -c mod_ruby.c mod_ruby.c:514: conflicting types for `ruby_cleanup' /usr/local/lib/ruby/1.7/i686-linux/intern.h:178: previous declaration of `ruby_cleanup' make: *** [mod_ruby.o] Error 1 ---------------------------- I'm running RedHat 8, and 'gcc -v' gives me: gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) and 'ruby -v': ruby 1.7.3 (2002-11-25) [i686-linux] Is there a quick fix I could make to the source to get this to compile? Many thanks for any help, Chris