in reply to Re: Math::Pari when pari is already installed
in thread Math::Pari when pari is already installed

yes i have tried this also But it is not working.Any other solutions,
  • Comment on Re^2: Math::Pari when pari is already installed

Replies are listed 'Best First'.
Re^3: Math::Pari when pari is already installed
by Anonymous Monk on Sep 22, 2007 at 09:42 UTC
    cut/paste what you tried along with screen output
      See what i have done
      debian:/dk/Math-Pari-2.010709# perl Makefile.PL -q INC="-I/usr/include/pari" parilib="-L/usr/lib -lpari" Setting up Math::Pari with Perl 5.008008 on linux version 2.6.18.3;

      cc=cc, ccflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
      ld=cc, ldflags=' -L/usr/local/lib', optimize='-O2'.
      Trying to use existing PARI library (at -L/usr/lib -lpari)
      (fake integer-formatted version 2003002).
      Warning: Guessing NAME libPARI from current directory name.
      Writing Makefile for Math::Pari
      debian:/dk/Math-Pari-2.010709# make
      make1: Entering directory `/dk/Math-Pari-2.010709/libPARI'
      make1: Nothing to be done for `all'.
      make1: Leaving directory `/dk/Math-Pari-2.010709/libPARI'
      cc -c -I/usr/include/pari -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.010709\" -DXS_VERSION=\"2.010709\" -fPIC "-I/usr/lib/perl/5.8/CORE" Pari.c
      Pari.xs: In function ‘installep’:
      Pari.xs:288: warning: initialization makes pointer from integer without a cast
      Pari.xs: In function ‘my_gpui’:
      Pari.xs:321: error: ‘prec’ undeclared (first use in this function)
      Pari.xs:321: error: (Each undeclared identifier is reported only once
      Pari.xs:321: error: for each function it appears in.)
      Pari.xs: In function ‘PARIvar’:
      Pari.xs:348: error: ‘functions_hash’ undeclared (first use in this function)
      Pari.xs:348: warning: assignment makes pointer from integer without a cast
      Pari.xs:350: error: ‘EpVAR’ undeclared (first use in this function)
      Pari.xs: In function ‘findVariable’:
      Pari.xs:468: error: ‘functions_hash’ undeclared (first use in this function)
      Pari.xs:468: warning: assignment makes pointer from integer without a cast
      Pari.xs:471: error: ‘EpVAR’ undeclared (first use in this function)
      Pari.xs: At top level:
      Pari.xs:643: warning: initialization from incompatible pointer type
      Pari.xs:644: warning: initialization from incompatible pointer type
      Pari.xs: In function ‘setprecision’:
      Pari.xs:915: error: ‘prec’ undeclared (first use in this function)
      Pari.xs: In function ‘exprHandler_Perl’:
      Pari.xs:1297: error: ‘LSB_in_U32’ undeclared (first use in this function)
      Pari.xs: In function ‘fill_argvect’:
      Pari.xs:1451: error: ‘EpVAR’ undeclared (first use in this function)
      Pari.xs:1466: error: ‘LSB_in_U32’ undeclared (first use in this function)
      Pari.xs:1479: error: ‘prec’ undeclared (first use in this function)
      Pari.xs: In function ‘to_int’:
      Pari.xs:1599: error: ‘t_SMALL’ undeclared (first use in this function)
      Pari.xs: In function ‘XS_Math__Pari_interface0’:
      Pari.xs:1966: error: ‘prec’ undeclared (first use in this function)
      Pari.xs: In function ‘XS_Math__Pari_interface1’:
      Pari.xs:1999: error: ‘prec’ undeclared (first use in this function)
      Pari.xs: In function ‘XS_Math__Pari_interface199’:
      Pari.xs:2022: error: ‘prec’ undeclared (first use in this function)
      Pari.xs: In function ‘XS_Math__Pari_interface29’:
      Pari.xs:2266: error: ‘prec’ undeclared (first use in this function)
      Pari.xs: In function ‘XS_Math__Pari_interface5’:
      Pari.xs:2346: error: ‘prec’ undeclared (first use in this function)
      Pari.c: In function ‘XS_Math__Pari_interface22’:
      Pari.c:2994: error: ‘LSB_in_U32’ undeclared (first use in this function)
      Pari.c: In function ‘XS_Math__Pari_interface27’:
      Pari.c:3152: error: ‘LSB_in_U32’ undeclared (first use in this function)
      Pari.xs:2565: error: ‘prec’ undeclared (first use in this function)
      Pari.c: In function ‘XS_Math__Pari_interface28’:
      Pari.c:3195: error: ‘LSB_in_U32’ undeclared (first use in this function)
      Pari.xs: In function ‘XS_Math__Pari_interface33’:
      Pari.xs:2682: error: ‘prec’ undeclared (first use in this function)
      Pari.c: In function ‘XS_Math__Pari_interface37’:
      Pari.c:3465: error: ‘LSB_in_U32’ undeclared (first use in this function)
      Pari.xs:2737: error: ‘prec’ undeclared (first use in this function)
      Pari.c: In function ‘XS_Math__Pari_interface47’:
      Pari.c:3507: error: ‘LSB_in_U32’ undeclared (first use in this function)
      Pari.c: In function ‘XS_Math__Pari_interface48’:
      Pari.c:3549: error: ‘LSB_in_U32’ undeclared (first use in this function)
      Pari.c: In function ‘XS_Math__Pari_interface49’:
      Pari.c:3600: error: ‘LSB_in_U32’ undeclared (first use in this function)
      Pari.c: In function ‘XS_Math__Pari_interface83’:
      Pari.c:3641: error: ‘LSB_in_U32’ undeclared (first use in this function)
      Pari.c: In function ‘XS_Math__Pari_interface84’:
      Pari.c:3675: error: ‘LSB_in_U32’ undeclared (first use in this function)
      Pari.c: In function ‘XS_Math__Pari_interface73’:
      Pari.c:3869: error: ‘LSB_in_U32’ undeclared (first use in this function)
      Pari.xs:2972: error: ‘prec’ undeclared (first use in this function)
      Pari.c: In function ‘XS_Math__Pari_interface86’:
      Pari.c:3916: error: ‘LSB_in_U32’ undeclared (first use in this function)
      Pari.c: In function ‘XS_Math__Pari_interface87’:
      Pari.c:3951: error: ‘LSB_in_U32’ undeclared (first use in this function)
      Pari.xs: In function ‘XS_Math__Pari_loadPari’:
      Pari.xs:3320: error: ‘functions_hash’ undeclared (first use in this function)
      Pari.xs:3320: warning: assignment makes pointer from integer without a cast
      Pari.xs:3340: error: ‘EpUSER’ undeclared (first use in this function)
      Pari.xs: In function ‘XS_Math__Pari_listPari’:
      Pari.xs:3502: error: ‘functions_basic’ undeclared (first use in this function)
      Pari.xs:3510: error: ‘functions_highlevel’ undeclared (first use in this function)
      Pari.c: In function ‘XS_Math__Pari_pari_version_exp’:
      Pari.c:5027: error: ‘PARI_VERSION_EXP’ undeclared (first use in this function)
      Pari.xs: In function ‘boot_Math__Pari’:
      Pari.xs:3601: error: ‘INIT_JMP_off’ undeclared (first use in this function)
      Pari.xs:3602: error: ‘INIT_SIG_off’ undeclared (first use in this function)
      Pari.xs:3611: error: ‘pari_modules’ undeclared (first use in this function)
      Pari.xs:3612: error: ‘functions_highlevel’ undeclared (first use in this function)
      Pari.xs:3612: error: ‘helpmessages_highlevel’ undeclared (first use in this function)
      Pari.xs:3633: error: ‘foreignHandler’ undeclared (first use in this function)
      Pari.xs:3634: error: ‘foreignAutoload’ undeclared (first use in this function)
      Pari.xs:3635: error: ‘foreignExprSwitch’ undeclared (first use in this function)
      Pari.xs:3636: error: ‘foreignExprHandler’ undeclared (first use in this function)
      Pari.xs:3637: error: ‘foreignFuncFree’ undeclared (first use in this function)
      make: *** Pari.o Error 1