Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
15 crawler(s) on-line.
 127 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 VooDoo:  5 mins ago
 matthey:  10 mins ago
 pavlor:  24 mins ago
 kolla:  1 hr 23 mins ago
 michalsc:  1 hr 33 mins ago
 amigang:  1 hr 42 mins ago
 gryfon:  1 hr 59 mins ago
 Rob:  2 hrs 37 mins ago
 Birbo:  3 hrs 7 mins ago
 Hypex:  3 hrs 12 mins ago

software OS4   software OS4 : Perl 5.22.1 Ported to AmigaOS4
   posted by broadblues on 16-Dec-2015 1:42:09 (2125 reads)
I'm pleased to announce the latest release of my port of Perl (The Practical Extraction and report Language) for AmigaOS 4.1

Perl for AmigaOS is now updated to te latest stable version of perl 5.22.1

For information about perl and the new features in the latest version of the language got to https://www.perl.org/

The following is new for the amiga port:

Port to Perl 5.22
Improved handling of NIL:
Environment variables now correctly inherited by subprocesses.
Fix exec, and exit in "forked" subprocesses.
Fix issue with newlib's unlink, which could cause infinite loops.
Add flock() emulation using IDOS->LockRecord.
Improved handling of signals and signal handlers.

Further to this port with the valuable help of Jarkko Hietaniemi the AmigaOS src code has been merged with the main perl src and so it's now possible to build a bleeding edge version of perl. This will make support of future versions much easier.

Please note I just uploade a quick fix for the perldoc pager and so release 2 is in the os4depot queue as I type this, so please wait for 5.22.1_02 to appear on os4depot before installing (or if your in hurry be sure to update whenh it comes available).


    

STORYID: 7596
Related Links
· More about software OS4
· News by broadblues


Printer Friendly Page  Send this Story to a Friend

PosterThread
pavlor 
Re: Perl 5.22.1 Ported to AmigaOS4
Posted on 16-Dec-2015 23:24:02
#1 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9584
From: Unknown

Well done!

 Status: Offline
Profile     Report this post  
Amiboy 
Re: Perl 5.22.1 Ported to AmigaOS4
Posted on 16-Dec-2015 23:33:05
#2 ]
Super Member
Joined: 21-Dec-2003
Posts: 1056
From: At home (probably)

Well done !!


_________________
Live Long and keep Amigaing!

A1200, Power Tower, TF1260 128MB RAM, 68060 Rev 6, OS3.9 BB2, HD-Floppy, Mediator TX+ PCI, Voodoo 3 3000, Soundblaster 4.1, TV Card, Spider USB, 100MBit Ethernet, 16GB CF HD, 52xCDRom.

 Status: Offline
Profile     Report this post  
Yssing 
Re: Perl 5.22.1 Ported to AmigaOS4
Posted on 16-Dec-2015 23:58:34
#3 ]
Super Member
Joined: 24-Apr-2003
Posts: 1084
From: Unknown

Excellent! well done!


_________________

 Status: Offline
Profile     Report this post  
spotUP 
Re: Perl 5.22.1 Ported to AmigaOS4
Posted on 17-Dec-2015 1:58:13
#4 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2896
From: Up Rough Demo Squad

Well done, especially the upstream changes!


_________________
AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.

http://www.asciiarena.com
http://www.uprough.net

 Status: Offline
Profile     Report this post  
Belxjander 
Re: Perl 5.22.1 Ported to AmigaOS4
Posted on 17-Dec-2015 3:02:20
#5 ]
Cult Member
Joined: 4-Jan-2005
Posts: 557
From: Chiba prefecture Japan

Thank you for porting perl,

Wish the installer worked for me so I could use it.
( complains about "perl not being executable" as a fatal error)

Keep up the good work (and this explains the nudge and suggestion to use perl that you gave me)

 Status: Offline
Profile     Report this post  
broadblues 
Re: Perl 5.22.1 Ported to AmigaOS4
Posted on 17-Dec-2015 3:46:40
#6 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

Quote:

Thank you for porting perl,

Wish the installer worked for me so I could use it.
( complains about "perl not being executable" as a fatal error)


That's odd, how did you unpack the archive?

Please use UnArc to ensure the protection bits are corectly preserved.


