On 2/7/2004 8:43 AM -0800, Michael Peppler wrote: > On Fri, 2004-02-06 at 23:13, Dave Miller wrote: >> I am trying to install DBI 1.40 on Perl 5.8.2 on a Fedora Core 1 machine, >> Perl 5.8.2 is installed from SRPM. >> >> It compiles, but make test hangs after the following output: >> >> t/05thrclone...........ok 1/10Usage: DBI::_clone_dbis() at t/05thrclone.t >> line 46. >> # Looks like you planned 10 tests but only ran 1. >> # Looks like your test died just after 1. >> >> >> DBI 1.40 installs just fine on Perl 5.8.1 on the same machine. Anyone have >> any ideas? > > Fedora's perl build is done with -DDEBUGGING, and that causes DBI's > thrclone call to fail. This is documented in DBI's README, IIRC.
Hmm, I don't see it (didn't remember seeing it before, but I went to look again just to be sure before saying so). Don't see it in the pod docs, either. Interestingly enough, Perl 5.8.1 is the one that came with Fedora, and DBI worked on that one. The 5.8.2 is the one I built myself from SRPM, but yes, it does say it was built with -DDEBUGGING. So going on that, I rebuilt the Perl SRPM without -g in the optimization flags (it turns out Perl's Configure automatically adds -DDEBUGGING if you have -g), and that did indeed allow DBI to pass tests. Thanks! -- Dave Miller Project Leader, Bugzilla Bug Tracking System http://www.justdave.net/ http://www.bugzilla.org/
