All this stuff (apache, mod_perl, etc) builds fine on Redhat.
You certainly don't need to change from Redhat to some other
distribution just to build apache and mod_perl.
All you need to do is *ignore* the Redhat packages.
Simply download and build apache and mod_perl, just as you
would anywhere. It's about as simple as untar'ing the files,
and typing 'configure; make install'. But read the INSTALL files!
By default, theses packages install in /usr/local/... and
are completely separate from the rpm packages, and can happily
co-exist (not that I suggest actually using the rpms; I'm just
saying that their presence has no effect on a hand-built versions)
And of course, do not use apache and mod_perl 1.x. Use the
latest versions.
Personally, I manually build perl too, though I think the
version on your redhat is probably OK.
Mark
Chris Werner wrote:
Tom,
I never build on RedHat, I consider it a prepackage type distribution;
If the package you need is not available you are out of luck.
If you want to build tools, go to a distribution set up with a clean
build environment: I recommend slackware or one of these derivatives.
If this is not an option, try creating a separate web tools directory,
/opt/web for example, and build perl, apache and mod_perl from source there.
There has been a LOT of noise on this list about RedHat’s mod_perl 1.99,
the consensus seems to be that this out of date package should be
avoided do to API changes and continuing support reasons.
Just my $0.02 worth, your mileage may vary.
Christian Werner
------------------------------------------------------------------------
*From:* Tom Weber [mailto:[EMAIL PROTECTED]
*Sent:* Thursday, June 22, 2006 9:53 AM
*To:* modperl@perl.apache.org
*Subject:* Basic Help, RedHat
New to this list, so I'm sure that this has been covered, but hoping
someone can point me in the right direction. Hope this doesn't make you
laugh too hard, being such a newbie. Don't know where to turn, but don't
want to abandon this project.
I've been unsuccessful at trying to get mod_perl to work on RedHat
Linux. I'm willing to write the code either in mod_perl v1 or v2,
whichever I can get to work.
I'm attempting to use these pieces of software that comes straight from
RedHat:
RedHat Linux O/S: 2.6.9-34.0.1.ELsmp
Apache: 2.0.52 (Red Hat)
Perl: v5.8.5 built for i386-linux-thread-multi
and have made two attempts at mod_perl:
*mod_perl: 1.99_16*: (the one that comes with RedHat). I can't even get
*Apache::Cookie* to load, and a simple: *$r->args* does not give me
anything...... can't get *$r->headers_out->add *(or set) also errors.
and:
*mod_perl: 2.0.2*: I was totally unsuccessful at trying "make" this.
This version failed terribly with "make test", even some tests %failed =
200% (Huh??). Even with lots of errors, I did install it, but only with
partial success. The Apache::compat did not seem to work neither.
Was thinking about apache 2.2.2 with mod_perl: 2.0.2, but noticed
someone had problems with that.
The part that is really frustrating was that someone built a combo
apache/mod_perl for windows that installed easily, and I was able to
prototype what I needed on there.
Thanks to anyone who can help,
Tom