[rt-users] Problems preparing system for RT install

Ruslan U. Zakirov cubic at acronis.ru
Tue Jul 13 09:51:25 EDT 2004


Gonzalo Servat wrote:
> Hi All,
> 
> I'm having some problems getting the right versions of software
> installed so that RT can install and work reliably.
> 
> The system is running RedHat 9, under Virtuozzo (VPS software). It has
> the following packages installed:
1) wiki.bestpractical.com/?RHFAQ

> 
> httpd-devel-2.0.40-21.3.3.swsoft
> httpd-2.0.40-21.3.6.swsoft
> mod_ssl-2.0.40-21.9
> mod_perl-1.99_07-5
2) forget about this. It's old(more then year).

> perl-5.8.0-88.3
3) *attachments corruption* under this version.

4) Build new perl5.8.{3,4,...}
As variant: wiki.bestpractical.com/?CompilingPerl
My suggestion: don't mix paths(@INC).

5) Use Apache1.3.x+mp1.x or FastCGI for stable work.

> 
> The README file for RT 3.2.0 says "Perl 5.8.3 or later" with a nice
> warning about potential data corruption on earlier Perl versions, so I
> better not risk it. I installed Perl 5.8.4 in /usr/local. I figured I
> need to re-compile mod_perl now to use /usr/local/bin/perl. For some
> reason mod_perl does not compile successfully with Perl 5.8.4. I get
> errors like:
> 
> gcc -I/usr/src/redhat/BUILD/mod_perl-1.99_07/src/modules/perl -I/usr/
> src/redhat/BUILD/mod_perl-1.99_07/xs -I/usr/include/httpd -D_REENTRANT -
> D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/
> usr/local/include  -I/usr/include/gdbm  -I/usr/local/lib/perl5/5.8.4/
> i686-linux/CORE -DMOD_PERL -O2 -g -pipe -march=i386 -mcpu=i686 -fPIC \
> -c modperl_env.c && mv modperl_env.o modperl_env.lo
> modperl_env.c: In function `modperl_env_hash_keys':
> modperl_env.c:48: `my_perl' undeclared (first use in this function)
> modperl_env.c:48: (Each undeclared identifier is reported only once
> modperl_env.c:48: for each function it appears in.)
> make[1]: *** [modperl_env.lo] Error 1
> 
> If I compile using the old /usr/bin/perl (ver 5.8.0), it works fine so I
> figured it's trying to use something that has been deprecated in Perl
> 5.8.4.
Again 1.99_07 is too old.

> That's just a wild guess. Anyway, I downloaded the src RPM for
> mod_perl-1.99_12 and it failed to compile as it needs Apache version
> 2.0.44 or higher.
If it require it then something was broken before, at least IMHO there 
were security issues after .44

> So I then installed Apache 2.0.49 and mod_perl finally
> compiled so things were starting to come together. Problem now is every
> other Apache module needs to be recompiled, as the "httpd-mmn" version
> has changed.  At this point I decided this is too much as it was getting
> far too complicated and troublesome to continue so I went back to
> Apache2 2.0.40 & mod_perl 1.99_07. Perl version 5.8.4 is still in /usr/
> local.
> 
> I guess my question is - what are my options? Can I use FastCGI instead
> of mod_perl? (I've never used FastCGI)
mp1 or FCGI
For mp1: wiki.bestpractical.com/?ManualApache

				Ruslan.
> 
> Thanks in advance and sorry about the long post.
> 
> Regards,
> Gonzalo



More information about the rt-users mailing list