Opened 14 years ago

Last modified 14 years ago

#23136 closed defect

p5-dbd-mysql build error — at Version 1

Reported by: johncumbers@… Owned by: narf_tm@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: p5-dbd-mysq mysql perl dbd Cc: ryandesign@…
Port: p5-dbd-mysq

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi,

I'm getting this build error for p5-dbd-mysql, I'm on OSX 10.6,

I've listed what I already have installed at the bottom, thanks, John

sudo port -v install p5-dbd-mysql

--->  Computing dependencies for p5-dbd-mysql.
--->  Building 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....

Warning: the following items did not execute (for p5-dbd-mysql): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

I already have installed the correct dependencies, as I thought this may have been a problem:

Dependencies: mysql5 perl5 p5-dbi
mysql5 - yes.
mysql5 @5.1.41_0 (active)

perl5:
  perl5 @5.8.9_0 (active)
  perl5.10 @5.10.1_0+darwin (active)
  perl5.8 @5.8.9_3 (active)

p5-dbi
  p5-dbi @1.609_0 (active)

Change History (1)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to narf_tm@…

Please ensure you have MacPorts 1.8.2 by running:

sudo port selfupdate

Then clean p5-dbd-mysql and install it again from the beginning with debug output:

sudo port clean p5-dbd-mysql
sudo port -d install p5-dbd-mysql 2>&1 | tee ~/Desktop/p5-dbd-mysql.txt

Assuming it still fails, attach p5-dbd-mysql.txt from your desktop to this ticket so we can see what's really happening.

Note: See TracTickets for help on using tickets.