Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: cygwin, perl, sdl and problems with cpan

by emcb (Beadle)
on Jan 06, 2003 at 06:42 UTC ( #224566=note: print w/ replies, xml ) Need Help??


in reply to cygwin, perl, sdl and problems with cpan

I've managed to get past the error's with these patches. I've created a new file Makefile.cygwin based upon Makefile.netbsd. As long as you have everything else you need you should be able to build the SDL:: module.

< Makefile.PL.diff >

--- Makefile.PL 2003-01-06 06:25:03.000000000 +0000 +++ Makefile.PL.new 2003-01-06 06:24:45.000000000 +0000 @@ -9,4 +9,5 @@ win => "Makefile.win32", freebsd => "Makefile.freebsd", + cygwin => "Makefile.cygwin", );

< Makefile.cygwin.diff >

--- Makefile.netbsd 2003-01-06 06:13:44.000000000 +0000 +++ Makefile.cygwin 2003-01-06 06:18:47.000000000 +0000 @@ -1,3 +1,3 @@ -#!/usr/bin/env perl +#!/usr/bin/perl -w use strict; @@ -24,7 +24,7 @@ $sdl_libs =~ s/-Wl,-rpath,(\/usr\/pkg)*\ @dirs=( - '/usr/pkg/include', - '/usr/pkg/include/SDL', - '/usr/pkg/include/smpeg', + '/usr/include', + '/usr/include/SDL', + '/usr/include/smpeg', '/usr/X11R6/include', '/usr/X11R6/include/GL', @@ -88,4 +88,5 @@ if ( $ext{GLU}{exists} ) { my %options = ( + 'PERL' => '/usr/bin/perl', 'NAME' => 'SDL_perl', 'VERSION_FROM' => 'SDL.pm',


Comment on Re: cygwin, perl, sdl and problems with cpan
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2014-09-19 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (133 votes), past polls