p5-dbd-mysql make: *** No rule to make target `lib/DBD/mysql/GetInfo.pm', needed by `pm_to_blib'. Stop.

John Cumbers johncumbers at gmail.com
Thu Jan 7 23:59:02 PST 2010


Ryan,
Apologies for getting back to your late:

port contents p5-dbd-mysql shows this:

Port p5-dbd-mysql contains:
  /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/DBD/mysql/.packlist
  /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/DBD/mysql/
mysql.bs
  /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/DBD/mysql/mysql.bundle
  /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/Bundle/DBD/mysql.pm
  /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/DBD/mysql/GetInfo.pm
  /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/DBD/mysql/INSTALL.pod
  /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/DBD/mysql.pm
  /opt/local/share/man/man3/Bundle::DBD::mysql.3pm.gz
  /opt/local/share/man/man3/DBD::mysql.3pm.gz
  /opt/local/share/man/man3/DBD::mysql::INSTALL.3pm.gz

and the full error message, showing @INC contents is here:

TI/Cleanup\ At\ Startup/XML_to_MySQL.2.0.test-284367500.766.pl.command ;
exit;
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC
contains: /Users/johncumbers/Documents/7 Scripts/Perl/XML_to_MySQL
/Library/Perl/Updates/5.10.0
/System/Library/Perl/5.10.0/darwin-thread-multi-2level
/System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level
/Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level
/Network/Library/Perl/5.10.0 /Network/Library/Perl
/System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.10.0 .) at (eval 4) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge.
 at /Users/johncumbers/Documents/7 Scripts/Perl/XML_to_MySQL/
XML_to_MySQL.2.0.test.pl line 19
logout

any help appreciated,
cheers,
John



On Tue, Jan 5, 2010 at 12:40 AM, Ryan Schmidt <ryandesign at macports.org>wrote:

> On Jan 5, 2010, at 01:42, John Cumbers wrote:
>
> > the install is now fixed thanks to clean and reinstall, but, I'm still
> getting the same error from the perl script that I'm trying to run (below),
> I think it may be the perl path is not set for the modules.
> >
> > I have these installed:
> >    perl5 @5.8.9_0 (active)
> >   perl5.10 @5.10.1_0+darwin (active)
> >   perl5.8 @5.8.9_3 (active)
> >
> > I will investigate tomorrow, unless anything jumps out at you...
> > thanks,
> > John
> >
> >
> > install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC
> contains:
> > ..
> > Perhaps the DBD::mysql perl module hasn't been fully installed,
> > or perhaps the capitalisation of 'mysql' isn't right.
> > Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge.
>
> What does @INC contain? What does "port contents p5-dbd-mysql" say?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100107/865fa9d1/attachment.html>


More information about the macports-users mailing list