Re: how to update my @INC (can't find .pm's after upgrading perl)

2006-06-06 Thread Tom Phoenix

On 6/4/06, Harold Castro [EMAIL PROTECTED] wrote:


I'm currently running perl-5.8.7, my modules are
located in site_perl/5.8.7 however, after upgrading to
5.8.8, all of programs using perl modules, suddenly
breaks because it cannot find those modules into its
new supposed to be @INC (site_perl/5.8.8.. what can I
do with this?


I recommend you re-install the modules. Although there may be a
simpler solution, this method ensures that the modules are compiled
for the correct configuration of the new perl binary.

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




how to update my @INC (can't find .pm's after upgrading perl)

2006-06-04 Thread Harold Castro
Hi,

I'm currently running perl-5.8.7, my modules are
located in site_perl/5.8.7 however, after upgrading to
5.8.8, all of programs using perl modules, suddenly
breaks because it cannot find those modules into its
new supposed to be @INC (site_perl/5.8.8.. what can I
do with this?

Thanks.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: Upgrading from Perl 5.6 to Perl 5.8

2005-02-24 Thread Wiggins d'Anconia
Chris Devers wrote:
On Wed, 23 Feb 2005, Paul Ohashi wrote:
[snip]
Kind of like Java 1.4.5 being Java Five, or whatever it is ... :-)
Anyone on Solaris should be already :-)... Solaris 9 isn't that SunOS 5.9???
http://danconia.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response



RE: Upgrading from Perl 5.6 to Perl 5.8

2005-02-24 Thread Dan Fish
 
 For now, just accept it as one of Perl's quirks.
 
 Kind of like Java 1.4.5 being Java Five, or whatever it is ... :-)
 
 

Or maybe like Solaris 9 = Solaris 2.9 = SunOS 5.9 :-)

Gotta hand it to them Sun folks... Always keeping us guessing

-Dan


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Upgrading from Perl 5.6 to Perl 5.8

2005-02-23 Thread Paul Ohashi
Hi all,

I've upgraded to Perl 5.8 from 5.6 and I'm getting output I don't understand 
when I try to install the DBI module.

I'm on Solaris 9 (Sparc) and I had Perl 5.0 and 5.6 installed as packages and I 
removed them with pkgrm. I then installed Perl 5.8 from ActiveState using 
ActivePerl-5.8.6.811-sun4-solaris.tar.gz.

Now I'm trying to install the DBI module and when I execute 'perl Makefile.PL' 
the output returned says:

I see you're using perl 5.008006 on sun4-solaris, okay.

There's nothing in my environment that says perl 5.0. My question is two fold: 
Where is this Makefile.PL getting the Perl version from and how do I fix this?

Thanks in advance,
Paul

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: Upgrading from Perl 5.6 to Perl 5.8

2005-02-23 Thread Chris Devers
On Wed, 23 Feb 2005, Paul Ohashi wrote:

 I've upgraded to Perl 5.8 from 5.6 and I'm getting output I don't 
 understand when I try to install the DBI module.
 
 I'm on Solaris 9 (Sparc) and I had Perl 5.0 and 5.6 installed as 
 packages and I removed them with pkgrm. I then installed Perl 5.8 from 
 ActiveState using ActivePerl-5.8.6.811-sun4-solaris.tar.gz.
 
 Now I'm trying to install the DBI module and when I execute 'perl 
 Makefile.PL' the output returned says:
 
   I see you're using perl 5.008006 on sun4-solaris, okay.
 
 There's nothing in my environment that says perl 5.0. My question is 
 two fold: Where is this Makefile.PL getting the Perl version from and 
 how do I fix this?

Perl versioning is a little funny. 

A while back, after Perl 5 came out, followup releases were seen as 
merely patches to Perl5, not deserving major or even minor version 
numbers, so they were denoted like 5.002 or 5.005_54. 

Over time, it was realized that the language was in fact growing a lot, 
and that these trivial revisions were actually significant. And that 
the zeroes in 5.006 really shouldn't be there. So they came out. 

Sort of.

For all purposes, a Perl version 5.00x00y is 5.x.y by more conventional 
notation. Some things will still present the information to you in the 
older format, which still lives on in Perl's deep, dark guts, but all 
discussion of Perl will generally omit the zeroes, and most messages 
from Perl will as well.

So. You installed ActivePerl-5.8.6.811-sun4-solaris.tar.gz (aka 5.8.6), 
and are told by `perl Makefile.PL` that you have 5.008006. Squint your 
eyes and you'll see that these are actually the same version.

If you're interested, this fills in *lots* of gaps:

http://history.perl.org/PerlTimeline.html

But anyway.

Yes, it's confusing.

