Centos 5.3 and mod_ruby not happy
Mike Carambat <[email protected]> Tue, 2 Jun 2009 14:43:08 -0700 (PDT)
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
I was following the Howtoforge " The perfect server - Centos 5.3" guidelines and everything goes perfect till mod_ruby-1.3.0
./configure.rb --with-apr-includes=/usr/include/apr-1
checking for a BSD compatible install... /usr/bin/install -c
checking whether we are using gcc... yes
checking Ruby version... 1.8.5
checking for static Apache module support... no
checking for dynamic Apache module support... yes
creating Makefile
creating libruby.module
creating doc/Makefile
Running make however yields the following errors:
apachelib.c: In function .ap_chdir_file.:
apachelib.c: 149: take care: the returnvalue of .chdir ., declared with .warn_unused_result. attribut, is ignored
apachelib.c: 154: take care: the returnvalue of .chdir ., declared with .warn_unused_result. attribut, is ignored
apachelib.c: In function .rb_init_apache. :
apachelib.c: 374: error: .OPT_INCNOEXEC. undeclared (first use in this function)
apachelib.c: 374: error: (Each undeclared identifire is reported only once
apachelib.c: 374: error: for each function it appears in.)
make: *** [apachelib.o] error 1
What's the deal? I've tried both 1.2.6 and 1.3.0 and they both fail the make. Is it something with my version of Apache? it's: 2.2.3 and httpd-devel is 2.2.3-22.el5.centos.1.i386
Thanks for any help,
-Mike