ActiveState Perl 5.6 vs 5.8

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

ActiveState Perl 5.6 vs 5.8

Postby kchung » Mon Aug 07, 2006 6:41 pm

In the SCRATCH_INSTALL directions, it directs people to look into ActiveState's ActivePERL 5.6. Is there anything wrong with installing 5.8 instead?
kchung
 
Posts: 208
Joined: Fri Aug 04, 2006 5:28 pm

Postby mflorell » Mon Aug 07, 2006 6:53 pm

Nope. We've used both with no problems. I have not used the more recent 5.8 releases, but last year when I last tested them they worked fine.

If you use Activestate Perl you will have to reinstall all cpan modules.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby kchung » Tue Aug 08, 2006 10:42 am

Thanks for your answer.

Has anyone got anytime to ammend the scratch_install instructions on how to use activeperl? Is there anything I should watch out for?
kchung
 
Posts: 208
Joined: Fri Aug 04, 2006 5:28 pm

Postby jlodvo » Sun Aug 13, 2006 11:07 am

that would be great to have a Activestate Perl scratch_install instructions
jlodvo
 
Posts: 15
Joined: Sun Aug 06, 2006 12:12 am

Postby mflorell » Sun Aug 13, 2006 2:52 pm

this is the short version:
- download the latest 5.8 tar.gz version of ActivePerl from ActiveState.com
- unzip and untar then cd to directory
- ./configure; make; make install
- make a symbolic link from ./bin/perl to /usr/bin/perl
- reinstall all cpan modules

There may be some inaccuracies in that but that's basically the concept.

I have not tested recently because the latest source perl 5.8 fixes issues that I used to have with perl 5.6. Not sure if there is a performance gain anymore for using ActivePerl over straight perl source.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby kchung » Mon Aug 14, 2006 12:03 pm

do you happen to know if there's a perl benchmarking script like mysql has?
kchung
 
Posts: 208
Joined: Fri Aug 04, 2006 5:28 pm

Postby mflorell » Mon Aug 14, 2006 12:14 pm

This would be rather difficult to do for the VICIDIAL scripts since most of them can only be tested on active systems with Asterisk running.

If anyone has time to do benchmarks it would be nice to know how the current 5.8 perl code compares to the ActivePerl code.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 183 guests