|
|
sybperl-l Archive
Up Prev Next
From: Kris Briscoe <brisco_k at adm-srv dot sat dot mot dot com>
Subject: Re: why I have to copy Sybperl.pm to lib path myself
Date: Jan 28 1998 5:36PM
Did you try the following?
use lib '/usr/local/perl5.004_4/ext/sybperl-2.09/Sybperl'
kris
> Comments: ( Received on motgate.mot.com from client trln.lib.unc.edu, sender
owner-sybperl-l@trln.lib.unc.edu )
> X-Listname: SybPerl Discussion List
> Warnings-To: <>
> From: Jun Zhang
> To: "'sybperl-l@trln.lib.unc.edu'"
> Subject: why I have to copy Sybperl.pm to lib path myself
> Date: Wed, 28 Jan 98 11:42:00 PST
> Mime-Version: 1.0
>
>
> Thanks, Mike, at last I have a working sybperl.
> But I still have a question.
> When I did the performance testing for new sybperl:
>
> in my small program:
>
> #!/usr/local/perl5.004_4/bin/perl5.00404
> use Sybperl;
> etc etc.
>
> @INC is
> /usr/local/perl5.004_4/lib/sun4-solaris/5.00404
> /usr/local/perl5.004_4/lib
> /usr/local/perl5.004_4/lib/site_perl/sun4-solaris
> /usr/local/perl5.004_4/lib/site_perl
>
> but Sybperl.pm is in /usr/local/perl5.004_4/ext/sybperl-2.09/Sybperl
> so, it complains, Sybperl.pm could not be found.
>
> But after I added the statement:
> push(@INC,'/usr/local/perl5.004_4/ext/sybperl-2.09/Sybperl');
> still compained, Sybperl.pm could not be found.
>
> In the end, I copied Sybperl.pm to /usr/local/perl5.004_4/lib. Program
> started to behave well.
>
> I do not understand, If I have to copy Sybperl.pm, how about all the
> other .pm files like, Ctlib.pm etc.
>
> Anyone else has the same problem?
>
> Thanks
>
> Junz@tpg.com
> Ext. 914-946-6060 ext. 229
>
>
Kris Briscoe ( unixboy@aol.com )
Senior Unix Systems Analyst
Motorola Satcom
1.888.612.8136
THE ESSENCE OF SURVIVAL
=========================================
"Every morning in Africa, a Gazelle wakes up.
It knows it must run faster than the fastest
lion or it will be killed...Every morning a
Lion wakes up. It knows it must outrun the
slowest Gazelle or it will starve to death.
It doesn't matter whether you are a Lion or a Gazelle...
When the sun comes up, you'd better be running! "
|