_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
broadblues 
Re: Perl 5.22.1 Ported to AmigaOS4
Posted on 17-Dec-2015 3:48:57
#7 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

BTW the version now os4depot.net is the 5.22.1_02 version I refer to in my post, I forgot to bump the revision on the upload form! Ooops


_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
tekmage 
Re: Perl 5.22.1 Ported to AmigaOS4
Posted on 17-Dec-2015 6:35:08
#8 ]
Regular Member
Joined: 23-Mar-2005
Posts: 439
From: San Francisco

Nice work Andy!

Bill "tekmage" Borsari

 Status: Offline
Profile     Report this post  
vulture 
Re: Perl 5.22.1 Ported to AmigaOS4
Posted on 17-Dec-2015 8:56:01
#9 ]
Regular Member
Joined: 21-Sep-2006
Posts: 225
From: Greece

Great work Andy, thx!

 Status: Offline
Profile     Report this post  
duga 
Re: Perl 5.22.1 Ported to AmigaOS4
Posted on 17-Dec-2015 20:41:43
#10 ]
Regular Member
Joined: 1-May-2012
Posts: 227
From: Unknown

Great, will download and try.

Edit:
Can't stat ext: No such file or directory
at installperl line 183.
WARNING: You've never run 'make test' or some tests failed! (Installing anyway.)

Use of uninitialized value $path in substitution (s///) at installperl line 544.
Use of uninitialized value $path in split at installperl line 545.

Edit 2: well, seems to work anyway.

Last edited by duga on 17-Dec-2015 at 09:14 PM.
Last edited by duga on 17-Dec-2015 at 09:07 PM.

 Status: Offline
Profile     Report this post  
Robert 
Re: Perl 5.22.1 Ported to AmigaOS4
Posted on 18-Dec-2015 17:23:51
#11 ]
Cult Member
Joined: 10-Mar-2003
Posts: 879
From: Glasgow

Good work sir. I shall add this to my list of things to try in the new year when I get some me time.


_________________
Robert
--
A1XE G4, OS4.1. Peg1 G3, MOS 1.4.
Abel Soul - Check out our tunes on Spotify

 Status: Offline
Profile     Report this post  
broadblues 
Re: Perl 5.22.1 Ported to AmigaOS4
Posted on 19-Dec-2015 2:52:05
#12 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@duga

All these are harmless warnings. Don't worry about them.

The unitiliased value $path errors are due to you not having a PATH variable set. Perl makes a number of unixy assumptions about the system.


_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
Belxjander 
Re: Perl 5.22.1 Ported to AmigaOS4
Posted on 21-Dec-2015 2:06:56
#13 ]
Cult Member
Joined: 4-Jan-2005
Posts: 557
From: Chiba prefecture Japan

Using XadUnFile archive.lha folder/ and then going into the folder, reading the install script,
entering the perl folder provided and using "perl installperl" as a direct shell command.

I'll unpack with UnArc and try again

will it accept SYS:Scripts/perl/ as a root path for installation at some point or is it assuming some fixed location?

--EDIT--: repeated with XadUnFile and UnArc with exactly the same error message...
Home:T %%> UnArc DL:perl_newlib.lha Home:T/
Home:T %%> cd perl-5.22.1/
Home:T/perl-5.22.1 %%> perl installperl
Can't stat ext: No such file or directory
at installperl line 183.
perl isn't executable!

Last edited by Belxjander on 21-Dec-2015 at 03:16 PM.

 Status: Offline
Profile     Report this post  
broadblues 
Re: Perl 5.22.1 Ported to AmigaOS4
Posted on 23-Dec-2015 12:20:46
#14 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

Quote:

will it accept SYS:Scripts/perl/ as a root path for installation at some point or is it assuming some fixed location?


You can install it under a new location from the installperl script but that's more for distro building, ideally just let it install into the SDK as designed.

Quote:

--EDIT--: repeated with XadUnFile and UnArc with exactly the same error message...
Home:T %%> UnArc DL:perl_newlib.lha Home:T/
Home:T %%> cd perl-5.22.1/
Home:T/perl-5.22.1 %%> perl installperl
Can't stat ext: No such file or directory
at installperl line 183.
perl isn't executable!


That's odd as the first two lines indicate the perl already executed the installperl script.

From a fresh shell type

which perl

perl --version

maybe your previous perl is broken and interering with the installation.


_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle