Active Topics

 


Reply
Thread Tools
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#1
Perl 5 is a highly capable, feature-rich programming language with over 24 years of development.
-- http://www.perl.org/

Perl History (http://www.cpan.org/src/README.html)

Code:
Version   State         Released
5.17.3    Devel 	2012-08-20
5.16.1    Maint 	2012-08-08
5.14.2    Maint 	2011-09-26
5.12.4    End of life 	2011-06-20
5.10.1    End of life 	2009-08-23
5.8.9     End of life 	2008-12-14
5.6.2     End of life 	2003-11-15
Version on Fremantle (PR.1.3) = 5.8.3-3osso13+0m5

Version now in extras-devel 5.16.1. Package name is perl-5.16.
*Vanilla from upstream (no patches from debian/ubuntu)
*Can coexist with old perl.
*Optifed (16MB download, 66MB installed).
*Contains full perl (no separate packages)
*Compiled with gcc-4.6 (because gcc-4.2 seg faults (maybe out of memory)), so only for ARMEL.

----

I run full perl testsuite straight on device (as I skipped it on autobuilder) and only one test fails (out of 1881 tests)
Code:
MANIFEST: t/op/magic.t                    See if magic variables work

Result:
op/magic.t .. 108/156 # Failed test 152 - altering $0 is effective (testing with `ps`) at op/magic.t line 638


magic.t:638:            ok(!$ps  
	       || ($^O eq 'freebsd' && $ps =~ m/^(?:perl: )?x(?: \(perl\))?$/),
		       'altering $0 is effective (testing with `ps`)');
Reason might be that my 'ps' is busybox. Or do you think this is fatal?
Attached Images
 
 

The Following 19 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#2
I was trying to use it to build newer debhelper, having set in debian/rules:

Code:
PATH:=/opt/perl/bin:/usr/bin:$(PATH)
export PATH
PERL5LIB:=/opt/perl/lib/5.16.1/:$(PERL5LIB)
SBOX_REDIRECT_IGNORE:=$(shell echo /usr/bin/{python,perl,dh_*} | sed "s/ /:/g")
export SBOX_REDIRECT_IGNORE
export DEB_BUILD_OPTIONS:=nocheck
(copied some of the options from the debhelper7 package)

But dpkg-buildpackage fails on:

Code:
dpkg-buildpackage: source package is debhelper8
dpkg-buildpackage: source version is 8.0.0+maemo0
dpkg-buildpackage: source changed by Marcin Mielniczuk <marmistrz@linux.pl>
dpkg-buildpackage: host architecture armel
dpkg-buildpackage: source version without epoch 8.0.0+maemo0
: Using Scratchbox tools to satisfy builddeps
 fakeroot debian/rules clean
./run dh clean
Undefined subroutine &Getopt::Long::GetOptionsFromArray called at /home/marcin/dh/debhelper/Debian/Debhelper/Dh_Getopt.pm line 156.
make: *** [clean] Error 255
How to fix it?

EDIT: I'm using this source: http://maemo.gitorious.org/maemo-pkg/debhelper
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2012-12-15 at 17:14.
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
Halftux's Avatar
Posts: 868 | Thanked: 2,516 times | Joined on Feb 2012 @ Germany
#3
Originally Posted by marmistrz View Post

How to fix it?
Possible fix: change your perl5 lib environment variable to:

PERL5LIB=/opt/perl/lib/5.16.1/;$PERL5LIB

I got some success with this, so I place it here as a note, maybe someone else running into similar problems.
 

The Following 5 Users Say Thank You to Halftux For This Useful Post:
Maemish's Avatar
Posts: 1,718 | Thanked: 4,764 times | Joined on Apr 2018 @ Helsinki, Finland.
#4
8 year gap. I so like this how things here live even it would seem they are dead.
__________________
"I don't know how but I can try!" (active)

Master of not knowing (active)

For me it is possible to get lost in any case (active)

Learning to fall from high (DONE)

Learning to code with BASIC (WIP)
 
ste-phan's Avatar
Posts: 1,196 | Thanked: 2,708 times | Joined on Jan 2010 @ Hanoi
#5
There is no time gap or dead thread in Vintage Devices.
Time moves not according to commercial interest, only user interest hence the ongoing existence of this Maemo website.
Stay healthy and in time all will be fixed, issues resolved. :-)
 

The Following 4 Users Say Thank You to ste-phan For This Useful Post:
Posts: 501 | Thanked: 618 times | Joined on Feb 2012
#6
Originally Posted by ste-phan View Post
There is no time gap or dead thread in Vintage Devices.
Good vintage devices are timeless.
 

The Following User Says Thank You to teroyk For This Useful Post:
Halftux's Avatar
Posts: 868 | Thanked: 2,516 times | Joined on Feb 2012 @ Germany
#7
We also have so many knowledge here, that it took me 5 years to come to this point where I wanted to make use of it, probably unsuccessful. After some other years now I got success.
And I bet that no one will ask for a solution after 8 years. And I would also say that this information will be used by only a few people.
And I guess that in the future I will facing the same problem and forgot how I solved it and coming back here again. So sometimes I am talking to myself
 

The Following 2 Users Say Thank You to Halftux For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 09:32.