Yes, it doesn't make sense even after being explained.

Yes, there are good reasons for the status quo, but they're weird.

Yes, supposedly Perl6 will fix this. Someday.

No, Perl 6 will not give you a pony. Sorry.


For now, just accept it as one of Perl's quirks.

Kind of like Java 1.4.5 being Java Five, or whatever it is ... :-)



-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: Upgrading from Perl 5.6 to Perl 5.8

2005-02-23 Thread Eduardo Vázquez Rodríguez
Where did you install perl?
Does your environment variables are pointing to the new perl version?.
I had the same error and I fixed changing the usual path /usr/bin/perl 
to the new one /usr/local/bin/perl, just use the ln command

As long as I remember the newer versions of perl are installed under 
/usr/local but the DBI module is looking for /usr/bin/perl

Hope can help you
Paul Ohashi wrote:
Hi all,
I've upgraded to Perl 5.8 from 5.6 and I'm getting output I don't understand 
when I try to install the DBI module.
I'm on Solaris 9 (Sparc) and I had Perl 5.0 and 5.6 installed as packages and I 
removed them with pkgrm. I then installed Perl 5.8 from ActiveState using 
ActivePerl-5.8.6.811-sun4-solaris.tar.gz.
Now I'm trying to install the DBI module and when I execute 'perl Makefile.PL' 
the output returned says:
I see you're using perl 5.008006 on sun4-solaris, okay.
There's nothing in my environment that says perl 5.0. My question is two fold: 
Where is this Makefile.PL getting the Perl version from and how do I fix this?
Thanks in advance,
Paul
 

--
If I have seen further it is by standing on the shoulders of the giants
Isaac Newton
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response



RE: Upgrading from Perl 5.6 to Perl 5.8

2005-02-23 Thread Thomas Bätzler
Paul Ohashi [EMAIL PROTECTED] asked:
 Now I'm trying to install the DBI module and when I execute 
 'perl Makefile.PL' the output returned says:
 
   I see you're using perl 5.008006 on sun4-solaris, okay.
 
 There's nothing in my environment that says perl 5.0. My 
 question is two fold: Where is this Makefile.PL getting the 
 Perl version from and how do I fix this?

Try to squint a little bit - can't you see 5 . 8 . 6? ;-)

HTH,
Thomas

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Upgrading from version 5.8.0 to 5.8.5 on Solaris

2004-10-06 Thread Eduardo Vázquez Rodríguez
Hello everybody!
My intention is to have thread support in Perl, reding through CPAN I 
must have a Perl version compiled with support to threads. I made a 
script and I have the following output

