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
8 crawler(s) on-line.
 132 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 BigD:  7 mins ago
 OlafS25:  9 mins ago
 kolla:  29 mins ago
 amigakit:  38 mins ago
 NutsAboutAmiga:  40 mins ago
 Gunnar:  1 hr 19 mins ago
 Frank:  1 hr 25 mins ago
 MickJT:  2 hrs 4 mins ago
 A1200:  2 hrs 28 mins ago
 outlawal2:  3 hrs 2 mins ago

Software News   Software News : OS4 Perl port updated
   posted by broadblues on 19-Aug-2005 11:31:37 (4119 reads)
I have now uploaded my latest version of my port of perl 5.8.5 to os4depot.

Binary

Source

Fork emulation is now supported, using an adaption of the tecnique written for the Win32 version.

This version includes a few more of the standard extetions build in. The only ones not included now are POSIX and Devel:DProf. The inclusion of the Encode::#? modules does make the excutable a bit bloated but I've not figured a way to do dynamic loading as yet.

The binary version has built to fit better with the standard SDK layout, using SDK:Local/C instead of /usr/bin, and SDL:Local/clib2/lib for the libraries.

Keep an eye on http://www.broad.ology.org.uk/amiga/ for future updates on this and some othe projects.


Enjoy!
    

STORYID: 2510
Related Links
· More about Software News
· News by broadblues


Most read story about Software News
UBoot 2010.06.04 for Sam460ex available

Last news about Software News
Hollywood APK Compiler 4.0 released
Printer Friendly Page  Send this Story to a Friend

PosterThread
Cyborg 
Re: OS4 Perl port updated
Posted on 19-Aug-2005 11:59:49
#1 ]
Regular Member
Joined: 26-Nov-2003
Posts: 424
From: Germany

Well done, works almost nicely

Almost because as i tried it with an Makefile for SDL_perl it keeps asking me for bin: and usr:
(or /bin and /usr), so i still have to assign them properly... shoudn't exactly that have been
targeted with the standard SDK layout in this version?

I'm at work right now, so I can't re-check.. maybe i'm mixing things up now, but i don't think
so..

Anyway, well done dude


_________________
Regards, Cyborg.
AmigaOS4 development team member

"In the beginning was CAOS.."
-- Andy Finkel, 1988 (ViewPort article, Oct. 1993)

 Status: Offline
Profile     Report this post  
broadblues 
Re: OS4 Perl port updated
Posted on 19-Aug-2005 12:08:33
#2 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

You might need to edit the script headers,
you know change the #!/usr/bin/perl

to

#!/SDK/Local/C/perl

or you could

assign Usr: to SDK:local and make alink from USR:bin to SDK:Local/C

or perhaps you could try reconfigureing SDL_perl so that it genrates a makefile
that knows where perl is.... abc-shell and coreutils included in the SDK
do a reasonably godd job with a gnu style configure script, not so sure
about the metaconfig type that perl uses, I haven't retested from scratch, not
wanting to lose my working src tree....


_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
Toaks 
Re: OS4 Perl port updated
Posted on 19-Aug-2005 12:13:05
#3 ]
Elite Member
Joined: 10-Mar-2003
Posts: 8042
From: amigaguru.com

nice!

now lets see if lovely and my gf gets their wish ..namely frozenbubble


_________________
See my blog and collection website! . https://www.blog.amigaguru.com

 Status: Offline
Profile     Report this post  
Metalheart 
Re: OS4 Perl port updated
Posted on 19-Aug-2005 12:19:59
#4 ]
Elite Member
Joined: 21-Aug-2003
Posts: 2969
From: Somewhere in the Dutch mountains....

- wrong thread....

Last edited by Metalheart on 19-Aug-2005 at 12:22 PM.


_________________
Theres a time to live and a time to die
When its time to meet the maker
Theres a time to live but isnt it strange
That as soon as you're born you're dying

 Status: Offline
Profile     Report this post  
broadblues 
Re: OS4 Perl port updated
Posted on 19-Aug-2005 12:42:32
#5 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

I just had the shortest of looks at the SDL_perl 1.19 archive and the
Makefile.PL just redirects you to OS specific versions, needless to say
amigaos isn't one of them, this kinda defeats the object of using MakeMaker
IMHO. Don't have time to inestigate in any depth hope you have some luck with it,

The maybe toaks can have his frozen bubbles...


_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
Toaks 
Re: OS4 Perl port updated
Posted on 19-Aug-2005 13:06:08
#6 ]
Elite Member
Joined: 10-Mar-2003
Posts: 8042
From: amigaguru.com

broadblues:

ok, i admit it!.

I WANT IT TOO


_________________
See my blog and collection website! . https://www.blog.amigaguru.com

 Status: Offline
Profile     Report this post  
Cyborg 
Re: OS4 Perl port updated
Posted on 19-Aug-2005 15:46:17
#7 ]
Regular Member
Joined: 26-Nov-2003
Posts: 424
From: Germany

@broadblues

Already working on SDL_perl and actually compiling right now... i'm almost
there and after that i'll give frozen bubble a spin.. but remember:


- EDIT -

What a pity... i just figured the perl port doesn't support dynamic loading
yet, but its required for loading SDL_perl (of course...).. so, without
dynamic loading OR SDL_perl already built into perl, we can't use it..

So if you want, i can mail you my altered makefile for SDL_perl.. so you
should be able to build SDL_perl and include it in your perl port?

Just leave me a note.

Last edited by Cyborg on 19-Aug-2005 at 05:57 PM.


_________________
Regards, Cyborg.
AmigaOS4 development team member

"In the beginning was CAOS.."
-- Andy Finkel, 1988 (ViewPort article, Oct. 1993)

 Status: Offline
Profile     Report this post  
broadblues 
Re: OS4 Perl port updated
Posted on 20-Aug-2005 1:41:59
#8 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

I wouldn't hold you breath on the dynamic loading part... I can't think of
any way to do it, at the moment.

I wrote a simply dynamic loading experiment using elf.library calls
that could load a file search for a symbol and call the function pointed
to by that symbol, but that's not nearly enough. The xs code needs to have
access to the functions built in to perl, and also the global variables as far
as I can see. (as well as libc) I can't see how perl passes this info to the
xs extention, so many layers of macros obscuring the code.


In terms of SDL_perl you could try down loading the source archive, edit config.sh
to include SDL_perl as a static extension and rebuild, that would get you a
working copy to develope with...

If you can't get to work then get in touch by email and I'll see if I can find the time
to do it for you.

BTW in theory all you should need to do is use makeaperl to add static extensions
but it doesn't work at the moment, it's one of the only script s I've tried to run that fails


_________________
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