Re: mod_ruby-1.2.4 compile bombs on ruby-1.9.0

Shugo Maeda <[email protected]> Tue, 15 Feb 2005 10:00:47 +0900
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi,

Wai-Sun Chia wrote:
> Hello,
> mod_ruby-1.2.4
> ruby-1.9.0-20050208
> httpd-2.0.52
> 
> Looked up OpenFile struct, and it doesn't have f member anymore, only fd...
> Any clues?
> 
> 
> [waisun@caspar mod_ruby-1.2.4]$ rpm -q httpd
> httpd-2.0.52-2
> [waisun@caspar mod_ruby-1.2.4]$ rpm -q ruby
> ruby-1.9.0-20050208
> [waisun@caspar mod_ruby-1.2.4]$ make
> gcc -O3 -march=i386 -mcpu=i686 -W -Wall  -fPIC -Wall -O3 -march=i386 
> -mcpu=i686 -I. -I/usr/lib/ruby/1.9/i386-linux -I/usr/include/httpd 
> -I/usr/include/apr-0   -c request.c
> request.c: In function `request_send_fd':
> request.c:1484: error: structure has no member named `f'

OpenFile was changed on the CVS HEAD of ruby, so you have to use the
HEAD version of mod_ruby.

You can get it from the Subversion repository.

$ svn co http://svn.modruby.net/repos/mod_ruby/trunk mod_ruby

Shugo