|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: RE: Errors running 'make test'
Date: Nov 12 1998 5:19PM
Damodharan, Venkat (VDamodharan) writes:
> Hi there,
>
> I have a perl 5_0004 installed on /opt/gnu/perl5 directory initially, it
> seems that some one has
> moved it to /opt/gnu_mnt/perl5 directory later. My perl @INC list is
> looking into /opt/gnu/perl5 directory only. I need to change the @INC to
> look into /opt/gnu_mnt/perl5. How can I do that?.
You need to add *all* the appropriate entries that you normally find
in perl -V to PERL5LIB.
For example, perl5.004_04 here needs
/opt/gnu/lib/perl5/sun4-solaris/5.00404
/opt/gnu/lib/perl5
/opt/gnu/lib/perl5/site_perl/sun4-solaris
/opt/gnu/lib/perl5/site_perl
So you would need to do something like:
setenv PERL5LIB "/opt/gnu_mnt/lib/perl5/sun4-solaris/5.00404:/opt/gnu_mnt/lib/perl5:/opt/gnu_mnt/lib/perl5/site_perl/sun4-solaris:/opt/gnu_mnt/lib/perl5/site_perl
which *should* work.
Michael
>
> -----Original Message-----
> From: Anil Sodhy [mailto:asodhy@clark.net]
> Sent: Thursday, November 12, 1998 8:36 AM
> To: SybPerl Discussion List
> Subject: Errors running 'make test'
>
>
> Thanks to Michael Peppler's comments on sybperl
> (http://www.mbay.net/~mpeppler/Linux-ASE-FAQ.html) I have managed to get
> sybperl to run on my RedHat 5.1 Linux box.
>
> I did, however, have to recompile perl. The source for perl 5.005_02 was
> downloaded freshly from http://www.perl.com/pace/pub/perldocs/latest.html
> (I selected the latest stable release). I am not sure how that has
> affected perl in general. I don't use perl a whole lot and am very weak
> in it so I may not get to stress-test perl with the changes I had to make
> in order to get sybperl to work. In any case, with the limited testing I
> have done, it does work well enough in order to query the co-resident
> Sybase DB.
>
> The sample code provided on
> http://www.mbay.net/~mpeppler/Sybperl/sybperl.html#Sybase_DBlib works very
> well.
>
> Thanks, Michael, for a great job!
>
> Anil K. Sodhy (asodhy@clark.net)
>
>
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@mbay.net -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com
|