perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antony Batten" <>
Subject RE: Apache::AuthenNTLM module with HP/Apache
Date Thu, 14 Aug 2003 17:28:15 GMT
Hi Randy,Shannon ...

Have asked the SA chappy to recompile the module as you suggested.
Not sure if the approach you mention can be done though .... I think HP
don't want us to add anything to their mod_perl distribution by adding
modules to the main location. Can't we compile the module against 5.6.1 but
then put it somewhere else, and add that location to $PERL5LIB ?

I think mod_perl is using a distribution in
We currently have it (compiled against 5.8) in /opt/perl5.8/lib/whatever...
Can we put the (recompiled) module in a new location (say /opt/myperl/lib)
and say PERL5LIB=$PERL5LIB:/opt/myperl/lib ???

Sorry to have interrupted your sleep with my troubles ;)

Thanks all,

-----Original Message-----
From: Shannon Eric Peevey [] 
Sent: 14 August 2003 10:35
To: Antony Batten
Cc: 'Randy Kobes';;
Subject: Re: Apache::AuthenNTLM module with HP/Apache

Antony Batten wrote:

>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.
>-----Original Message-----
>From: Randy Kobes []
>Sent: 14 August 2003 07:23
>To: Antony Batten
>Cc: 'Shannon Eric Peevey';;
>Subject: RE: Apache::AuthenNTLM module with HP/Apache
>On Wed, 13 Aug 2003, Antony Batten wrote:
>>Thanks very much for the quick response. Here's the info you wanted (I
>>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,
>>-----Original Message-----
>>From: Shannon Eric Peevey []
>>Sent: 13 August 2003 14:41
>>To: Antony Batten
>>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 
>>>] Can't find 'boot_Authen__Smb' symbol in 
>>>/opt/perl5.8/lib/site_perl/5.8.0/ PA-RISC1.1/auto/Authen/Smb/ 
>>>Compilation failed in require at 
>>>/opt/perl5.8/lib/site_perl/5.8.0/PA-RISC1.1/Apache/ line 
>>>29. BEGIN failed--compilation aborted at 
>>>/opt/perl5.8/lib/site_perl/5.8.0/PA-RISC1.1/Apache/ 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.
Thanks, Randy!  (I just woke up in the middle of the night with the same 
answer :)) )

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.


View raw message