Convenient that I just ran into this problem. It appears that the module will attempt 
to download the source for PARI if it can't find it, but it appears that the module 
can't find that source from the PARI site.  As to why I have no idea, but if you go to 
the ftp site manually (ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/) and download 
the source tar ball and then unpack it somewhere near where your perl is installed it 
will find it and build the module for you.  For instance I was building my modules in 
my home directory and installing them to ~/rearch/lib, I unpacked PARI in my home 
directory ~/pari-2.1.4 and it successfully found the headers it needed and installed 
properly.

As to whether this will work on Mac OS X I can't say, I was installing on a solaris 
box and my poor little lap top is without a net connection right now so I can't test 
it.  Mac OS X is BSDish enough that there is a good chance it will work, but the 
readme in the Mac dir at the FTP site says Macs are no longer maintained, whether this 
includes X is probably up in the air.  However it is my understanding that it is only 
using the headers as reference material so there is a chance perl will be smart enough 
to correct itself for the X platform....

Good luck,

http://danconia.org


------------------------------------------------
On Tue, 3 Dec 2002 10:34:18 -0600, "Christopher D. Lewis" <[EMAIL PROTECTED]> 
wrote:

> 
> On Monday, December 2, 2002, at 10:59  PM, Ken Williams wrote:
> > On Monday, December 2, 2002, at 04:47  PM, Christopher D. Lewis wrote:
> >> On Sunday, December 1, 2002, at 05:49  PM, Ken Williams wrote:
> >>> The error messages below aren't helpful, they just say that there  
> >>> were error messages in a previous run.  In the CPAN shell, do 'clean  
> >>> Math::Pari' and then 'test Math::Pari' to see the real error  
> >>> messages.
> >> This may look lame, but I am new enough to lack even rudimentary  
> >> troubleshooting (besides installing modules when an error says "can't  
> >> find Module X".  The error I get when followign your prescription is:
> >> [looking good up to ...]
> >> Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/
> >> Cannot list ():  at utils/Math/PariBuild.pm line 167, <> line 1.
> >> Running make test
> >>   Make had some problems, maybe interrupted? Won't test
> >
> > I still don't understand your message - what do you mean "[looking  
> > good up to ...]"?
> 
> Sorry, the output from the command to test follows.
> Many thanks for looking,
>       Chris
> 
> ---begin copy---
> cpan> test Math::Pari
> Running test for module Math::Pari
> Running make for I/IL/ILYAZ/modules/Math-Pari-2.010305.tar.gz
> Checksum for  
> /Volumes/Storage/cpan/sources/authors/id/I/IL/ILYAZ/modules/Math-Pari- 
> 2.010305.tar.gz ok
> Math-Pari-2.010305
> Math-Pari-2.010305/utils
> Math-Pari-2.010305/utils/Math
> Math-Pari-2.010305/utils/Math/PariBuild.pm
> Math-Pari-2.010305/utils/paridoc_to_pod
> Math-Pari-2.010305/utils/notes
> Math-Pari-2.010305/utils/README
> Math-Pari-2.010305/utils/inc.h
> Math-Pari-2.010305/utils/chap3_to_pod
> Math-Pari-2.010305/utils/comp_funcs.pl
> Math-Pari-2.010305/utils/foncpari.pl
> Math-Pari-2.010305/typemap
> Math-Pari-2.010305/libPARI
> Math-Pari-2.010305/libPARI/extract_codes.pl
> Math-Pari-2.010305/libPARI/codes_2014
> Math-Pari-2.010305/libPARI/expected_codes
> Math-Pari-2.010305/libPARI/gphelp
> Math-Pari-2.010305/libPARI/Makefile.PL
> Math-Pari-2.010305/Pari.xs
> Math-Pari-2.010305/test_eng
> Math-Pari-2.010305/test_eng/ex.t
> Math-Pari-2.010305/test_eng/Testout.pm
> Math-Pari-2.010305/Makefile.PL
> Math-Pari-2.010305/PariInit.pm
> Math-Pari-2.010305/README
> Math-Pari-2.010305/patches
> Math-Pari-2.010305/patches/diff_2.1.3_interface
> Math-Pari-2.010305/patches/diff_2.2.2_interface
> Math-Pari-2.010305/patches/diff_pari-2.1.3-ix86-divl
> Math-Pari-2.010305/patches/diff_2.1.2_gccism
> Math-Pari-2.010305/t
> Math-Pari-2.010305/t/Pari.t
> Math-Pari-2.010305/t/PlotRect.t
> Math-Pari-2.010305/TODO
> Math-Pari-2.010305/Pari.pm
> Math-Pari-2.010305/MANIFEST
> Math-Pari-2.010305/INSTALL
> Math-Pari-2.010305/Changes
> Removing previously used /Volumes/Storage/cpan/build/Math-Pari-2.010305
> 
>    CPAN.pm: Going to build I/IL/ILYAZ/modules/Math-Pari-2.010305.tar.gz
> 
> Did not find GP/PARI build directory around.
> Do you want to me to fetch GP/PARI automatically?
>    (If you do not, you will need to fetch it manually, and/or direct me  
> to
>     the directory with GP/PARI source via the command-line option  
> paridir=/dir)
> Make sure you have a large scrollback buffer to see the messages.
> Fetch? (y/n, press Enter) y
> Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/
> Cannot list ():  at utils/Math/PariBuild.pm line 167, <> line 1.
> Running make test
>    Make had some problems, maybe interrupted? Won't test
> ---end copy---
> 

Reply via email to