Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: SDL_perl on 5.8

by chromatic (Archbishop)
on Jan 29, 2004 at 00:20 UTC ( [id://324840]=note: print w/replies, xml ) Need Help??


in reply to Re: SDL_perl on 5.8
in thread SDL_perl on 5.8

Well, yes and no.

No, in that it has no binaries and probably never will. It may contain links to binaries, but it doesn't now.

Yes, in that it'll eventually be the place to go to find out what's available where.

No, in that the snapshots probably don't even build on Win32, since the build process doesn't know anything about how to build on Win32. (This is partially because *I* don't really want to know about how to build on Win32, but I have a couple of patches to try.)

Replies are listed 'Best First'.
Re: Re: Re: SDL_perl on 5.8
by Anonymous Monk on Jan 29, 2004 at 01:24 UTC
    The build process doesn't need to know anything about how to build on win32, it just has to not be specific to linux only.

      Unfortunately, it does need to know where to find the SDL headers, where to link against the SDL DLLs, and which components are present, not to mention which OpenGL headers — if any — are present. At least, that's how I understand it. If there's an easier way to build, please let me know!

        I once compiled OpenGL.pm 0.53 for Win32, and it was only a matter of patching the MS header files. The OpenGL header files should already be in the include search path for the MSVC compiler.

        For SGL, I would start with registry entries, if there is some setup file for Win32 that installs the binaries, and then some directory guesses like C:/sdl/lib, and if the guesses fail, use File::Find(::Rule)? to look for the header files, at least on C:/ and the volume perl resides on.

        I'm in the process of patching the Net::SSLeay Makefile to do exactly this searching, but haven't come too far with it yet.

        perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web
        Yeah, but thats not specific to Win32. Even on linux you sometimes need to execute something like
        perl Makefile.PL LIB="-LC:\sdl\lib -llibsdl" INC="-IC:\sdl\include"
        All you need to do is say in an INSTALL file which libraries/headers are needed and where to get them.
        Yeah, but thats not specific to Win32. Even on linux you sometimes need to execute something like
        perl Makefile.PL LIB="-LC:\sdl\lib -llibsdl" INC="-IC:\sdl\include"
        All you need to do is say in an INSTALL file which libraries/headers are needed.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://324840]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found