#1  
Old 22nd September 2008, 00:29
PavementPounder PavementPounder is offline
Junior Member
 
Join Date: Jul 2008
Location: Edmonton - Alberta
Posts: 17
Thanks: 3
Thanked 3 Times in 2 Posts
Default mod_ruby configuration error

Hi,

I went through the Perfect Server CentOS 5.2 tutorial but when I got to the mod_ruby installation step (12.2) I had this trouble:

Code:
[root@viktor mod_ruby-1.2.6]# ./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... cannot open /httpd/build/config_vars.mk: No such file or directory at /usr/sbin/apxs line 201.
cannot open /httpd/build/config_vars.mk: No such file or directory at /usr/sbin/apxs line 201.
configure.rb: error: failed to exec /usr/sbin/apxs
Any help would be appreciated. Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 22nd September 2008, 13:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Did you install the httpd-devel package?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 22nd September 2008, 16:53
PavementPounder PavementPounder is offline
Junior Member
 
Join Date: Jul 2008
Location: Edmonton - Alberta
Posts: 17
Thanks: 3
Thanked 3 Times in 2 Posts
Default

Yeah, Here is what I did:

Code:
[root@viktor ~]# yum install httpd-devel ruby ruby-devel
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * base: centos.arcticnetwork.ca
 * updates: centos.arcticnetwork.ca
 * addons: centos.arcticnetwork.ca
 * extras: centos.arcticnetwork.ca
Setting up Install Process
Parsing package install arguments
Package httpd-devel - 2.2.3-11.el5_1.centos.3.x86_64 is already installed.
Package httpd-devel - 2.2.3-11.el5_1.centos.3.i386 is already installed.
Package ruby - 1.8.5-5.el5_2.3.x86_64 is already installed.
Package ruby-devel - 1.8.5-5.el5_2.3.x86_64 is already installed.
Package ruby-devel - 1.8.5-5.el5_2.3.i386 is already installed.
Nothing to do
Reply With Quote
  #4  
Old 22nd September 2008, 19:04
PavementPounder PavementPounder is offline
Junior Member
 
Join Date: Jul 2008
Location: Edmonton - Alberta
Posts: 17
Thanks: 3
Thanked 3 Times in 2 Posts
Default

Is mod_ruby needed by ISPConfig, or can I get by without installing it?
Reply With Quote
  #5  
Old 23rd September 2008, 21:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You can get by without installing it.

Does /usr/sbin/apxs exist?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 24th September 2008, 06:12
PavementPounder PavementPounder is offline
Junior Member
 
Join Date: Jul 2008
Location: Edmonton - Alberta
Posts: 17
Thanks: 3
Thanked 3 Times in 2 Posts
Default

yeah, apxs is what's having the problem. Apxs tries to look for some make rules files under /httpd/build/ instead of /usr/lib64/httpd/build/ or /usr/lib/httpd/build/. I made a symbolic link /httpd to /usr/lib64/httpd just to see what would happen but then the compile failed, Although the configure seemed to run fine.
Reply With Quote
  #7  
Old 25th September 2008, 15:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Instead of creating the symlink, you can try to copy the files from /usr/lib64/httpd/build to /httpd/build.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 29th September 2008, 10:15
romsworld romsworld is offline
Junior Member
 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Smile Resolved :)

Hi,

To resolv the configure problem :

Change in vim /usr/sbin/apxs

#my $installbuilddir = $libdir . "/httpd/build";
my $installbuilddir = "/usr/lib64/httpd/build";

But after this, we have an another problem with make !

To fix it, we must install apr-devel-1.2.7-11.x86_64.rpm
http://rpm.pbone.net/index.php3/stat...86_64.rpm.html

Enjoy with make install.
Reply With Quote
Reply

Bookmarks

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
configuring IPTABLES firewall adityavpratap HOWTO-Related Questions 9 27th May 2006 21:42
Frustrated with ISPConfig install! woozyerdaddee Installation/Configuration 4 19th May 2006 03:38
Installation Fails... :( cyberstorm Installation/Configuration 1 15th January 2006 18:07
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 4th October 2005 23:53


All times are GMT +2. The time now is 20:28.


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