Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th September 2009, 13:23
Vargasmas Vargasmas is offline
Junior Member
 
Join Date: Nov 2007
Location: Phoenix, AZ
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Vargasmas
 
Question The Perfect Server - CentOS 5.3 i386 [ISPConfig 2] - Page 6 - Mod_Ruby

I'm trying to compile mod_ruby as per the instructions on http://www.howtoforge.com/perfect-se...ispconfig-2-p6

After adding this to fix a previous error:

Code:
#ifndef APACHELIB_H
#define APACHELIB_H
#define OPT_INCNOEXEC 32
#endif
I get this new error:

Code:
# 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 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 helpful suggestions?
Reply With Quote
Sponsored Links
Reply

Bookmarks

Tags
mod_ruby

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
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 16:22
Can't start apache Musty Server Operation 12 9th March 2008 13:58
subdomain and mail relay configuration aranthorn Installation/Configuration 24 3rd September 2007 22:53
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


All times are GMT +2. The time now is 17:33.


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