|
|
sybperl-l Archive
Up Prev Next
From: "Scott Zetlan" <scottzetlan at aol dot com>
Subject: RE: Perl can't find a module on it's @INC
Date: Nov 20 2001 2:24PM
Double-check the permissions on the directories and files under the various
elements of @INC; I've had similar problems after installing modules where
the permissions were set to 750 or 700, and with owner root/group bin, no
one can read the files. Perl just reports that it can't find them, not that
it isn't allowed to read them.
Scott
> -----Original Message-----
> From: owner-SYBPERL-L@list.cren.net
> [mailto:owner-SYBPERL-L@list.cren.net]On Behalf Of Wheelton, Gareth
> Sent: Tuesday, November 20, 2001 8:34 AM
> To: SybPerl Discussion List
> Subject: Perl can't find a module on it's @INC
>
>
> With the following pragmas in my code Perl can't seem to find an autoload
> module
>
> use lib "/app/perl5005/lib/site_perl/5.005/sun4-solaris";
>
> use Sybase::BCP;
> use Sybase::CTlib;
>
>
> for some strange reason it expects to find:
> auto/Sybase/CTlib/bcp_init.al
>
> rather than:
> auto/Sybase/Sybperl/bcp_init.al
>
> the following compile error was given:
>
> Can't locate auto/Sybase/CTlib/bcp_init.al
> in @INC (@INC contains:
> /app/perl5005/lib/site_perl/5.005/sun4-solaris
>
> /app/perl5005/lib/site_perl/5.005/sun4-solaris
> /app/perl5005/lib/5.005/sun4-solaris
> /app/perl5005/lib/5.005
>
> /app/perl5005/lib/site_perl/5.005/sun4-solaris
> /app/perl5005/lib/site_perl/5.005
> . )
> at ./ftsspecialneeds.pl line 76
>
> the value of @INC would imply the file could be found in the following
> location
>
>
> /app/perl5005/lib/site_perl/5.005/sun4-solaris/auto/Sybase/Sybperl
> /bcp_init.
> al
>
>
> but it doesn't, can anyone help
>
>
> thanks gareth
>
|