This Perl hasn't been configured and built properly for the threads
module to work.  (The 'useithreads' configuration option hasn't been used.)
So I download the last version of Perl and compile it again with thread 
support, with the following commands
rm -rf config.sh Policy.sh
sh Configure -de -Dusethreads
make
make test
make install

I have the following questions
1. Doing that, how do I use the new perl binary 5.8.5 instead of the old 
5.8.0?
I believe that /usr/local/bin/perl is pointing to the older version 
instead of the newer

thanks in advanced
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response



Re: Upgrading from version 5.8.0 to 5.8.5 on Solaris

2004-10-06 Thread Randy W. Sims
On 10/6/2004 6:21 PM, Eduardo Vázquez Rodríguez wrote:
I have the following questions
1. Doing that, how do I use the new perl binary 5.8.5 instead of the old 
5.8.0?
I believe that /usr/local/bin/perl is pointing to the older version 
instead of the newer
It's just a link to the versioned executable. Change the link to point 
to /usr/local/bin/perl5.8.5.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response



problem conencting to oracle after upgrading to oracle 9i

2004-03-23 Thread Nilay Puri, Noida
Hi All,


On sparc m/c SUN OS 5.8 , I have recently upgraded from Oracle 8i to Oracle
9i.

ANd I had DBD:Oracle 1.12 installed on it.

Now the perl files give error :
DBI-connect(hemdadev) failed: ERROR OCIEnvInit at test.pl line 18

And at line 17 I have : $dbh = DBI-connect(DBI:Oracle:$sid,$username,
$password) || die Could not co
nnect to database;

1. If I install DBD::Oracle again specifying the new oracle_home , will I be
able to resolve the error.
2. Is only DBD::Oracle 1.14  compatible with Oracle 9i.

Thanks in advance,
Nilay




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: problem conencting to oracle after upgrading to oracle 9i

2004-03-23 Thread R. Joseph Newton
Nilay Puri, Noida wrote:

 Hi All,

 On sparc m/c SUN OS 5.8 , I have recently upgraded from Oracle 8i to Oracle
 9i.

 ANd I had DBD:Oracle 1.12 installed on it.

 Now the perl files give error :
 DBI-connect(hemdadev) failed: ERROR OCIEnvInit at test.pl line 18

 And at line 17 I have : $dbh = DBI-connect(DBI:Oracle

Is that DBI::Oracle, or DBD::Oracle?  They probably are not interchangeable.  My
bet would be on DBD::Oracle.

Joseph




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




upgrading perl to 5.6 from 5.005_03 question?

2004-02-02 Thread Ravi Malghan
Hello: I have perl 5.005_03 on solaris 2.8 which was
installed with the OS. I would like to upgrade it to
5.6. Should I pkgrm the existing perl before I install
the new perl ? or is there any other recommended way
to upgrade.

Thanks
Ravi

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: upgrading perl to 5.6 from 5.005_03 question?

2004-02-02 Thread Michael C. Davis
Ravi, 

I just upgraded from 5.6 to 5.8.0, and I can tell you I am VERY happy that
I left both perl installs intact, because it allowed me to compare the
operation of my code under each version.  If there was a difference in how
my code worked, it was due to a change in the Perl version or my
installation of it.  Fortunately I had a robust set of test cases to help
me track down any changes.

While I can't speak specifically about the differences between 5.005 and
5.6, I would very much want to leave 5.005 in place until I was satisfied
that 5.6 was installed and working.  During the transition, you could have
one login with the environment (PERL5LIB, PATH etc) set to use the old Perl
and a different login that uses the new.  Or somthing like that.

At 08:51 AM 2/2/04 -0800, Ravi Malghan wrote:
Hello: I have perl 5.005_03 on solaris 2.8 which was
installed with the OS. I would like to upgrade it to
5.6. Should I pkgrm the existing perl before I install
the new perl ? or is there any other recommended way
to upgrade.

Thanks
Ravi

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: upgrading perl to 5.6 from 5.005_03 question?

2004-02-02 Thread Rob Dixon
Ravi Malghan wrote:

 I have perl 5.005_03 on solaris 2.8 which was
 installed with the OS. I would like to upgrade it to
 5.6. Should I pkgrm the existing perl before I install
 the new perl ? or is there any other recommended way
 to upgrade.

Hi Ravi.

What do you mean by

 Should I pkgrm the existing perl

If you have any Perl software that may rely on the current
version of Perl, then you should be careful. OTOH, if this is a
new installation without any Perl programs, then install a
recognised version of Perl as soon as you can. A version
'installed with the OS' isn't a safe place to start.

Rob





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




RE: upgrading perl to 5.6 from 5.005_03 question?

2004-02-02 Thread Esposito, Anthony
Instead of upgrading why not just install Perl 5.6 in a separate directory..just a 
thought!  

Tony Esposito
Oracle Developer, Enterprise Business Intelligence
XO Communications
Plano, TX  75074
Work Phone: 972-516-5344
Work Cell: 972-670-6144
Email: [EMAIL PROTECTED]


-Original Message-
From: Rob Dixon [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 12:50 PM
To: [EMAIL PROTECTED]
Subject: Re: upgrading perl to 5.6 from 5.005_03 question?

Ravi Malghan wrote:

 I have perl 5.005_03 on solaris 2.8 which was
 installed with the OS. I would like to upgrade it to
 5.6. Should I pkgrm the existing perl before I install
 the new perl ? or is there any other recommended way
 to upgrade.

Hi Ravi.

What do you mean by

 Should I pkgrm the existing perl

If you have any Perl software that may rely on the current
version of Perl, then you should be careful. OTOH, if this is a
new installation without any Perl programs, then install a
recognised version of Perl as soon as you can. A version
'installed with the OS' isn't a safe place to start.

Rob





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: upgrading perl to 5.6 from 5.005_03 question?

2004-02-02 Thread Rob Dixon
Anthony Esposito wrote:

 Instead of upgrading why not just install Perl 5.6 in a
 separate directory..just a thought!

Fine, unless you have several people writing software for your
central core. Otherwise, obviously, they need to have a common
version of Perl.

Rob



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: upgrading perl to 5.6 from 5.005_03 question?

2004-02-02 Thread drieux
At 08:51 AM 2/2/04 -0800, Ravi Malghan wrote:
Hello: I have perl 5.005_03 on solaris 2.8 which was
installed with the OS. I would like to upgrade it to
5.6. Should I pkgrm the existing perl before I install
the new perl ? or is there any other recommended way
to upgrade.
you might check with Sun, I think that they have
a patch that will upgrade their version of perl
that is actually in /usr/perl5.
So what you can do is build a version of perl 5.8.3
and install it in /usr/local/ you can then make the
symbolic link for /usr/bin/perl point at /usr/local/bin/perl
and Sun's stuff will work in it's own space, since it
is built to look for /usr/perl5/bin/perl
eg
vladimir: 59:] head /usr/bin/kstat | sed 's/^/ /'
#!/usr/perl5/bin/perl
#
# Copyright (c) 1999, 2001 by Sun Microsystems, Inc.
# All rights reserved.
#
#ident  @(#)kstat.pl   1.3 01/11/09 SMI
require 5.6.1;
use strict;
use warnings;
vladimir: 60:]
HTH.

ciao
drieux
---

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response



Re: Upgrading Perl linux 5.6 rpm to 5.8.2 source

2004-01-15 Thread drieux
On Jan 14, 2004, at 11:16 AM, Guay Jean-Sébastien wrote:

Which I interpreted as without being forced to reinstall all my 
modules
which are not part of the standard Perl distribution. So you confirm 
that
that isn't possible, and that any modules that contain XS code and 
which
were not part of the 5.8 RPM will have to be recompiled or otherwise
reinstalled from a 5.8-compatible source (CPAN, RPMs, etc.)?

I am also asking for my personal benefit, as that's one question I 
never
quite understood the subtleties of...
All that you really need to understand is
that XS is perl's way of generalizing a
perl interface into code that was originally
written in c code - or c like code.
cf:
perldoc perlxstut
perldoc perlxs
This way one can write the Bar.XS file, that
will get 'converted' into a Bar.c file that
will get ginned up into a Bar.so file ( on most
unix boxes, consult your dll life style manglement )
and some other voodoo that will get loaded into
the machine architecture specific section of the
@INC directories so that your pure perl side
of the Foo::Bar will do all the pure perl voodoo
right up to the
	bootstrap Foo::Bar $VERSION;

line - cf perldoc DynaLoader

the Funk of course is all the bits and bobs
that change in the includes at
#include EXTERN.h
#include perl.h
#include XSUB.h
and the parts about how the binary executable perl understands
what to do with the bootstrap statement
Other than that, there is really not a lot that you
need to know or understand about the underlying
binary incompatibility between 5.6 and 5.8.X at
the XS level...
ciao
drieux
---

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response



Re: Upgrading Perl linux 5.6 rpm to 5.8.2 source

2004-01-14 Thread denis

Have you tried:

rpm -ivh perl_rpm_name?

This should allow you to do an upgrade rather then remove and upgrade.

HTH.. Denis

On Tue, 13 Jan 2004, Paul Kraus wrote:

 On a Linux system how can I remove the 5.6 rpm and then install the 5.8.2
 from source and still maintain dependencies? If something is looking for
 perl how do I make sure that it upgrades correctly?
 
  Paul Kraus
  ---
  PEL Supply Company
  Network Administrator
  ---
  800 321-1264 Toll Free
  216 267-5775 Voice
  216 267-6176 Fax
  www.pelsupply.com
  ---
 
 
 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




RE: Upgrading Perl linux 5.6 rpm to 5.8.2 source

2004-01-14 Thread Guay Jean-Sébastien

 This should allow you to do an upgrade rather then remove and upgrade.

If it's possible to do that (and have it actually work), does that mean that
it's only on Windows (with ActiveState Perl) that Perl 5.6 and 5.8 are not
binary compatible for XS modules? If not, I would think that simply
upgrading Perl and not all the other modules you have installed would
seriously bork the install...

Honestly, I didn't know that was just an ActiveState thing.

J-S

__
Jean-Sébastien Guay
Conseiller
 Service des cartes de débit et guichets
 Services électroniques - Direction 499
 Banque Laurentienne du Canada
 Tél: 514.522.9800 poste 4840
 Utilisez nos services BLCDirect :  http://www.banquelaurentienne.com 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: Upgrading Perl linux 5.6 rpm to 5.8.2 source

2004-01-14 Thread drieux
On Jan 14, 2004, at 10:33 AM, Guay Jean-Sébastien wrote:

This should allow you to do an upgrade rather then remove and upgrade.
If it's possible to do that (and have it actually work), does that 
mean that
it's only on Windows (with ActiveState Perl) that Perl 5.6 and 5.8 are 
not
binary compatible for XS modules? If not, I would think that simply
upgrading Perl and not all the other modules you have installed would
seriously bork the install...
[..]

two different issues.

the upgrade will upgrade and install the
XS compatible for 5.8.X version of the code
for all of the components that are in the RPM.
any additional perl modules that have an XS component
will need to be re-built and installed.
ciao
drieux
---

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response



RE: Upgrading Perl linux 5.6 rpm to 5.8.2 source

2004-01-14 Thread Guay Jean-Sébastien
Hello drieux,

 the upgrade will upgrade and install the
 XS compatible for 5.8.X version of the code
 for all of the components that are in the RPM.
 
 any additional perl modules that have an XS component
 will need to be re-built and installed.

Exactly, that's what I was wondering about... Since the OP mentioned this in
his original message :

 [...] and still maintain dependencies? [...]

Which I interpreted as without being forced to reinstall all my modules
which are not part of the standard Perl distribution. So you confirm that
that isn't possible, and that any modules that contain XS code and which
were not part of the 5.8 RPM will have to be recompiled or otherwise
reinstalled from a 5.8-compatible source (CPAN, RPMs, etc.)?

I am also asking for my personal benefit, as that's one question I never
quite understood the subtleties of...

Thanks drieux,

__
Jean-Sébastien Guay
Conseiller
 Service des cartes de débit et guichets
 Services électroniques - Direction 499
 Banque Laurentienne du Canada
 Tél: 514.522.9800 poste 4840
 Utilisez nos services BLCDirect :  http://www.banquelaurentienne.com 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Upgrading Perl linux 5.6 rpm to 5.8.2 source

2004-01-13 Thread Paul Kraus
On a Linux system how can I remove the 5.6 rpm and then install the 5.8.2
from source and still maintain dependencies? If something is looking for
perl how do I make sure that it upgrades correctly?

 Paul Kraus
 ---
 PEL Supply Company
 Network Administrator
 ---
 800 321-1264 Toll Free
 216 267-5775 Voice
 216 267-6176 Fax
 www.pelsupply.com
 ---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response


Re: Upgrading Perl linux 5.6 rpm to 5.8.2 source

2004-01-13 Thread drieux
On Jan 13, 2004, at 1:02 PM, Paul Kraus wrote:

On a Linux system how can I remove the 5.6 rpm and then install the 
5.8.2
from source and still maintain dependencies? If something is looking 
for
perl how do I make sure that it upgrades correctly?
This is probably a bit odd,
but why not skip the part where
you remove the 5.6 rpm and simply
do the build and install of 5.8.2 ???
You can of course visit say
http://rpmfind.net/linux/RPM/index.html
there appear to be several perl-5.8.2 rpm's
for various versions of linux...
which of course would be the more traditional solution,
do a 5.8.2 upgrade by rpm and then STOMP on it with
your own build...
ciao
drieux
---

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response



Upgrading from Perl 5.8.0 to Perl 5.8.2

2003-11-24 Thread Johnston Michael J Contr AFRL/DES
I'm using Redhat 9.0 and after installing it, I came with Perl 5.8.0.  Well,
I tried to upgrade to 5.8.2 and instead of upgrading, it just installed
another version.  Thinking that it worked correctly, I installed Net-SNMP
and all the modules.  My problem is that when I try and run a script that
uses Net::SNMP, it fails with this error: 

[EMAIL PROTECTED] libexec]# ./check_netapp.pl -H filer 
 Can't locate Net/SNMP.pm in @INC (@INC contains: 
 /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 
 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl 
 /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0) at 
 ./check_netapp.pl line 43. 
 BEGIN failed--compilation aborted at ./check_netapp.pl line 43. 

