[ic] Can't get working Interchange::Link

Joachim Schubert joachim at schubis-dd.de
Thu Mar 23 11:09:39 EST 2006


Hi all,

I switched from apache 1.33.x to 2.2.x and the only thing 
that I can't get working is the Interchange::Link modul with IC:

This is Apache/2.2.0 (FreeBSD) 
         mod_ssl/2.2.0 OpenSSL/0.9.7e-p1 
		 DAV/2 
		 PHP/5.1.2 
         mod_perl/2.0.2 Perl/v5.8.7
and IC 5.4.0.

Now the settings for Interchange::Link in httpd.conf

- "PerlModule Apache2" => Error: Can't load Perl module Apache2 for server... 
  There is only  /usr/local/lib/perl5/site_perl/5.8.7/mach/Bundle/Apache2.pm
- But the perl.apache.org/docs suggests: 
  "PerlModule Apache2::compat" => apache starts well.
- Now an IC-Request results in:
  ===
  [error] [client ::1] failed to resolve handler `Interchange::Link':  Can't locate 
  Apache/Const.pm in @INC ... BEGIN failed--compilation aborted at 
  ...Interchange/Link.pm line 29. Compilation failed in require at (eval 9) line3.
  ===
  I have Const.pm in ...5.8.7/mach/Apache2/
					 ...5.8.7/mach/ModPerl/
					 ...5.8.7/mach/APR/
  but not in .../Apache/
- Last I have changed in Link.pm 
  from "use Apache::Const" to "use Apache2::Const" without success
  and this error:
  ===
  [error] [client ::1] failed to resolve handler `Interchange::Link':
  Bareword "Apache::DECLINED" not allowed while "strict subs" in use at
  /usr/local/lib/httpd/perl/Interchange/Link.pm line 493.
  ===

There seems to be some path setting errors for needed perl modules. Now I don't
know how to debug at this point. The IC catalogs work well with the cgi wrapper 
but it would be better with the other url.  

Achim
-- 


More information about the interchange-users mailing list