Trouble with SDL-Perl 2.1.3 Build process

[email protected] ("Turd Turtle")
Newsgroups perl.sdl.devel
Message-ID <[email protected]>
Hi there,

I am having trouble building SDL Perl 2.1.3.

When I run:

[ 408 ] SDL_Perl-2.1.3 -: perl Build.PL
Checking whether your kit is complete...
Looks good

Checking prerequisites...
Looks good

Can't use an undefined value as an ARRAY reference at make/lib/SDL/Build.pm
line 154.



I am not sure what is wrong...  here is the offending section of code from
make/lib/SDL/Build.pm :

# save this all in a format process_xs() can understand
sub set_flags
{
       my ($self, $subsystems, $build, $defines, $includes, $links,
           $sdl_compile, $sdl_link) = @_;

       my %file_flags;

       while (my ($subsystem, $buildable) = each %$build)
       {
               my $sub_file     = $subsystems->{$subsystem}{file}{to};
               my $sub_includes = join(' ', @{ $includes->{$subsystem} } );

               $file_flags{ $sub_file } =
               {
                       extra_compiler_flags =>
                       [
                               @{ $includes->{$subsystem} },
                               split(' ',$sdl_compile),
                               @{ $defines->{$subsystem} },
                               ( defined $Config{usethreads} ?
('-DUSE_THREADS', '-fPIC') : '-fPIC' ),
                       ],
                       extra_linker_flags =>
                       [
                               @{ $links->{$subsystem}{paths} },
                               split(' ',$sdl_link),
### LINE 154 HERE: ####         @{ $links->{$subsystem}{libs} },
                       ],
               },
       }

       $self->notes( 'file_flags' => \%file_flags );
}

I am a novice at Perl and would appreciate any help.. what is wrong?

Thanks alot!
Rich
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.