When I check Net::SNMP, it says that it's installed: 

 cpan install Net::SNMP 
 Net::SNMP is up to date. 

What did I do wrong and how can I fix it?  Do I need to uninstall Perl 5.8.0
or do I just need to recompile Perl 5.8.2 somehow?  Any advice would be
awesome. 

Mike 




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Upgrading from Perl 5.8.0 to Perl 5.8.2

2003-11-24 Thread Tore Aursand
On Mon, 24 Nov 2003 17:19:25 +, Johnston Michael J Contr AFRL/DES
wrote:
 What did I do wrong and how can I fix it?  Do I need to uninstall Perl
 5.8.0 or do I just need to recompile Perl 5.8.2 somehow?  Any advice
 would be awesome.

I upgraded as soon as Perl 5.8.2 hit the street, but I didn't want to
fiddle with my exisiting Perl 5.8.0 installation (also from RH 9.0).

My solution:  Install Perl 5.8.2 in '/usr/local', the point
'/usr/bin/perl' to the Perl executable located under the 'local' path;

  ln -s /usr/local/bin/perl /usr/bin/perl


-- 
Tore Aursand [EMAIL PROTECTED]
A teacher is never a giver of truth - he is a guide, a pointer to the
 truth that each student must find for himself.  A good teacher is
 merely a catalyst. -- Bruce Lee


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



