Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th June 2009, 05: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 05:47. Reason: added more info about version which is centos 5.3
Reply With Quote
Sponsored Links
  #2  
Old 18th June 2009, 09:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Please try to use the latest mod_ruby release:

http://www.modruby.net/archive/mod_ruby-1.3.0.tar.gz
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 18th June 2009, 16:22
happz happz is offline
Senior Member
 
Join Date: Feb 2008
Location: Nashville, TN
Posts: 261
Thanks: 35
Thanked 6 Times in 5 Posts
Default same problem

[root@srv0 mod_ruby-1.3.0]# 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/lib/ruby/1.8/i386-linux/i386-linux -I/usr/include/httpd -I/usr/include/apr-1 -c mod_ruby.c
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/lib/ruby/1.8/i386-linux/i386-linux -I/usr/include/httpd -I/usr/include/apr-1 -c ruby_config.c
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/lib/ruby/1.8/i386-linux/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
__________________________________________________ ________________
[root@srv0 mod_ruby-1.3.0]# make install
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/lib/ruby/1.8/i386-linux/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


Any ideas?

Regards,
happz

NOTE::::::::::::::::::: I see i asked this question in the wrong section so MODS if you want to move it to the server config section please do. I normally go to ispconfig section by habbit.

Last edited by happz; 18th June 2009 at 16:30. Reason: added note to move question
Reply With Quote
  #4  
Old 18th June 2009, 17:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Have not seen this problem yet. Maybe Falko has an idae what might cause this.

I recommend that you leave ot the mod_ruby installation and continue with the next setp in the installation. You can install mod_ruby later even after ispconfig is installed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 18th June 2009, 19:23
happz happz is offline
Senior Member
 
Join Date: Feb 2008
Location: Nashville, TN
Posts: 261
Thanks: 35
Thanked 6 Times in 5 Posts
Default Okay Till

That sounds like a plan. I will tell you that I've installed centos many times and successfully. It seems to have happened since some recent updates were applied buy I cannot confirm that. I will wait to see where this goes.

I do need to know if I should continue until I have ispconfig installed?

Regards,
happz
Reply With Quote
  #6  
Old 18th June 2009, 23:06
happz happz is offline
Senior Member
 
Join Date: Feb 2008
Location: Nashville, TN
Posts: 261
Thanks: 35
Thanked 6 Times in 5 Posts
 
Default Resolved....

I googled the answer and found it on the best site I've ever known:

Here is the link: http://www.howtoforge.org/forums/sho...7&postcount=12


Thanks,
Happz
Reply With Quote
The Following User Says Thank You to happz For This Useful Post:
till (18th June 2009)
Reply

Bookmarks

Tags
centos 5.2 perfect sever

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.