I'm experiencing Problems with the setting written above.

Currently, i'm running the configuration as written in the header.

The apache config (by doing make test) outputs the following:


[Wed Aug 02 10:15:10 2006] [notice] Apache/2.2.2 (Unix) mod_perl/2.0.2 Perl/v5.8.2 configured -- resuming normal operations
[Wed Aug 02 10:15:10 2006] [info] Server built: Jul  5 2006 10:11:34
[Wed Aug 02 10:15:10 2006] [debug] prefork.c(991): AcceptMutex: sysvsem (default: sysvsem)
[Wed Aug 02 10:15:15 2006] [error] [client 127.0.0.1] Can't locate object method "header_in" via package "Apache2::RequestRec" at /home/ggrabler/Apache2-SOAP-0.71/blib/lib/SOAP/Transport/HTTP2.pm line 96.\n
[Wed Aug 02 10:15:16 2006] [error] [client 127.0.0.1] Can't locate object method "header_in" via package "Apache2::RequestRec" at /home/ggrabler/Apache2- SOAP-0.71/blib/lib/SOAP/Transport/HTTP2.pm line 96.\n
[Wed Aug 02 10:15:16 2006] [info] removed PID file /home/ggrabler/Apache2- SOAP-0.71/t/logs/httpd.pid (pid=52148)
[Wed Aug 02 10:15:16 2006] [notice] caught SIGTERM, shutting down


Well, if i force the install i also get this error on my main server configuration ;). To ensure it's not a problem with AIX compiler (vac/cc_r), i set up the whole configuration as well using ARCH Linux, with the same result.

Since i wanted to solve the problem myself, i looked up the code of the HTTP2.pm. It seems as if it's mod_perl which cuases those troubles, though, as we can see i've got the latest mod_perl installed.

The sub new also did show me that the MOD_PERL_VERSION is manually set, by determining if Apache2::RequestRec is loading... what doesn't seem to happen.

Therefore MOD_PERL_VERSION is set to 1, and i get this error as if i was using mod_perl version 1.

If i manually set the MOD_PERL_VERSION to 2 in the HTTP2.pm, it works .. not properly though.

I wrote a small testfile, what does the following:

require Apache2::RequestRec;


(eval { require Apache2::RequestRec;} ) and do {
      require Apache2::RequestUtil;
      require Apache2::RequestIO;
      require Apache2::Const;
      require APR::Table;  ## This line seems to fail..
      Apache2::Const->import(-compile => 'OK');
      $MOD_PERL_VERSION = 2;
      print "!!MOD PERL VERSION DEFINED!!";
      last MOD_PERL;
    };
if ($MOD_PERL_VERSION == 2) {
  print "ZWEI";

}

there i get the error message as follows:

Can't load '/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/APR/Table/Table.so' for module APR::Table: rtld: 0712-001 Symbol modperl_hash_tied_object was referenced
      from module /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/APR/Table/Table.so(), but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol modperl_hash_tied_object_rv was referenced
      from module /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/APR/Table/Table.so(), but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol modperl_hash_tie was referenced
      from module /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/APR/Table/Table.so(), but a runtime definition
      of the symbol was not found. at /usr/opt/perl5/lib/5.8.2/aix-thread-multi/XSLoader.pm line 68.
 at /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/APR/XSLoader.pm line 30
Compilation failed in require at t/blah.pl line 8.

When i understood the documentation right, APR comes from modperl...

I've compiled mod_perl, the error log shows just harmless errors, RequestRec is there... though, something goes wrong with Apache2::SOAP or modperl... and i don't have any idea anymore.

Do you have any suggestion what i could do?

Thanks,
Georg Grabler

Reply via email to