Poster | Thread |
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 |
|
|
broadblues
| |
Re: OS4 Perl port updated Posted on 19-Aug-2005 12:08:33
| | [ #2 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4447
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 |
|
|
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 |
|
|
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 |
|
|
broadblues
| |
Re: OS4 Perl port updated Posted on 19-Aug-2005 12:42:32
| | [ #5 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4447
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 |
|
|
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 |
|
|
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 |
|
|
broadblues
| |
Re: OS4 Perl port updated Posted on 20-Aug-2005 1:41:59
| | [ #8 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4447
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 |
|
|