Thurn, Martin:
> cp HandEvaluator.pm blib/lib/Games/Poker/HandEvaluator.pm
> /usr/local/bin/perl5.9.1 /usr/local/lib/perl5/5.9.1/ExtUtils/xsubpp -typemap
> /usr/local/lib/perl5/5.9.1/ExtUtils/typemap HandEvaluator.xs > HandEvaluator.xsc &&
> mv HandEvaluator.xsc HandEvaluator.c
> Please specify prototyping behavior for HandEvaluator.xs (see perlxs manual)
> gcc -c -I. -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
> -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g
> -DVERSION=\"1.1\" -DXS_VERSION=\"1.1\" -fPIC
> "-I/usr/local/lib/perl5/5.9.1/sun4-solaris/CORE" HandEvaluator.c
> HandEvaluator.xs:7:24: poker_defs.h: No such file or directory
> HandEvaluator.xs:9:26: inlines/eval.h: No such file or directory
> HandEvaluator.xs:10:22: deck_std.h: No such file or directory
> HandEvaluator.xs:11:23: rules_std.h: No such file or directory
> HandEvaluator.xs:13: parse error before "StdDeck_CardMask"
Yeah, it probably won't work if you don't install the C library it depends on.
Sadly we don't have a good way to declare dependencies on C libraries, so
doing automated tests on this module is a bit silly.
Still, it's better than no tests.
--
"Which you then convert to gold, non-perishable food, firearms, good liquor &
a secluded hideaway in the last of the internet official protocol standards"
-- Megahal (trained on asr), 1998-11-05