[rt-users] install FYI: TIEHASH err: build mod_perl EVERYTHING=1
doug.mildram at mindspeed.com
doug.mildram at mindspeed.com
Fri Sep 28 11:29:15 EDT 2001
I've been trying to document the install steps in more detail or cookbook,
especially avoiding the "blind magic" CPAN approach.
I think i just finished my attempt at this.
(even my 2nd installation took me days to do.)
I'm still shy about posting it because it's
a) 600 lines long, hard to decide what output to paste,
could be a lot shorter;
b) "localized" (local paths and passwords, etc
could stand some genericizing before passing along)
c) probably has holes in it.
But one thing that would be nice in the RT README near the
"Apache + mod_perl" requirement.
Perhaps saying "mod_perl built with USE_APACI=1 and EVERYTHING=1
a little louder would be a big help?
because, mod_perl by default disables many things, including some we need.
SYMPTOM:
If you got this error after doing close to everything else right:
on apachectl/httpd startup:
[Fri Sep 28 11:04:11 2001] [error] Can't locate object method "TIEHASH"
via package "Apache::Table" at
/usr/local/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 365.
Compilation failed in require at /usr/local/rt2/bin/webmux.pl line 20.
FIX:
Then you probably didnt find or follow the pointer found on the web docs:
% tar xzvf apache_x.x.x.tar.gz
% tar xzvf mod_perl-x.xx.tar.gz
% cd mod_perl-x.xx
% perl Makefile.PL APACHE_SRC=../apache_x.x.x/src USE_APACI=1 \
DO_HTTPD=1 EVERYTHING=1
====
APACHE_SRC and DO_HTTPD if omitted will prompt you anyways,
but the USE_APACI=1 is probably critical, and
the EVERYTHING=1 turns on MANY things
otherwise visible as "disabled" during the build.
Write me if you desire to get + debug a dumb-new-install guide
(geared for mysql, probably good for many OS's,
i've done it on redhat7.1 most recently.)
More information about the rt-users
mailing list