upgrading

2003-11-06 Thread Tim
Hi,
I have perl 5.6.0 on a Linux box and want to install 5.8.1 on it and remove 
the earlier version.

The install is pretty straightforward, but I don't know how best to remove 
the old version. Intuitively it would appear that blowing off everything 
that has 'perl' in the filename in /usr/bin (maybe /usr/sbin as well) and 
all the directories in @INC.

Thanks for sharing any relevant experiences.
Cheers,
Tim
email: mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: upgrading

2003-11-06 Thread Dan Anderson
What distro?  Most of the times either you'll do something like $ rpm -U
./perl.rpm or make clean.

-Dan

-Dan
On Thu, 2003-11-06 at 16:50, Tim wrote:
 Hi,
 I have perl 5.6.0 on a Linux box and want to install 5.8.1 on it and remove 
 the earlier version.
 
 The install is pretty straightforward, but I don't know how best to remove 
 the old version. Intuitively it would appear that blowing off everything 
 that has 'perl' in the filename in /usr/bin (maybe /usr/sbin as well) and 
 all the directories in @INC.
 
 Thanks for sharing any relevant experiences.
 Cheers,
 Tim
 
 email: mailto:[EMAIL PROTECTED]
 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



upgrading perl

2003-02-13 Thread Richard Fernandez
I have a box that's running perl version 5.005_03 and I'ld like to upgrade
to the latest version.
What's the best way to accomplish this and maintain access to my currently
installed modules?

