-----BEGIN PGP SIGNED MESSAGE----- Moin,
On Friday 20 February 2004 11:56, John Beppu wrote: > [ date ] 2004/02/18 | Wednesday | 07:00 PM > [ author ] Tels <[EMAIL PROTECTED]> > > > Moin, > > > > tried it for the first time (I admit :) and run into troubles. > > My first try as well. :) > > > Second: > > > > [EMAIL PROTECTED]:~/perl/game/sdl-perl/SDL_Perl-2.0.5> perl Build.PL > > Base class package "Module::Build" is empty. > > (Perhaps you need to 'use' the module which defines that package > > first.) at make/lib/SDL/Build.pm line 4 > > BEGIN failed--compilation aborted at make/lib/SDL/Build.pm line 4. > > Compilation failed in require at Build.PL line 7. > > BEGIN failed--compilation aborted at Build.PL line 7. > > I did not get this. `perl Build.PL` worked as expected. I didnt have Module::Build installed, so that was sort of "ok". > > On a different machine with older version already installed I managed, > > but I got test-failures in the TTF tests (something about a > > non-inherited AUTOLOAD beeing deprecated). > > I get these, too. > > I also get this: > > # Tried to use 'SDL::Tool::Font'. > # Error: Can't locate auto/SDL/TTFInit.al in @INC (@INC contains: > ... # Compilation failed in require at ../lib/SDL/Tool/Font.pm line 10. # > BEGIN failed--compilation aborted at ../lib/SDL/Tool/Font.pm line 10. > > I imagine this happens, because I don't have SDL_ttf (the C library) > installed on my system. SDL::Config seems aware of this fact, so > that's good. However, the test cases don't consult SDL::Config > on this matter. > > I've attached a patch to fix this. To apply it, do: > > cd SDL_Perl-2.0.5 > patch -p1 < SDL_ttf_check.patch > > This patch affects t/ttfontpm.t and t/toolfontpm.t . > > > --beppu > > > PS: Is there a reason the BEGIN blocks in the tests > use different formatting compared to the rest of SDL_Perl ? > I picked the indent-8-k&r-ish style, because that's what the > rest of SDL_Perl uses, but all the other BEGIN blocks use a > 2 space indent w/ uncuddled braces on their own line style. The latter style sounds like my style exactly. However, I should have written any patches/additions in the style already present, e.g. the file should not change style part-by-part. Best wishes, Tels - -- Signed on Fri Feb 20 15:42:10 2004 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email. "Now, admittedly, it's critical software. This is the 'let's go kill people' software." -- Mark A. Welsh III -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl. iQEVAwUBQDYdEncLPEOTuEwVAQFP7wf/VdcFUymWU2rr/hU0j8G2q+FKZw3lfD3/ k2saaULdGmo04/thV2D1ITvFxhXh3z1TZFqZoMZb5KqL0Q9WNeGiU59mE2UwD8X9 4kkW3WlXDQLKwCd7Vr1QEgGaFLEHc9PnCKEk/gv1d81BN2Qk/JKDxwLj+IuSU/47 YQ42GL1nOt0YfGyz/8fMyxHD6uGfqcwpIzSh9NLC3bhegvQuBp0xViSN5JeiOATa 1pGBoh4Yaa/oqqrzrp+WfAxfk7TROvNT6UM1+BqJfecwDRMve10lYB529QfWbS+Q LcXC/Ln1k8KQlIQhATbnM5DEzgYsHxmWjFapsafV4fveGEPjdrdbvA== =Wmq9 -----END PGP SIGNATURE-----