Hello,

I am trying to install SDL_Perl-2.1.3 and I get this:

monkey2000:~/build/SDL_Perl-2.1.3 hinrichs$ uname -a
Darwin 8.5.0 Darwin Kernel Version 8.5.0: Sun Jan 22 10:38:46 PST 2006; root:xnu-792.6.61.obj~1/RELEASE_PPC Power Macintosh powerpc

monkey2000:~/build/SDL_Perl-2.1.3 hinrichs$ perl Build.PL
Checking whether your kit is complete...
Looks good
Can't use an undefined value as an ARRAY reference at make/lib/SDL/ Build.pm line 153.

I did a bit of poking around in the Build.PL script - it looks like $links which is initialized at this line, line 134 -
my $links         = $arch->build_links( \%libraries, $build_systems );

has a member $links->{$subsystem}{libs} which is coming out undef for subsystem SFont. Hence, at this line in SDL_Perl-2.1.3/make/lib/SDL/ Build.pm

                        extra_linker_flags =>
                        [
                                @{ $links->{$subsystem}{paths} },
                                split(' ',$sdl_link),
                   ---->        @{ $links->{$subsystem}{libs} },
                        ],

- it's getting an ARRAY dereference error because $links->{SFont} {libs} undef. I already installed SDL_ttf-2.0.7 via Mac OS X .pkg installer from libsdl.org. If a requisite lib is not found, shouldn't there be a warning...?


Please let me know if I can provide any further information (or if I'm doing something wrong).

Chris H.

Reply via email to