Hello! After downloading/unpacking the SDL dist, try adding the following line to the top of inc/My/Builder/Darwin.pm:
use File::Spec::Functions qw(rel2abs); and let us know how the build goes. If it still fails, please let us know the output of: * perl -V (note capital V) * set | grep -e SDL -e PERL * perl -MData::Dumper -MAlien::SDL -E 'say Dumper(Alien::SDL->config(q(libs))); say Dumper(Alien::SDL->config(q(ld_shlib_map)))' Thanks! On Sat, Jun 3, 2017 at 7:52 PM pmesa1 <paul.m...@gmail.com> wrote: > Hello, > > I need SDL for a project that I am working on however I am unable to > install it because when I run Build.pl I receive an error "Undefined > subroutine &My::Builder::Darwin::rel2abs called at inc/My/Builder/Darwin.pm > line 115.". The same thing happens when I install using cpan or manually. > I don’t know where to go from here so any help would be appreciated. Thank > you. > > Best, > > Paul >