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',

In reply to Re: cygwin, perl, sdl and problems with cpan by emcb
in thread cygwin, perl, sdl and problems with cpan by parasew

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.