Randy,Thanks, Randy! (I just woke up in the middle of the night with the same answer :)) )
OK thanks, I'll give that a try. I think we can compile the module against 5.6.1 .... It's just that we can't change the 5.6.1 install as it would break our support agreement with HP (so I am told) ... I presume we just have to 'install' the module in a different place after compiling it...
Thanks v. much to all for helping me with this.
Rgds, Antony
-----Original Message-----
From: Randy Kobes [mailto:[EMAIL PROTECTED] Sent: 14 August 2003 07:23
To: Antony Batten
Cc: 'Shannon Eric Peevey'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Apache::AuthenNTLM module with HP/Apache
On Wed, 13 Aug 2003, Antony Batten wrote:
Shannon,[ .. ]
Thanks very much for the quick response. Here's the info you wanted (I hope):
HP-UX_Apache-based_Web_Server/2.0.46 (Unix) mod_perl/1.99_09 Perl/v5.6.1 DAV/2 configured
Can my career be saved? ;0)
Thanks again, Antony.
-----Original Message----- From: Shannon Eric Peevey [mailto:[EMAIL PROTECTED] Sent: 13 August 2003 14:41 To: Antony Batten Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Apache::AuthenNTLM module with HP/Apache
Antony Batten wrote:
We are trying to use the Apache::AuthenNTLM perl module with HP/Apache and mod_perl. We have prevented mod_perl from running our cgi-perl scripts (by using Apache directives to only use mod_perl for *PL files), as we want to use 5.8 for this, and the HP-supplied mod_perl is tied to 5.6.1
Everything installs ok & the server starts ok. However, we get the following errors in the errorlog:
[Fri Aug 08 13:39:47 2003] [error] failed to resolve handler `Apache::AuthenNTLM' [Fri Aug 08 13:39:47 2003] [error] [client 30.254.43.59] Can't find 'boot_Authen__Smb' symbol in /opt/perl5.8/lib/site_perl/5.8.0/ PA-RISC1.1/auto/Authen/Smb/Smb.sl Compilation failed in require at /opt/perl5.8/lib/site_perl/5.8.0/PA-RISC1.1/Apache/AuthenNTLM.pm line 29. BEGIN failed--compilation aborted at /opt/perl5.8/lib/site_perl/5.8.0/PA-RISC1.1/Apache/AuthenNTLM.pm line 29. Compilation failed in require at (eval 5) line 3.
I'm not sure I'm following your setup - is the mod_perl you're trying to use here compiled under Perl 5.6.1? And Apache::AuthenNTLM was compiled under Perl 5.8.0? That combination probably won't work in principle, as 5.6.1 and 5.8.0 are binary incompatible. If you're tied to mod_perl compiled under 5.6.1, try compiling and using an Apache::AuthenNTLM compiled under 5.6.1.
Yes, use the perl binary that points to 5.6.1 when you run "/path/to/perl5.6.1 Makefile.PL". (Running the rest of the install as normal, of course ;) ) This will place the module in the appropriate location for your mod_perl, that apache is using, to find it.
speeves cws