I'm doing this on a SUN box. Also,  this particular box is behind a firewall
and doesn't have internet connectivity.

TIA for any suggestions!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: upgrading perl

2003-02-13 Thread Richard Fernandez
Getting the software isn't that hard, just a question of using sneaker
net.
But I would like to avoid having to rebuild all my modules if possible.

Is it feasible to install 5.6 (someone has mentioned that 5.8 isn't binary
compatible with older versions) and then use symlinks to point to the old
modules?
Or is there more to it than that?

Thanks again!

-Original Message-
From: Richard Fernandez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 10:26 AM
To: [EMAIL PROTECTED]
Subject: upgrading perl


I have a box that's running perl version 5.005_03 and I'ld like to upgrade
to the latest version.
What's the best way to accomplish this and maintain access to my currently
installed modules?

I'm doing this on a SUN box. Also,  this particular box is behind a firewall
and doesn't have internet connectivity.

TIA for any suggestions!


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: upgrading perl

2003-02-13 Thread Jenda Krynicky
From: Richard Fernandez [EMAIL PROTECTED]
 Getting the software isn't that hard, just a question of using
 sneaker net. But I would like to avoid having to rebuild all my
 modules if possible.
 
 Is it feasible to install 5.6 (someone has mentioned that 5.8 isn't
 binary compatible with older versions) and then use symlinks to point
 to the old modules? Or is there more to it than that?

I can't be sure about SUN, but under Windows Perl 5.6 is not binary 
compatible with 5.005 and I would expect this to be the same on other 
OSes.

Jenda

= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: upgrading PPM

2002-11-22 Thread Clinton
Afraid of breaking something.
Clinton
http://www.mediamas.com.au/salesmine/default.htm
- Original Message - 
From: Timothy Johnson [EMAIL PROTECTED]
To: 'Clinton ' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, November 22, 2002 6:42 PM
Subject: RE: upgrading PPM


 
 Why not just upgrade to ActivePerl 5.6.1 build 633?
 
 -Original Message-
 From: Clinton
 To: [EMAIL PROTECTED]
 Sent: 11/21/02 7:52 PM
 Subject: upgrading PPM
 
 On Win running 5.6.0 build 623- How do I upgrade my version of PPM 2.12
 to
 3.01
 Help appreciated
 Regards
 Clinton
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




upgrading PPM

2002-11-21 Thread Clinton
On Win running 5.6.0 build 623- How do I upgrade my version of PPM 2.12 to
3.01
Help appreciated
Regards
Clinton


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: upgrading PPM

2002-11-21 Thread Timothy Johnson
 
Why not just upgrade to ActivePerl 5.6.1 build 633?

-Original Message-
From: Clinton
To: [EMAIL PROTECTED]
Sent: 11/21/02 7:52 PM
Subject: upgrading PPM

On Win running 5.6.0 build 623- How do I upgrade my version of PPM 2.12
to
3.01
Help appreciated
Regards
Clinton


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Upgrading the Murder Tree Products was Re: Books

2002-05-15 Thread Jackson, Harry



-Original Message-
From: drieux [mailto:[EMAIL PROTECTED]]

{ did I mention that kids these days are just going to Python? }

It is definitely getting more press. I have never tried it but by all
accounts its a great language.

Harry


