Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: why I have to copy Sybperl.pm to lib path myself
Date: Jan 28 1998 7:13PM
Jun Zhang wrote:
> 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:
> use Sybperl;
> etc etc.
> @INC is
> 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:
> still compained, Sybperl.pm could not be found.
YOu should use:
use lib '/usr/local/perl5.004_4/ext/sybperl-2.09/Sybperl';
The push(@INC) thing won't work because the 'use' directive
happens before the push() has been executed.
> 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.
Did you do a make install???
Michael Peppler -||- Data Migrations Inc.
email@example.com -||- http://www.mbay.net/~mpeppler