View Single Post
  #1  
Old 18th June 2009, 06:37
happz happz is offline
Senior Member
 
Join Date: Feb 2008
Location: Nashville, TN
Posts: 261
Thanks: 35
Thanked 6 Times in 5 Posts
Default 3rd try to install centos and get the same error everytime:

here is where the problem happens: 12.2 Installing mod_ruby
For CentOS 5.2, there's no mod_ruby package available, so we must compile it ourselves. First we install some prerequisites:

yum install httpd-devel ruby ruby-devel

Next we download and install mod_ruby as follows:

cd /tmp
wget http://www.modruby.net/archive/mod_ruby-1.2.6.tar.gz
tar zxvf mod_ruby-1.2.6.tar.gz
cd mod_ruby-1.2.6/
./configure.rb --with-apr-includes=/usr/include/apr-1
make
make install
__________________________________________________ _____________-


The make give 1 error and make install gives 1 one.

There is no way that I am doing the same thing wrong 3 times in a row. any help would be great. thanks!!

btw, upon installing 5.2 it updates to 5.3 ....just so i tell that part. it is 5.3


__________________________________________________ _______________________________________________

Here is the error::::::

[root@srv0 mod_ruby-1.2.6]# make
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fno-strict-aliasing -fPIC -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I. -I/usr/lib/ruby/1.8/i386-linux -I/usr/include/httpd -I/usr/include/apr-1 -c apachelib.c
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


Happz

Last edited by happz; 18th June 2009 at 06:47. Reason: added more info about version which is centos 5.3
Reply With Quote
Sponsored Links