Hi Bradley,

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.

On Mon, Jan 4, 2010 at 10:39 PM, Bradley Giesbrecht <[email protected]>wrote:

>
> On Dec 21, 2009, at 11:57 PM, John Cumbers wrote:
>
> Hi,
> Apologies is this list is not the correct one for install help, please
> direct me to the correct one.
> I'm getting the following error when trying to install p5-dbd-mysql with
> the command: sudo port -v install p5-dbd-mysql
>
> make: *** No rule to make target `lib/DBD/mysql/GetInfo.pm', needed by
> `pm_to_blib'.  Stop.
> make: *** Waiting for unfinished jobs....
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-dbd-mysql/work/DBD-mysql-4.013"
> && /usr/bin/make -j2 all " returned error 2
> Command output: make: *** No rule to make target
> `lib/DBD/mysql/GetInfo.pm', needed by `pm_to_blib'.  Stop.
> make: *** Waiting for unfinished jobs....
>
> full error here:  http://pastebin.com/m7c91f8aa
>
> mysql installed fine through MacPorts, runs fine.  I don't understand what
> this error message is telling me,
> thanks in advance,
> John
>
>
> I don't see where you mention which perl you have.
>
> bash-3.2# port installed perl*
> The following ports are currently installed:
>   perl5 @5.8.9_0 (active)
>   perl5.8 @5.8.9_3 (active)
>
> bash-3.2# port installed mysql5*
> The following ports are currently installed:
>   mysql5 @5.0.81_0
>   mysql5 @5.1.41_0 (active)
>   mysql5-server @5.1.41_0 (active)
>
> bash-3.2# port installed p5-dbd-mysql
> The following ports are currently installed:
>   p5-dbd-mysql @4.013_0+mysql5 (active)
>
> Mac OS X 10.5.8 Intel.
>
>
> // Brad
>
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to