Hi there, I'm having problems with mod_perl 1.24 and perl 5.6.0 (Suse 7.1),. in particular the "Bizarre copy of HASH/ARRAY..." bug. I've been advised by the modperl people to obtain perl 5.6.1, since 5.6.0 is the only version to display these problems (5.6.0 is 'buggy' according to them). How do I upgrade to 5.6.1, I seem to be unable to find an RPM on Suse's site? Suse 7.2 apparently still has 5.6.0, even though at a newer patch level. I considered updating perl from source, but I wonder how this should be done (never done it before). Regards, Henryk
Hi,
How do I upgrade to 5.6.1, I seem to be unable to find an RPM on Suse's site? Suse 7.2 apparently still has 5.6.0, even though at a newer patch level.
gunzip < perl-5.6.1.tar.gz | tar xvf - cd perl-5-6-1 sh configure.gnu # there are more ways to configure perl !!! # This was my way... make make test make install Ciao Andre
On Thu, 21 Jun 2001 14:30:53 +0200, Andre Heine
said:
Hi,
How do I upgrade to 5.6.1, I seem to be unable to find an RPM on Suse's site? Suse 7.2 apparently still has 5.6.0, even though at a newer patch level.
gunzip < perl-5.6.1.tar.gz | tar xvf -
cd perl-5-6-1
sh configure.gnu # there are more ways to configure perl !!! # This was my way... make make test make install
Ciao
Andre
I'm afraid, this answer too simple. While the above procedure might produce a runnable executable, this version is not properly integrated with the rest of the system. By simply installing, you get a mix of old and new perl. You can't remove the old perl package, since there are dependencies to for instance mod_perl. The patch, which is applied by SuSE is about 32KB. If you want to do this half way correct, you need to apply this patch, with possibly tons of rejects. The fixing lots of things manually. And what about the additionally installed modules? These are currently installed in /usr/lib/perl5/site_perl/5.6.0/. This would be /usr/lib/perl5/site_perl/5.6.1/ for the next version. Therefore you have to reinstall possibly many modules. I have been there and I tell you, this is much work. When updateing from SuSE 6.4 to 7.1 I reinstalled about 30 perl modules, which I had accumulated over time. For my taste all distribution providers fix too many things. -- Mit freundlichen Gruessen / Regards Frank Ridderbusch Fujitsu Siemens Computers, EP SQ XS1 Heinz Nixdorf Ring, 33106 Paderborn, Germany Tel.: (49) 5251-8-22033 Email: frank.ridderbusch@fujitsu-siemens.com
* Frank Ridderbusch (frank.ridderbusch@fujitsu-siemens.com) [010621 13:18]:
By simply installing, you get a mix of old and new perl. You can't remove the old perl package, since there are dependencies to for instance mod_perl.
The patch, which is applied by SuSE is about 32KB. If you want to do this half way correct, you need to apply this patch, with possibly tons of rejects. The fixing lots of things manually.
And what about the additionally installed modules? These are currently installed in /usr/lib/perl5/site_perl/5.6.0/. This would be /usr/lib/perl5/site_perl/5.6.1/ for the next version. Therefore you have to reinstall possibly many modules.
I have been there and I tell you, this is much work.
I can imagine. Today, I got myself a list of all perl modules installed on the machine via rpm and downloaded them from CPAN. I got myself 5.6.1, apache 1.3.20 and modperl 1.25. It appears that I'll have to install perl 5.6.1, then the perl modules (which in turn require other modules for compilation, and even openssh include files, grr). After that, I'll have to recompile apache with mod_perl. Phew. Make sure to install into /usr, not /usr/local, to maintain Suse's path concept, put the mod_perl enabled httpd where Suse's httpd was and strip httpd.conf of modules. Anything I missed? Regards, Henryk
participants (4)
-
Andre Heine
-
Dr.med. Henryk Bochmann
-
Dr.med. Henryk Bochmann
-
Frank Ridderbusch