Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

No DB::DB routine defined

by chicks (Scribe)
on Oct 05, 2003 at 18:11 UTC ( [id://296743]=perlquestion: print w/replies, xml ) Need Help??

chicks has asked for the wisdom of the Perl Monks concerning the following question:

I have googled. I have looked around the monk site. I've twiddled read-only files. Nothing has helped me get past this except some kind monk out there (you?) with the answer. I hope.
[chicks@chicks nws_ahps]$ perl -d:GraphVizProf random.cgi > random.dot No DB::DB routine defined at /usr/lib/perl5/5.8.0/i386-linux-thread-mu +lti/Time/HiRes.pm line 4. BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/i386-linux-t +hread-multi/Time/HiRes.pm line 4. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/Devel/ +GraphVizProf.pm line 9. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/De +vel/GraphVizProf.pm line 9. Compilation failed in require. BEGIN failed--compilation aborted.
All I want is a subroutine calling hierarchy for a script I'm stuck fixing. It doesn't seem like too much to ask. I'm trying to do this on a Red Hat 8 system with the stock perl-5.8.0-55 rpm. I might assume it's Red Hat breaking Perl again except that google shows BSD people having trouble with OpenLDAP getting the same message.

Any ideas?

Replies are listed 'Best First'.
Re: No DB::DB routine defined
by BrowserUk (Patriarch) on Oct 05, 2003 at 21:18 UTC

    This sounds very similar to a problem reported with Devel::SmallProf at A substitute for Devel::Smallprof?. That too was a profiling module, reported the "No DB::DB" problem and involved Time::HiRes.

    I posted a workaround patch for SmallProf which might point a way to work around the problem with GraphVizProf.pm and the author of the module released a new version which fixed it properly.

    I couldn't get to CPAN to check if this might be a similar problem with GraphVizProf, I'm not sure why, but I'll update if/when I do manage to get there.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
    If I understand your problem, I can solve it! Of course, the same can be said for you.

Re: No DB::DB routine defined
by kutsu (Priest) on Oct 05, 2003 at 19:02 UTC

    Please post your code (esp. lines 1 - 9), but at a guess check your prepare statement

    "Pain is weakness leaving the body, I find myself in pain everyday" -me

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://296743]
Approved by jdtoronto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-04-23 10:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found