Re: Makemaker problems

2001-03-16 Thread Dave Cross

At Fri, 16 Mar 2001 13:00:43 +, Simon Wistow <[EMAIL PROTECTED]> wrote:
> I have a module which I'm trying to package in this directory 
> structure
> ...
> 
> [simon@2sp deploy]$ ls -R *
> Changes  MANIFEST  Makefile  Makefile.PL  test.pl
> 
> Apache:
> Session/
> 
> Apache/Session:
> SharedMem.pm  Store/
> 
> Apache/Session/Store:
> SharedMem.pm
> [simon@2sp deploy]$
> 
> 
> But I can't seem to get Makefile.PL/MakeMaker to pick up
> Apache::Session::Store::SharedMem and install it.
> 
> Any ideas?

Yeah. IIRC you need to put secondary modules like that into a ./lib
directory in order for them to be handled automatically. Oh, and make
sure it's in the MANIFEST too.

hth,

Dave...



Re: Makemaker problems

2001-03-16 Thread Dave Cross

At Fri, 16 Mar 2001 08:07:28 -0500 (EST), I wrote:
> At Fri, 16 Mar 2001 13:00:43 +, Simon Wistow <[EMAIL PROTECTED]> wrote:
> > I have a module which I'm trying to package in this directory 
> > structure
> > ...
> > 
> > [simon@2sp deploy]$ ls -R *
> > Changes  MANIFEST  Makefile  Makefile.PL  test.pl
> > 
> > Apache:
> > Session/
> > 
> > Apache/Session:
> > SharedMem.pm  Store/
> > 
> > Apache/Session/Store:
> > SharedMem.pm
> > [simon@2sp deploy]$
> > 
> > 
> > But I can't seem to get Makefile.PL/MakeMaker to pick up
> > Apache::Session::Store::SharedMem and install it.
> > 
> > Any ideas?
> 
> Yeah. IIRC you need to put secondary modules like that into a ./lib
> directory in order for them to be handled automatically. Oh, and make
> sure it's in the MANIFEST too.

Knew this sounded familiar. If you want an examlpe of this, see the
Symbol::Approx::Sub 2.0 Beta that's available at 


That uses exactly this method.

Dave...



Re: Makemaker problems

2001-03-16 Thread Robin Szemeti

On Fri, 16 Mar 2001, you wrote:

> But I can't seem to get Makefile.PL/MakeMaker to pick up
> Apache::Session::Store::SharedMem and install it.

I'm new to this makemaker thing ... but

doncha have to put the stuff you wanna install in a ./lib directory ?

ie ./lib/Apache/Session/Store/SharedMem/HelperClass.pm or whtever

apart from the base class which you just put in the root

ie move ./Apache/Session/Store/SharedMem.pm to ./

and make sure it has the full package name.

perl Makefile.pl and make manifgest again .. and that might work
-- 
Robin Szemeti

The box said "requires windows 95 or better"
So I installed Linux!



Re: Makemaker problems

2001-03-16 Thread Simon Wistow

Robin Szemeti wrote:
 
> doncha have to put the stuff you wanna install in a ./lib directory ?
> 
> ie ./lib/Apache/Session/Store/SharedMem/HelperClass.pm or whtever

Robin, Dave : I owe you a beer.

Time to mail modules ...

Simon