Skip to main content.
home | support | download

Back to List Archive

Re: API.pm Failure

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri Oct 17 2003 - 17:05:58 GMT
On Fri, Oct 17, 2003 at 09:21:31AM -0700, Bruce Pettyjohn wrote:
> Bill,
> 
> Thanks for the reply.  I am able to find the API.pm module but there still 
> seems to be
> a dependency on "new.al".  I have not found the file amound either the perl 
> 5.8.0
> distribution or swish-e.  In your example it suggested the required 
> "new.al" file might
> be in the linux distribution.
> 
> I did find a listing for
> 
> http://www.suse.de/us/private/products/suse_linux/i386/packages_professional/perl-class-methodmaker.html
> 
> -r--r--r-- root root 578 Mar 14 01:19 
> /usr/lib/perl5/site_perl/5.8.0/auto/Class/MethodMaker/new.al
> 
> That shows this file is associated with Suse.
> 
> Since my operating system is Solaris 8 there seems to be an incompatability.

No that's not it.  

If I remember correctly that message only means that it's not able to
find the "new" method, which probably means the module is not installed
correctly.

How did you install the SWISH::API module?  Did you run "make test"
without a problem?  Did you then run "make install"?



> 
> Any suggestions?
> 
> Thanks,
> Bruce
> 
> 
> 
> At 03:29 PM 10/16/2003, you wrote:
> >On Thu, Oct 16, 2003 at 03:16:30PM -0700, Bruce Pettyjohn wrote:
> >> Here is the perl code:
> >> ===============
> >>          use lib
> >> 
> >qw(/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi/auto/SWISH/API);
> >
> >That's not the path you probably want to use.  If the file API.pm is
> >located at /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/SWISH/API.pm
> >then you use say:
> >
> >  use lib '/usr/local/lib/perl5/site_perl/5.8.0/i686-linux';
> >
> >It works just like a path with :: changed to /.
> >--
> >Bill Moseley
> >moseley@hank.org
> 

-- 
Bill Moseley
moseley@hank.org
Received on Fri Oct 17 17:06:10 2003