Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: calvin on November 17, 2004, 02:26:58 PM

Title: Perl Upgrade
Post by: calvin on November 17, 2004, 02:26:58 PM
Someone ha trying to make a perl upgrade to version 5.8.0 ?
Title: Perl Upgrade
Post by: guest22 on November 23, 2004, 12:23:07 AM
Hi,

just curious here, what's the REAL advantage?

RequestedDeletion
Title: Perl Upgrade
Post by: calvin on November 23, 2004, 01:15:02 AM
The last version of Metadot portal web server need perl 5.8.0,
i am thinking to use webgui that work with current perl version.
Title: Perl Upgrade
Post by: ergozd on November 23, 2004, 07:14:06 AM
Latest production version of Metadot runs perfectly fine with existing perl version (v5.6.1)...

I've put together a howto to install Metadot on SMEServer http://mirror.contribs.org/smeserver/contribs/ergozd/HowTos/metadot/index.htm

PS : You can also read more about perl accelerators
http://mirror.contribs.org/smeserver/contribs/ergozd/HowTos/speedycgi/index.htm
http://mirror.contribs.org/smeserver/contribs/ergozd/HowTos/PersistentPerl/index.htm

Best rgds, Ergin
Title: Perl Upgrade
Post by: mdo on November 23, 2004, 11:33:31 AM
Hi Ergin,

I would like to try that but there seems to be a permission problem:

You don't have permission to access /download/persistentperl/mod_persistentperl.so on this server.
The download for mod_speedycgi.so works well.

Your work on those contribs is much appreciated.

Regards,
Michael
Title: Perl Upgrade
Post by: ergozd on November 23, 2004, 08:59:04 PM
I know fixed (and tested) soo you can download perlpersistent module.

Good luck.
Best rgds, Ergin
Title: Perl Upgrade
Post by: calvin on November 24, 2004, 12:58:13 PM
Ok Ok is correct the metadot work  with current version of perl,
i have made a mistake, the application that maybe doesn't work
is a Helpesdek RT ( request tracker ) latest version from
www.bestpracticals.com, i will try to install to see what happen, or use another compatible helpdesk like www.otrs.org

thanks
Title: Perl Upgrade
Post by: mhr on December 06, 2004, 09:54:41 PM
Quote from: "guest22"
just curious here, what's the REAL advantage?


Don't know personally :-). But I simply have to change as some scripts require it. For example SlimDevices is going to get its SlimServer unicode compatible which seems to be hard/impossible using perl 5.6

Would it be possible to have both versions in parallel? I would not mind changing the first line in slimserver.pl to point to the 5.8 release...

Michael
Title: Re: Perl Upgrade
Post by: mhr on December 09, 2004, 08:56:33 AM
Quote from: "calvin"
Someone ha trying to make a perl upgrade to version 5.8.0 ?


I did not really upgrade, but install 5.8.6 alongside the existing 5.6.x. I need 5.8 for its improved utf-8 compatibility in one or two applications (SlimServer, Google API). It's therefore easy enough to change the first line in thos scripts to #!/usr/local/bin/perl (which is my 5.8 install).

So here's what I did (quote from the SlimServer mailing list):

Quote from: "Kevin Walsh"
You can install from source easily enough.  Download the latest Perl
tar archive from CPAN.  You'll find a link to the latest stable version
here: http://www.cpan.org/src/README.html.
 
Once you've unpacked the source, type the following:
 
    sh Configure -de
    make
    make test
    make install
 
That's it - you now have a new Perl in /usr/local/bin.


Be sure you have the dev-tools installed on your machine!

Good luck!

Michael