For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > July 2006 > rtfm









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author rtfm
Kermit Tensmeyer

2006-07-29, 6:57 pm

when my Math::Pari fails that is
perl Makefile.PL
make
make test
returns dubious results

I need a pointer (url, perldoc) to show me how to
get finer/more detail info into the tests that are failing

i've got perl "-lblib/lib" "-lblib/arch" t/first.t

i can't really run it under Perl -d but is there someother
method to see what is causing the obstruction?
Tom Phoenix

2006-07-29, 6:57 pm

On 7/29/06, kermit tensmeyer <kermit.nospam.tensmeyer@verizon.net> wrote:
> when my Math::Pari fails


> I need a pointer (url, perldoc) to show me how to
> get finer/more detail info into the tests that are failing
>
> i've got perl "-lblib/lib" "-lblib/arch" t/first.t
>
> i can't really run it under Perl -d but is there someother
> method to see what is causing the obstruction?


It sounds as if you're trying to debug your failed build of
Math::Pari, and Perl's built-in debugger isn't able to step through
the module's low-level (XS or C) code. Is that right?

You may be able to use gdb or a similar debugging tool, but you
shouldn't need to. If Math::Pari's tests are failing for you, it's
probably because it was compiled with a different compiler than your
perl binary was compiled with, or there's another reason it's not
linking to the correct library in the correct way.

If you rebuild and reinstall perl, you should be able to use the same
compiler to build and install Math::Pari. In most cases, the default
configuration will be all you'll need. Good luck with it!

--Tom Phoenix
Stonehenge Perl Training
usenet@DavidFilmer.com

2006-07-29, 6:57 pm

Kermit Tensmeyer wrote:
> when my Math::Pari fails that is


You may be interested in this thread: http://tinyurl.com/f3pp9

--
David Filmer (http://DavidFilmer.com)

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com