Problems bundling DBD::mysql using Module::Install::Bundle
am 23.09.2007 01:07:30 von Scotty AllenI'm attempting to automatically bundle DBD::mysql with my Catalyst app
using Module::install::Bundle. However, I'm running into a problem
where the "exit 0" which is called at the end of the DBD::mysql
Makefile.PL is killing the Makefile.PL, because ExtUtils::MakeMaker
calls it using "do", which means it runs as part of the main process.
The following is the stack trace when "exit 0" is called:
require ./Makefile.PL called at
/usr/local/share/perl/5.8.7/ExtUtils/MakeMaker.pm line 200
ExtUtils::MakeMaker::eval_in_x('PACK001=HASH(0x82ae59c)',
'/home/scotty/notewise/old-svn/Notewise/DBD-mysql-4.005') called at
/usr/local/share/perl/5.8.7/ExtUtils/MakeMaker.pm line 187
eval {...} called at
/usr/local/share/perl/5.8.7/ExtUtils/MakeMaker.pm line 187
ExtUtils::MakeMaker::eval_in_subdirs('PACK001=HASH(0x82ae59c )')
called at /usr/local/share/perl/5.8.7/ExtUtils/MakeMaker.pm line 621
ExtUtils::MakeMaker::new('MM', 'PACK001=HASH(0x82ae59c)')
called at /usr/local/share/perl/5.8.7/ExtUtils/MakeMaker.pm line 59
ExtUtils::MakeMaker::WriteMakefile('NAME', 'Notewise',
'DISTNAME', 'Notewise', 'AUTHOR', 'Scotty Allen', 'DIR',
'ARRAY(0xf7ca0f08)', 'dist', ...) called at
/usr/local/share/perl/5.8.7/Module/Install/Makefile.pm line 174
Module::Install::Makefile::write('Module::Install::Makefile= HASH(0x850e220)')
called at /usr/local/share/perl/5.8.7/Module/Install/WriteAll.pm line
37
Module::Install::WriteAll::WriteAll called at Makefile.PL line 66
Is there a reason why this call to "exit" should be there? It doesn't
seem to be common in Makefile.PL's in other modules. Would a patch to
remove it be accepted?
Has anyone successfully bundled DBD::mysql using Module::Install::Bundle?
Thanks,
Scotty
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org