Re: Can't create custom configuration directives

2000-06-04 Thread Matt Sergeant

I've snipped the lengthy explanation. Here's a few things you can check:

There's no old version of your module in the ordinary perl lib directory,
rather than the i386-foo/ directory.

That you use DynaLoader.

That you define $VERSION before the bootstrap line.

-- 
Matt/

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org http://xml.sergeant.org




Re: Can't create custom configuration directives

2000-06-04 Thread Rob Tanner

Matt Sergeant wrote:
 
 On Sun, 4 Jun 2000, Rob Tanner wrote:
 
   That you define $VERSION before the bootstrap line.
  
 
  As below:
 
  $VERSION = '0.9b';
 
  if ( $ENV{'MOD_PERL'} ) {
no strict;
@ISA = qw(DynaLoader);
__PACKAGE__-bootstrap($VERSION);
  }
 
 That might represent a problem. $VERSION is supposed to be a real
 number. Perl uses internal numeric comparison operators on them.
 

Matt,

Thanks for your suggestions.

I got my hopes up, changed it to '0.9' but no go :-(  Even tried '1.0'
in case doesn't like number below one.  Same thing.  :-(

Shucks and golly!  Is it possible that there is some apache or mod_perl
compile time parameter that needed to be set and wasn't, and if so, what
might that be?  Since the process of adding these directives is pretty
much automated there's not much I can do to mess it up, and then I would
expect it to be glaring -- i.e., apache fails to start with an exit code
other than '0', but that's not the case. And I know that apache invokes
the callback routine because I stuck a print statement in could see it. 
What's left?

Signed,
One Frustrated Dude


-- Rob


   _ _ _ _   __ _ _ _ _
  /\_\_\_\_\/\_\ /\_\_\_\_\_\
 /\/_/_/_/_/   /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
/\/_/__\/_/ __/\/_//\/_/  PROFUNDUM VIDITUR
   /\/_/_/_/_/ /\_\  /\/_//\/_/
  /\/_/ \/_/  /\/_/_/\/_//\/_/ (Whatever is said in Latin
  \/_/  \/_/  \/_/_/_/_/ \/_/  appears profound)
  
  Rob Tanner
  McMinnville, Oregon
  [EMAIL PROTECTED]