Subject: | build failure when YAML is not installed |
Module::Build will install without YAML, however it won't run---at least
not the way SDL_Perl uses Module::Build.
CPAN.pm: Going to build D/DA/DAGOLDEN/Module-Build-0.35.tar.gz
Checking whether your kit is complete...
Looks good
Checking prerequisites...
* Optional prerequisite Module::Signature is not installed
* Optional prerequisite Pod::Readme is not installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the
versions
of the modules indicated above before proceeding with this installation
Checking features:
manpage_support....enabled
YAML_support.......disabled
- YAML is not installed
C_support..........enabled
HTML_support.......enabled
Creating new 'Build' script for 'Module-Build' version '0.35'
... and then later, when SDL_Perl tries to run Module::Build:
Running make for K/KT/KTHAKORE/SDL_Perl-v2.2.2.17.tar.gz
CPAN.pm: Going to build K/KT/KTHAKORE/SDL_Perl-v2.2.2.17.tar.gz
Can't locate YAML.pm in @INC (@INC contains: ../ make/lib
/Users/troc/projects/poe/poe/lib
/Users/troc/projects/poco-client-keepalive/lib
/Users/troc/projects/poco-client-dns/lib
/Users/troc/projects/poco-client-ping/lib
/Users/troc/projects/poco-client-http/lib
/Users/troc/projects/repo-tools/lib /Users/troc/projects/lex-per/lib
/Users/troc/projects/poe/poe-test-loops/lib
/sw/perl/5a0/lib/darwin-thread-multi-2level /sw/perl/5a0/lib
/sw/perl/5a0/site-lib/darwin-thread-multi-2level /sw/perl/5a0/site-lib
.) at Build.PL line 15, <DATA> line 642.
BEGIN failed--compilation aborted at Build.PL line 15, <DATA> line 642.
Warning: No success on command[/sw/perl/5a0/bin/perl Build.PL ]
KTHAKORE/SDL_Perl-v2.2.2.17.tar.gz
/sw/perl/5a0/bin/perl Build.PL -- NOT OK
Running Build test
Make had some problems, won't test
Running Build install
Make had some problems, won't install
Failed during this command:
KTHAKORE/SDL_Perl-v2.2.2.17.tar.gz : writemakefile NO
'/sw/perl/5a0/bin/perl Build.PL ' returned status 512
cpan[3]>