[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [Qube2] Perl 5.6 on mips



Thanks for the reply.

On Thu, 7 Dec 2000 00:39:33 -0700, "Josh Miller" <joshlists@xxxxxxxxxxx>
wrote:

:>I don't know about a qube2, but I've done this on a raq2 with no problems.
:>
:>I used http://www.cpan.org/src/stable.tar.gz which is currently 5.6 and
:>instead of the suggested "sh Configure -de" I used "sh
:>Configure -deDprefix=/usr". This chooses all the defaults, except for
:>placing perl in /usr/local. (Note that this is probably a dangerous thing to
:>do without testing it on a non-production qube2)

I have gotten versions 5.004_05, 5.005_03, and 5.6.0. I have been told that
5_03 is probably the most stable even though 5.6.0 is in the listed stable tar
ball.  Obviously, version 5_xx was a major departure from 4_xx. 

The qube2 comes with Perl installed in /usr/lib/perl5/ {etc.}. The install
instructions say the default is /usr/local/{bin, lib, man}. If the raq2 setup
is the same, by using the prefix=/usr, you are installing over the existing
Perl directories. Uhm, dangerous indeed, especially when I do not have a
non-production qube2 to zap (already done that once). In a couple of the
message threads in the archive, it was suggested that replacing the old
version of perl with a new one would zap the GUI?  Did you find that to be the
case?  Any reason you did not install the new Perl in a different directory
and just have two versions?

:>
:>I did have the egcs from ftp://ftp.cobaltnet.com/pub/experimental installed
:>when I first tried this and the compile failed miserably. Downgrading to the
:>version supplied with the raq2 fixed this.

I have egcs-2.90.27 installed. Have not had probs with other installs, but
then ...

I guess I am worried about zapping the GUI by a burn-your-bridges approach to
just installing over the existing version. I guess I could install the new one
in /home/usr (this would use the partition on which I have the most room) and
then put symbolic links in the old directories to the new one and see what
happens. Worse case, I have to have two versions - one for the GUI and one for
everything else.

I am unclear as to how I would set things up to accomplish that feat, however.

Even if I put the perl libraries somewhere else, won't the binaries (perl,
perldoc, and suidperl)

/usr/bin/find2perl
/usr/bin/perl
/usr/bin/perl5.00404
/usr/bin/perldoc
/usr/bin/sperl5.00404
/usr/bin/suidperl

get overwritten? 

Thank you for your help and time.