kevin.cousins
25th July 2009, 19:56
I am installing "The Perfect Server - CentOS 5.3 i386 [ISPConfig2]". During Step 12.2, Installing mod_ruby, I am getting error messages:
apachelib.c: In function âap_chdir_fileâ:
apachelib.c:149: warning: ignoring return value of âchdirâ, declared with attribute warn_unused_result
apachelib.c:154: warning: ignoring return value of âchdirâ, declared with attribute warn_unused_result
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 identifier is reported only once
apachelib.c:374: error: for each function it appears in.)
make: *** [apachelib.o] Error 1
After this step, when I command httpd to restart, I get the following error message:
Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.d/ruby.conf: Cannot load /etc/httpd/modules/mod_ruby.so into server: /etc/httpd/modules/mod_ruby.so: cannot open shared object file: No such file or directory
I followed the tutorial explicitly and this is the second installation where I ran into this problem at the same place. Where did I go wrong?
apachelib.c: In function âap_chdir_fileâ:
apachelib.c:149: warning: ignoring return value of âchdirâ, declared with attribute warn_unused_result
apachelib.c:154: warning: ignoring return value of âchdirâ, declared with attribute warn_unused_result
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 identifier is reported only once
apachelib.c:374: error: for each function it appears in.)
make: *** [apachelib.o] Error 1
After this step, when I command httpd to restart, I get the following error message:
Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.d/ruby.conf: Cannot load /etc/httpd/modules/mod_ruby.so into server: /etc/httpd/modules/mod_ruby.so: cannot open shared object file: No such file or directory
I followed the tutorial explicitly and this is the second installation where I ran into this problem at the same place. Where did I go wrong?