Stas Bekman wrote:
Problem is that on our production machine I need to do everything with rpm. When I have the time I will try it on another machine.
That's clear. But nothing prevents you from building from the source to test whether it works. I have no problem building mp2 from source on linux against 2.0.46. So w/o being able to reproduce the problem, I can't be much of help here.
Ok, I dit the build from source, and make test comes with the same error. I'm not sure what info I have to provide you now.
Great. So now we know that it's not the problem of the rpm.
[...]
^^^^^^^^^^*** /usr/sbin/httpd -V Server version: Apache/2.0.46 Server built: Dec 12 2003 05:43:29 Server's Module Magic Number: 20020903:4
That explains the problem that you are having. You aren't running 2.0.46, but 2.0.46+, which is not supported.
A real Apache/2.0.46 reports: Server's Module Magic Number: 20020903:3 ^^^^^^^^^^ notice that the minor version number is different.
I've just rebuilt mp2 cvs with the 2.0.46 and it works just fine. For 2.0.46 only the symbol should live in mod_perl.so:
% nm src/modules/perl/mod_perl.so | grep compress 0002d057 T apr_table_compress
Please install the real 2.0.46 and the problem will go away.
If you are interested in low-level details, your problem comes from:
src/modules/perl/modperl_apache_compat.c:
/* pre-APR_0_9_5 (APACHE_2_0_47) * both 2.0.46 and 2.0.47 shipped with 0.9.4 - * we need the one that shipped with 2.0.47, which is major mmn 20020903, minor mmn 4 */ #if ! AP_MODULE_MAGIC_AT_LEAST(20020903,4) ... void apr_table_compress... #endif /* pre-APR_0_9_5 (APACHE_2_0_47) */
you can manually change that to (20020903,5) or similar, but I can't tell if other things won't break.
We have this recurrent issue with distros which think that Perl and Apache are used only standalone to run one liners and serve html files, and give their users releases, which Russians call "ni riba ni miaso", literally translated as "not a fish and not meat", leading to the problem you have just encountered yourself.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html