*
COLT Telecommunications
Registered in England No. 2452736
Registered Office: Bishopsgate Court, 4 Norton Folgate, London E1 6DQ
Tel. +44 20 7390 3900

This message is subject to and does not create or vary any contractual
relationship between COLT Telecommunications, its subsidiaries or 
affiliates (COLT) and you. Internet communications are not secure
and therefore COLT does not accept legal responsibility for the
contents of this message.  Any view or opinions expressed are those of
the author. The message is intended for the addressee only and its
contents and any attached files are strictly confidential. If you have
received it in error, please telephone the number above. Thank you.
*


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Upgrading the Murder Tree Products was Re: Books

2002-05-15 Thread drieux


On Tuesday, May 14, 2002, at 03:37 , Kevin Meltzer wrote:

 On Tue, May 14, 2002 at 02:44:01PM -0700, drieux ([EMAIL PROTECTED]) 
 said something similar to:
 Given that the Apocalypse is coming, you may want to wait
 until the first of the Perl6 books come out - if you are
 'book oriented', but frugal in these matters.

 Given that Perl6 will likely be out and production worthy long after a
 book on it is published, why would anyone want to wait for it?

call me slow - but yes, reading the current online kvetchings
about perl6 can be done now - along with some play with the
code - but are there books on it out already even while it
is still essentially 'beta'?

or did you mean that sentance to be read in the new context
of 'the future is futuristic'.

ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Upgrading the Murder Tree Products was Re: Books

2002-05-15 Thread Kevin Meltzer

Beta? Is isn't even alpha. And yes, generally when I speak of the
future it is in terms of sometime after the present.

Cheers,
Kevin

On Wed, May 15, 2002 at 09:07:28AM -0700, drieux ([EMAIL PROTECTED]) said something 
similar to:
 
 On Tuesday, May 14, 2002, at 03:37 , Kevin Meltzer wrote:
 
  On Tue, May 14, 2002 at 02:44:01PM -0700, drieux ([EMAIL PROTECTED]) 
  said something similar to:
  Given that the Apocalypse is coming, you may want to wait
  until the first of the Perl6 books come out - if you are
  'book oriented', but frugal in these matters.
 
  Given that Perl6 will likely be out and production worthy long after a
  book on it is published, why would anyone want to wait for it?
 
 call me slow - but yes, reading the current online kvetchings
 about perl6 can be done now - along with some play with the
 code - but are there books on it out already even while it
 is still essentially 'beta'?
 
 or did you mean that sentance to be read in the new context
 of 'the future is futuristic'.

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Share the groove.
-- Phish (Weekapaug Groove)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Upgrading the Murder Tree Products was Re: Books

2002-05-14 Thread drieux


On Tuesday, May 14, 2002, at 02:16 , Robert Beau Link wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Tuesday 14 May 2002 01:58 pm, Bob wrote:
 Has Perl evolved that much...
 Let me chime in on this question; I'm also stuck with the 2nd ed camel.
  I know it's hopelessly outdated ('96? Ancient history!) but if a guy
 were broke would it be better to work from the old book in hand or to
 give it the ol' heave ho and live (and die) by the perldocs?  Are there
 any simple caveats that would help one safely squeeze value from the
 2nd ed?
[..]

Let's put this the other way around - much of what I wrote in perl
I wrote originally from the 1st Edition - and modified on
the fly = from the perldocs - so I bought the 3rd Edition in the
big hope that it would help me 'more' some how - and to be
truthful - if you can deal with coding from 'man pages' -
then spending the nickle on the 3rd Edition of the Pocket
Reference should be good enough - as that is where one will
really be thumbing. Since you will be able to 'cut and paste'
from the perldoc's rather than from books.

There is a lot of interesting and useful information in
the 3rd edition that goes into gory detail - if you like
that sort of stuff about why they opted to TIMTOWTDI'd it
this way or that...

Given that the Apocalypse is coming, you may want to wait
until the first of the Perl6 books come out - if you are
'book oriented', but frugal in these matters.

Oh Yes - when writing your POD for you apps and modules,
do make them cool enough so we can just cut and paste
our way through them to use them. Which Means YOU should
have it as

my ($firstThing, $secondThing, $thirdThing) =
thisCoolFunk($input1, $input2, $input3);

Your elders did that for you, be polite and show some
respect for the older generation

{ did I mention that kids these days are just going to Python? }

ciao
drieux

---

I have a hard time coping with the thought that people
can actually talk in terms of 'the nineties' as 'vintage'
and/or 'classic' - I really do not plan to be 'rational'
if they talk about 'retro' with regards to 1990-1999


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Upgrading the Murder Tree Products was Re: Books

2002-05-14 Thread Kevin Meltzer

