[rt-users] Problems preparing system for RT install

Gonzalo Servat gonzalo at linuxaus.com
Tue Jul 13 08:53:42 EDT 2004


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:

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
perl-5.8.0-88.3

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. 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. 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)

Thanks in advance and sorry about the long post.

Regards,
Gonzalo






More information about the rt-users mailing list