Professional Web Applications Themes

Newbie Desperate for Help Installing Math::Pari - PERL Modules

<com> wrote in message .. ..  .. ..  All of the tests seem to be suffering the same failure. What do you get when you run: perl -Mblib t/00_Pari.t (That will hopefully provide more meaningful diagnostics on what goes wrong when the 00_Pari.t tests are run.) Cheers, Rob...

Sponsored Links
  1. #1

    Default Re: Newbie Desperate for Help Installing Math::Pari


    <com> wrote in message
    ..
    .. 
    ..
    .. 

    All of the tests seem to be suffering the same failure. What do you get when
    you run:

    perl -Mblib t/00_Pari.t

    (That will hopefully provide more meaningful diagnostics on what goes wrong
    when the 00_Pari.t tests are run.)

    Cheers,
    Rob


    Sponsored Links
    Sisyphus Guest

  2. #2

    Default Re: Newbie Desperate for Help Installing Math::Pari

    Oh thank you thank you thank you for replying. But I'm afraid the
    result of
    perl -Mblib t/00_Pari.t is a Segmentation fault.
    I've considered just wiping everything out and starting from scratch
    again. Do you think I should do that or is there a way to save it?
    Thanks so much,
    S.O.


    Sisyphus wrote: 
    > .
    > . 
    >
    > All of the tests seem to be suffering the same failure. What do you get when
    > you run:
    >
    > perl -Mblib t/00_Pari.t
    >
    > (That will hopefully provide more meaningful diagnostics on what goes wrong
    > when the 00_Pari.t tests are run.)
    >
    > Cheers,
    > Rob[/ref]

    scoconnell@aol.com Guest

  3. #3

    Default Re: Newbie Desperate for Help Installing Math::Pari


    <com> wrote in message
    news:googlegroups.com... 

    Yuk. No other diagnostic messages ??
     

    Yes, I'd start again from scratch - building by running the commands
    manually (rather than using the automated CPAN procedure). Math::Pari needs
    only to be able to find the Pari-2.3.0 source. There's no need to build
    GP/PARI before trying to build Math::Pari (and I've never tried building
    Math::Pari that way).

    Check the 'README' and 'INSTALL' first, in case there's something that
    you've missed.

    If it still fails in the same way, it's probably best to give us the full
    output of 'perl Makefile.PL ...' (including the actual command you ran).

    Or take up the author's offer outlined in the "Reporting bugs/problems"
    section of the 'README'.

    Cheers,
    Rob



    Sisyphus Guest

  4. #4

    Default Re: Newbie Desperate for Help Installing Math::Pari

    I got so frustrated I had to take some time off with this. But I'm back
    now. Here's the output from the perl Makefile.PL:

    Filtered out versions too new...
    Setting up Math::Pari with Perl 5.008005 on linux version
    2.6.7-1.494.2.2smp;
    cc=gcc, gccversion=3.4.5 20051201 (Red Hat 3.4.5-2),
    ccflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
    -fno-strict-aliasing -pipe -I/usr/local/include -march=i686 -mcpu=i686
    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    ld=gcc, ldflags=' -L/usr/local/lib', optimize='-O2'.
    Found GP/PARI build directory in ../../pari-2.3.0
    (integer-formatted version 2003000).
    ....Will not overwrite libPARI/paricfg.h... (remove it manually if
    needed)
    You may also want to remove libPARI/paricfg.h if your configuration
    changed
    from the time of the first build in this directory...
    ....Processor of family `ix86' detected
    ....I will use assembler build of type 'ix86'.
    Writing Makefile for Math::PARI::libPARI
    Writing Makefile for Math::Pari

    Also, I have been installing it manually because CPAN would never work
    because it couldn't find Pari. So I had to download Pari 2.3.0 then
    download Math::Pari into a subdirectory per the instructions. I've been
    over the Readme and Install a dozen times - not very clear to a newbie.

    When I mentioned doing things from scratch, I meant the whole operating
    system and everything. I've been working on this thing for weeks.

    By the way, your ID doesn't indicate what's it like to work in open
    source, does it?

    Thanks,
    SO


    Sisyphus wrote: 
    >
    > Yuk. No other diagnostic messages ??

    >
    > Yes, I'd start again from scratch - building by running the commands
    > manually (rather than using the automated CPAN procedure). Math::Pari needs
    > only to be able to find the Pari-2.3.0 source. There's no need to build
    > GP/PARI before trying to build Math::Pari (and I've never tried building
    > Math::Pari that way).
    >
    > Check the 'README' and 'INSTALL' first, in case there's something that
    > you've missed.
    >
    > If it still fails in the same way, it's probably best to give us the full
    > output of 'perl Makefile.PL ...' (including the actual command you ran).
    >
    > Or take up the author's offer outlined in the "Reporting bugs/problems"
    > section of the 'README'.
    >
    > Cheers,
    > Rob[/ref]

    scoconnell@aol.com Guest

  5. #5

    Default Re: Newbie Desperate for Help Installing Math::Pari


    <com> wrote in message
    news:googlegroups.com... 

    And it still builds fine and segfaults when the tests are run ?

    Try:

    make clean
    perl Makefile.PL machine=none
    make test

    Other than that, contacting the author might be your best shot.
    He might even reply here to your post.

    Cheers,
    Rob


    Sisyphus Guest

  6. #6

    Default Re: Newbie Desperate for Help Installing Math::Pari

    Thanks for your quick reply, Rob. I did 
    and got similar output but a more explicit error:
    ERROR from evaluation of
    /usr/local/src/pari-2.3.0/Math-Pari-2.010706/libPARI/Makefile.PL: Do
    not know how to process MakeLVL1.SH at utils/Math/Paribuild.pm line 892

    I had tried to install and compile Pari 2.3.0 previously - was that a
    mistake? Do I need to remove it? And if so how?

    I looked around to see if I could find that error elsewhere and
    couldn't find much. Just another guy on a Mac who's having the same
    problem.
    Thanks,
    S.O.

    scoconnell@aol.com Guest

  7. #7

    Default Re: Newbie Desperate for Help Installing Math::Pari

    com writes:

    You should use the same versions for pari library and Pari modul to
    obtain the best results. So for Math-Pari-2.010706 get pari-2.1.7 source
    and put in the Math-Pari installation directory. Then compile.

    There is some info regarding problems with installation on rt.cpan.org.

    --
    Radek
    rahed Guest

  8. #8

    Default Re: Newbie Desperate for Help Installing Math::Pari

    [A complimentary Cc of this posting was sent to
    Sisyphus
    <afraid.org>], who wrote in article <44fa2306$0$11970$optusnet.com.au>: 
     

    Nope, machine=none won't work with 2.3.0 and the released version of
    Math::Pari. It works with machine=none in my private version. I can
    release it if somebody want to build with 2.3.0 (which is not a
    supported configuration yet) and machine=none is OK for them; it won't
    work machine=sparc*, so I wanted to play with it more before the
    release.

    Hope this helps,
    Ilya
    Ilya Guest

  9. #9

    Default Re: Newbie Desperate for Help Installing Math::Pari

    Oh thank you so much. I got it installed. That was such a dumb newbie
    mistake - but I probably never would have caught it on my own.
    S.O.

    scoconnell@aol.com Guest

Similar Threads

  1. Math::Pari 'factor' is wrong
    By gamo in forum PERL Modules
    Replies: 8
    Last Post: March 18th, 11:36 AM
  2. Segmentation violation in Math:Pari when used in connection with
    By Joern Wuestenfeld in forum PERL Modules
    Replies: 0
    Last Post: February 2nd, 09:18 AM
  3. Math-Pari-2.010501- make - cannot exec 'cc1'
    By Joyce Riddle in forum PERL Modules
    Replies: 1
    Last Post: September 27th, 01:02 AM
  4. Replies: 4
    Last Post: December 19th, 07:09 AM
  5. Math::Pari and libsunmath.so.1 - is it really required?
    By Jussi Mononen in forum PERL Modules
    Replies: 4
    Last Post: December 17th, 06:33 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139