Kindra,

> Does this mean that I have to change the first
> line of my script to /m1/shared/bin/perl to get
> it to point to 5.8.5 vs. /usr/bin/perl?

You could probably do something with symbolic or hard links, but that
becomes more complicated; so yes, I would just use the
/m1/shared/bin/perl in your scripts.

-- Michael

# Michael Doran, Systems Librarian
# University of Texas at Arlington
# 817-272-5326 office
# 817-688-1926 cell
# [EMAIL PROTECTED]
# http://rocky.uta.edu/doran/ 

> -----Original Message-----
> From: Kindra Morelock [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 19, 2005 2:20 PM
> To: perl4lib@perl.org
> Subject: RE: installing perl 5.8.6
> 
> Michael,
> 
> You're right, 5.8.5 *is* installed.  Thanks for pointing that out!
> 
> I did download and run your utility.  Here's my output:
> 
> DOPE 0.9.1 beta - Discover Oracle-Perl Environment
> 
> SunOS endeavor 5.9 Generic_118558-05 sun4u sparc SUNW,Sun-Fire-V250 
> 
> Searching for Solaris Perl packages...
>   EISIdbish Perl DBI and DBD::Oracle modules
>   EISInetpl Perl libnet module  
>   SUNWopl5m Perl 5.005_03 Reference Manual Pages
>   SUNWopl5p Perl 5.005_03 (POD Documentation) 
>   SUNWopl5u Perl 5.005_03   
>   SUNWpl5m Perl 5.6.1 Reference Manual Pages
>   SUNWpl5p Perl 5.6.1 (POD Documentation) 
>   SUNWpl5u Perl 5.6.1 (core)  
>   SUNWpl5v Perl 5.6.1 (non-core)  
> 
> Searching for 'perl' executables...
>   /usr/perl5/5.6.1/bin/perl
>     Inode#: 3696        Version: 5.6.1
>   /usr/perl5/5.00503/bin/perl
>     Inode#: 32424       Version: 5.005_03
>     ...has these 'after market' modules:
>       DBD::Oracle 1.06
>       DBI 1.14
>       Net ???
>   /m1/shared/perl/5.8.5-09/bin/perl
>     Inode#: 4304        Version: 5.8.5
>     ...has these 'after market' modules:
>       DBD::Oracle 1.15
>       DBI 1.43
>   Note: Identical inode numbers indicate hard-linked files.
>   Note: There may be Perl executables under a different name.
> 
> Searching for Perl symbolic links...
>   /usr/bin/perl -> /usr/perl5/5.00503/bin/perl (5.005_03)
>   /m1/shared/bin/perl -> /m1/shared/perl/5.8.5-09/bin/perl (5.8.5)
> 
> Searching for locations of Perl DBI module(s)...
>   /usr/perl5/site_perl/5.005/sun4-solaris/DBI.pm
>   /m1/shared/perl/5.8.5-09/lib/5.8.5/sun4-solaris/DBI.pm
>   /m1/shared/perl/5.8.5-09/lib/site_perl/5.8.5/sun4-solaris/DBI.pm
>   /m1/shared/perl/5.8.5-09/.cpan/build/DBI-1.43/DBI.pm
>   /m1/shared/perl/5.8.5-09/.cpan/build/DBI-1.43/blib/lib/DBI.pm
>  
> Searching for locations of Perl DBD::Oracle module(s)...
>   /usr/perl5/site_perl/5.005/sun4-solaris/DBD/Oracle.pm
>  
> /m1/shared/perl/5.8.5-09/lib/site_perl/5.8.5/sun4-solaris/DBD/
> Oracle.pm
>   /m1/shared/perl/5.8.5-09/.cpan/build/DBD-Oracle-1.15/Oracle.pm
>  
> /m1/shared/perl/5.8.5-09/.cpan/build/DBD-Oracle-1.15/blib/lib/
> DBD/Oracle.pm
>  
> Searching for Oracle versions on this system...
>   /oracle/app/oracle/product has these versions...
>      9.2.0 9.2.0.3
> ________________________________
> 
> Does this mean that I have to change the first line of my script to
> /m1/shared/bin/perl to get it to point to 5.8.5 vs. /usr/bin/perl?
> 
> Thanks,
> Kindra
> 
> >>> "Doran, Michael D" <[EMAIL PROTECTED]> 05/19/05 2:03 PM >>>
> Hi Kindra,
> 
> Although you are only aware of the one Perl installation on your
> server,
> there are probably at least two others.  A new Sun server from
> Endeavor
> will have Solaris 9, which comes with Perl 5.005 and Perl 5.6.  In
> addition, as part of the Voyager software installation, you will have
> Perl 5.8.5 installed as well as some useful non-default modules such
> as
> the DBI and DBD::Oracle modules (try looking in /m1/shared/).  To get
> a
> better idea of what you have on your system, try downloading and
> running
> the "dope.sh" utility [1].
> 
> > how do I uninstall 5.005...
> 
> I don't recommend un-installing the Solaris OS installed versions of
> Perl (unless you really understand the ramifications) since Perl is
> required by the operating system.
> 
> > ...and reinstall 5.8.6
> 
> Installing Perl from the source tarball is fairly straight forward,
> but
> it does require that you have a C compiler already installed on the
> server.  Endeavor doesn't put a C compiler on, but the GNU Compiler
> Collection (gcc) is available on the Solaris software companion CD
> that
> comes as part of the media kit.  As I mentioned above, you shouldn't
> have to install Perl 5.8.6, as it is likely already on your system.
> 
> -- Michael
> 
> [1] dope.sh (Discover Oracle-Perl Environment) 
>     http://rocky.uta.edu/doran/dope.html 
> 
> # Michael Doran, Systems Librarian
> # University of Texas at Arlington
> # 817-272-5326 office
> # 817-688-1926 cell
> # [EMAIL PROTECTED] 
> # http://rocky.uta.edu/doran/ 
> 
> > -----Original Message-----
> > From: Kindra Morelock [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, May 19, 2005 10:41 AM
> > To: perl4lib@perl.org 
> > Subject: installing perl 5.8.6
> > 
> > Hi everyone,
> > 
> > I'm new here, and I'm here because I need some major assistance.
> > 
> > We recently purchased a new Sun server through Endeavor. 
> > Unfortunately, perl 5.005 is installed on it vs. the 5.8.x that we
> had
> > installed on our old server.  My predecessor (who was much more of a
> > guru in all things unix/perl than I) programmed several customized
> > applications in perl 5.8.x that work on the old server, but
> > unfortunately don't work with perl 5.005 apparently.
> > 
> > My question is:  how do I uninstall 5.005 and reinstall 5.8.6?  I
> > downloaded the stable.tar.gz from http://www.perl.com/download.csp. 
> I
> > am fairly familiar with unix commands and some really basic 
> > programming
> > (I'm more of a VB programmer though).  I get a little anxious when
> I'm
> > messing around with stuff on our server, so if anyone has a 
> > resource or
> > step-by-step instructions they could forward me, I would really
> > appreciate it.
> > 
> > Thanks,
> > Kindra
> > 
> > ^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^
> > Kindra I. Morelock
> > Library Systems Administrator
> > Trinity International University
> > 2065 Half Day Road
> > Deerfield, IL  60015
> > (847) 317-4021
> > 
> > 
> > 
> 
> 
> 
> 
> 

Reply via email to