![]() |
|
#1
|
|||
|
|||
|
One more for you guys.
Any chance you can help me figure out why the 'make test' on 'Math::Pari' is failing?Quote:
|
|
#2
|
|||
|
|||
|
Quote:
Perhaps try installing the Gnuplot perl module first?
|
|
#3
|
|||
|
|||
|
My reason for not tyring to install gnuplot first is that the test failed before it got to that point. (or so it seems) Anyway, I tried installing the gnuplot module, but without much luck.
Quote:
|
|
#4
|
|||
|
|||
|
Quote:
Weird. Either way, it's not necessary, per se. You see, the test just called for the gnuplot.pm, which is a perl script, which you can manually add to your @INC. Check out search.cpan.org and grab a copy, put it in your @INC. Even better, just ignore it. Since you don't have gnuplot, you won't be using it, and thus won't be relying on that functionality.
|
|
#5
|
|||
|
|||
|
I tried just dropping Gnuplot.pm into my @INC, but that caused more errors with Math::Pari. I'm not sure what the deal is, but it looks like I have to build Gnuplot.
The reason all this began is that I need to install Crypt::OpenPGP. OpenPGP said it required Math::Pari, which in turn looked for Term::Gnuplot. What is strange to me is that the test box I have doesn't have Pari or Gnuplot installed, but Crypt::OpenPGP is there and working fine. Any other suggestions you can offer are much appreciated. Thanks again for all of your help.
|
|
#6
|
|||
|
|||
|
Have you tried installing it using CPAN?
|
|
#7
|
|||
|
|||
|
Quote:
perl -MCPAN -e shell then install math: ari ...and it'll grab all its dependencies along the way.
|
|
#8
|
|||
|
|||
|
Yup, I've tried CPAN. Part of the problem is that the default compiler on the box is cc. gcc is installed, but all the modules by default try to compile with cc, which presents a problem in itself.
I'm not sure what the problem is. The build of Math::Pari doesn't seem to be failing because of a dependency. I don't know, I'll keep trying stuff. Thanks again for the help. Last edited by risc427; 01-03-2004 at 06:39 PM..
|
|
#9
|
|||
|
|||
|
make a symlink called 'cc' that points to gcc and make sure it's towards the front of your path. problem solved.
|
|
#10
|
|||
|
|||
|
You could also try setting the CPAN make_arg to "CC=gcc", or adding it to make_arg if something's already there. To do that, either start up a CPAN shell and do "o conf init", which will wipe your current configuration, or just manually change the line in ~/.cpan/CPAN/MyConfig.pm. If you do the former, you'll be interested in the prompt along the lines of "arguments to make".
That'll just make CPAN run "make CC=gcc" instead of plain "make", which should do the trick.
|
|
#11
|
|||
|
|||
|
Thanks guys. I'll point cpan to gcc on monday.
|
|
#12
|
|||
|
|||
|
Well I set CPAN to use gcc and still no luck. Either way I build it (CPAN or manually) the make test fails every time. Here's the output...
Quote:
|
|
#13
|
|||
|
|||
|
You might want to try doing "force install Math::Pari". It looks like only 1 of 824 tests actually failed, so it could just be a bug in that test related to your particular version of AIX. "force" should install it even if the tests fail. Maybe send a bug report to the maintainer.
|
![]() |
| Thread Tools | Search this Thread |
|
|