On Tue, May 14, 2002 at 02:44:01PM -0700, drieux ([EMAIL PROTECTED]) said something 
similar to:
 Given that the Apocalypse is coming, you may want to wait
 until the first of the Perl6 books come out - if you are
 'book oriented', but frugal in these matters.

Given that Perl6 will likely be out and production worthy long after a
book on it is published, why would anyone want to wait for it?

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I'm hopeful. I know there is a lot of ambition in Washington, obviously. But I
hope the ambitious realize they are more likely to succeed with success as
opposed to failure.
-- G.W. Bush, Interview with the AP 01/18/2001

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Upgrading Perl

2002-01-02 Thread Robert

How can I (actually whats the best way?) upgrade an existing Perl(5.6.0) 
to (5.6.1). This is on RH7.2.

Thanks


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: HowTo prevent CPAN upgrading perl.

2001-12-06 Thread Scott R. Godin

In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Gary Stainburn) wrote:

 Hi all, I'm trying to install RT2 - perl helpdesk suite, but it depends on a 
 load of modules which it will automaticall install using CPAN (I believe) as 
 part of the install script.  Is it possible to tell CPAN *not* to upgrade 
 perl in the progress.
 
 In the past, if I've let CPAN install a bundle for just about anything, it's 
 also gone and tried to upgrade perl first which to put it bluntly shafts my 
 box.  I would like to avoid this while still making use of CPAN.

first try 

install CPAN

not 

install Bundle::CPAN

that should get you to around 1.59 version of CPAN.pm

I *believe* it's possible to 

force install XY::Z

where XY::Z is some module name that you are trying to install, and 
where that is the direct path to the module's own directory under the 
author name

to find that, you can match the module name with a regex, while using 
the i command to search for any information about the module 

i /^LWP::/

will search CPAN for all modules that begin with LWP:: for example, and 
then you can take the full path to the module name from the returned 
list. 

write back if you need further info.

print pack H*, 4a75737420416e6f74686572204d61635065726c204861636b65722c0d;
-- 
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services  |web : http://www.webdragon.net/
It is not necessary to cc: me via e-mail unless you mean to speak off-group.
I read these via nntp.perl.org, so as to get the stuff OUT of my mailbox. :-)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




HowTo prevent CPAN upgrading perl.

2001-12-05 Thread Gary Stainburn

Hi all, I'm trying to install RT2 - perl helpdesk suite, but it depends on a 
load of modules which it will automaticall install using CPAN (I believe) as 
part of the install script.  Is it possible to tell CPAN *not* to upgrade 
perl in the progress.

In the past, if I've let CPAN install a bundle for just about anything, it's 
also gone and tried to upgrade perl first which to put it bluntly shafts my 
box.  I would like to avoid this while still making use of CPAN.

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: HowTo prevent CPAN upgrading perl.

2001-12-05 Thread Daniel Gardner

GS In the past, if I've let CPAN install a bundle for just about anything, it's
GS also gone and tried to upgrade perl first which to put it bluntly shafts my 
GS box.  I would like to avoid this while still making use of CPAN.

i believe that newer versions of the CPAN module don't have this
feature - upgrade that and you should be sorted.



-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Upgrading perl problems ?

2001-05-16 Thread Anshu Anshu

HI All,

 I have one small doubts and I want to share with you to make sure.

I was using old version of perl5 and couple of scripts were using DBD, DBI,
Time modules.  Recently I did upgrade the perl5 version 5.005_03 (with Sun
package ).
Will upgarding the perl version will break something ? Because I found that
the scripts are not running properly. Its not able to pull data from Oracle
server. I did also try upgrating DBD and DBI with latest version, It didn't
help.
Have you come with such issues ?
Any guess ?


Thanks everyone.
AS



RE: Upgrading perl problems ?

2001-05-16 Thread King, Jason

Anshu Anshu writes ..

 I have one small doubts and I want to share with you to make sure.

I was using old version of perl5 and couple of scripts were using
DBD, DBI, Time modules. Recently I did upgrade the perl5 version
5.005_03 (with Sun package ). Will upgarding the perl version will
break something ? Because I found that the scripts are not running
properly. Its not able to pull data from Oracle server. I did also try
upgrating DBD and DBI with latest version, It didn't help.
Have you come with such issues ?
Any guess ?


better than a guess .. packages that rely on binary or compiled components
(like DBI) must be compiled specifically for the version of Perl that
they're to work with

so .. once you've upgraded your version of Perl you will need to reinstall
your binary packages .. you can see the Perl packages that are installed
with the perllocal file


references:

  perldoc perllocal

-- 
  jason king

  It is illegal to annoy a bird in any city park of Honolulu, Hawaii.
  - http://dumblaws.com/