Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Problems bundling DBD::mysql using Module::Install::Bundle

From: Scotty Allen <scotty(at)scottyallen.com>
Date: Sat Sep 22 2007 - 19:07:30 EDT


I'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

Do you need help?X

        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=lists@pantek.com
Received on Sat Sep 22 21:23:15 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:15:36 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library