Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Alien::SDL installation on win8

by syphilis (Archbishop)
on Jul 02, 2019 at 12:53 UTC ( [id://11102303]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Alien::SDL installation on win8
in thread Alien::SDL installation on win8

The site libsdl.org offers a few options ...

There are SDL binaries for Strawberry Perl available at http://strawberryperl.com/package/kmx/sdl
I've used the oldest packages there to successfully install 32-bit and 64-bit builds of Alien-SDL-1.446 and SDL-2.546 on Strawberry Perl in the past. I think your best bet would be to grab the most recent package which is http://strawberryperl.com/package/kmx/sdl/64bit_SDL2_20130305.zip (or http://strawberryperl.com/package/kmx/sdl/32bit_SDL2_20130305.zip if you have a 32-bit build of Strawberry Perl).

Looking at my old build scripts I can see that I had to set $ENV{SDL_INST_DIR} to point to the correct directory, but I can't see that anything particularly tricky was required.

Cheers,
Rob

Replies are listed 'Best First'.
Re^4: Alien::SDL installation on win8
by timewarps1 (Initiate) on Jul 03, 2019 at 10:06 UTC
    My Strawberry Perl is 64 bit. I downloaded 64bit SDL1 from the site you provided (SDL2 couldn't be recognized). After runnning 'perl Build.pl', I got the following response:
    ########### log 1 ############ E:\A_Downloads\alien\Alien-SDL-1.446>perl Build.PL Welcome to Alien::SDL module installation ----------------------------------------- checking operating system... MSWin32 checking for gcc... yes checking build system type... MSWin32-x64-multi-thread checking platform specific module... using 'My::Builder::Windows' checking SDL_INST_DIR env var... yes, E:\A_Downloads\SDL1_STRAWBERRY checking for config script... yes, E:\A_Downloads\SDL1_STRAWBERRY\bin\ +sdl-config no checking for config script... no checking for pthread... no checking for SDL... no checking for z... no checking for jpeg... no checking for tiff... no checking for png... no checking for SDL_image... no checking for ogg... no checking for vorbis... no checking for vorbisfile... no checking for SDL_mixer... no checking for freetype... no checking for SDL_ttf... no checking for SDL_gfx... no checking for pangoft2... no checking for pango... no checking for gobject... no checking for gmodule... no checking for glib... no checking for fontconfig... no checking for expat... no checking for SDL_Pango... no checking for prebuilt binaries... no You have the following options: [1] Already installed SDL ver=1.2.14 path=E:\A_Downloads\SDL1_STRAWBER +RY\bin\..\ [2] Quit installation What way do you wanna go? [1 ]1 Using already installed SDL ver=1.2.14 path=E:\A_Downloads\SDL1_STRAWB +ERRY\bin\. .\ Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Alien-SDL' version '1.446' E:\A_Downloads\alien\Alien-SDL-1.446> ##############################

    There was a new file created called Build.bat. I ran it and got the following:

    ############ log 2 ############## E:\A_Downloads\alien\Alien-SDL-1.446>Build.bat Build option used: Already installed SDL ver=1.2.14 path=E:\A_Downloads\SDL1_STRA +WBERRY\bin \..\ Building Alien-SDL E:\A_Downloads\alien\Alien-SDL-1.446> ##############################
      E:\A_Downloads\alien\Alien-SDL-1.446>Build.bat

      There's no sign of any error with that command. I think you're already there.
      Try running Build.bat test
      And if that works ok, you should be set to run Build.bat install

      Update: Building SDL itself should then work fine. Remember that you'll need to have E:\A_Downloads\SDL1_STRAWBERRY\bin in your PATH.

      Cheers,
      Rob
        Your procedure worked. Many thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-19 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found