Crypt::OpenPGP requires Math::Pari, and Math::Pari hangs during 
execution of Makefile.PL.  Ilya, who owns the latter module, is pointing 
fingers at perl-darwin.  I'm out of my depth trying to troubleshoot 
Makefile.PL.

Math::Pari depends on the pari library, which does compile (I'm using 
2.1.2).  Makefile.PL later seems to be stalling on this bit:

   my $cmd = "$Config{cpprun} $Config{cppflags} utils/inc.h 2>&1";
   open INC, "$cmd |" or warn("Error $! from: $cmd\n"), return;

$cmd resolves to:

   cc -E -g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace
   -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing utils/inc.h 2>&1

and utils/inc.h looks like this:  

   #include <unistd.h>
   #include <stdarg.h>
   #include <setjmp.h>
   #include <signal.h>
   #include <stdio.h>
   #include <string.h>
   #include <math.h>
   #include <ctype.h>
   #include <sys/types.h>
   #include <sys/time.h>
   #include <memory.h>
   #include <sys/resource.h>
   
   int x;
   int y = CLK_TCK * x;

Is this as simple as incorrect flags to cc?  Insight or further 
questions would be much appreciated.

  -nat

Reply via email to