[ome-devel] Installation probelms

Chris Allan callan at blackcat.ca
Mon Nov 8 15:26:25 GMT 2004


On Mon, Nov 08, 2004 at 08:59:25AM +0100, Asif Jan wrote:
> Dear OME Developers,

Hi Asif.

> I am trying to install OME on my Red Hat machine. Things seems to be 
> going well until the apache configuration step.I have mod_perl 2 
> configured and working properly on my machine. The OME installer is 
> checking the GATEWAY_INTERFACE variable and is comparing its value to  
> CGI-Perl /1.1 instead of  CGI/1.1. The installation fails at the step.
> 
> After going through the pain of configuring, reconfiguring I discovered 
> that this env variable i.e. GATEWAY_INTERFACE is not supposed to be set 
> to CGI-Perl/1.1. value. Please have a look at
> 
> http://perl.apache.org/docs/2.0/user/porting/compat.html#C__ENV_GATEWAY_INTERFACE__
> 
> Can you please tell me how to change the installation script in order to 
> do an installation with mod_perl version 2.

First, I'll assume you're using the 2.2.1.1 package from the website.
Please let me know if this is not the case.

Can you try applying the attached patch from the root of the extracted
OME package? For example:

cd ~/src/OME
patch -p0 < ~/tmp/cgi-perl-bug.patch

> 
> 
> Thanks in advance,

Not a problem.

> 
> Asif

Ciao.

-Chris
-------------- next part --------------
Index: src/perl2/OME/Install/ApacheConfigTask.pm
===================================================================
RCS file: /home/cvs/ome/OME/src/perl2/OME/Install/ApacheConfigTask.pm,v
retrieving revision 1.20.2.14
diff -r1.20.2.14 ApacheConfigTask.pm
282,292d281
< 	# Check that GATEWAY_INTERFACE contains CGI-Perl
< 	print BOLD, "[FAILURE]", RESET, ".\n" and
< 		print $LOGFILE "Apache/mod_perl is not properly configured.\n".
< 			"GATEWAY_INTERFACE is \"$1\" in CGI test instead of \"CGI-Perl/1.1\".\n".
< 			"CGI test: $url\n" and
< 		croak "Apache/mod_perl is not properly configured.\n".
< 			"GATEWAY_INTERFACE is \"$1\" in CGI test instead of \"CGI-Perl/1.1\".\n".
< 			"CGI test: $url\n".
< 			"See $OME_TMP_DIR/install/$LOGFILE_NAME for more details."
< 	unless $content =~ /^GATEWAY_INTERFACE\s*=\s*CGI-Perl.*$/m;
< 


More information about the ome-devel mailing list