Hello Guru's:

Make fails on both version 1.18 and 1.19. I am trying to install this

to speed up Net::SSH:

erl, since that is unbearably slow with the

pure perl libraries, or even Math::BigInt:

ari, or

Math::BigInt::FastCalc. here is what I get when I run make:

--------------------------------------------------------------------------------------------------------------------

bash-3.00# perl Makefile.PL

Note (probably harmless): No library found for -lgmp

YAML not installed, make dist will not override metafile at

Makefile.PL line 8.

Writing Makefile for Math::BigInt::GMP

bash-3.00# make

cp lib/Math/BigInt/GMP.pm blib/lib/Math/BigInt/GMP.pm

/usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/

perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap GMP.xs > GMP.xsc &&

mv GMP.xsc GMP.c

cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -

D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.19\" -DXS_VERSION=

\"1.19\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE"

GMP.c

"GMP.xs", line 4: cannot find include file: "gmp.h"

"GMP.c", line 40: undefined symbol: mpz_t

"GMP.c", line 40: undefined symbol: RETVAL

"GMP.xs", line 34: warning: improper pointer/integer combination: op

"="

"GMP.xs", line 35: warning: implicit function declaration:

mpz_init_set_str

"GMP.xs", line 35: cannot dereference non-pointer type

"GMP.c", line 59: undefined symbol: mpz_t

"GMP.c", line 59: undefined symbol: RETVAL

"GMP.xs", line 47: warning: improper pointer/integer combination: op

"="

"GMP.xs", line 48: cannot dereference non-pointer type

"GMP.c", line 78: undefined symbol: mpz_t

"GMP.c", line 78: undefined symbol: RETVAL

"GMP.xs", line 60: warning: improper pointer/integer combination: op

"="

"GMP.xs", line 61: cannot dereference non-pointer type

"GMP.c", line 97: undefined symbol: mpz_t

"GMP.c", line 97: undefined symbol: RETVAL

"GMP.xs", line 73: warning: improper pointer/integer combination: op

"="

"GMP.xs", line 74: cannot dereference non-pointer type

"GMP.c", line 115: undefined symbol: mpz_t

"GMP.c", line 115: undefined symbol: RETVAL

"GMP.xs", line 85: warning: improper pointer/integer combination: op

"="

"GMP.xs", line 86: warning: implicit function declaration:

mpz_init_set_ui

"GMP.xs", line 86: cannot dereference non-pointer type

"GMP.c", line 133: undefined symbol: mpz_t

"GMP.c", line 133: undefined symbol: RETVAL

"GMP.xs", line 97: warning: improper pointer/integer combination: op

"="

"GMP.xs", line 98: cannot dereference non-pointer type

"GMP.c", line 151: undefined symbol: mpz_t

"GMP.c", line 151: undefined symbol: RETVAL

"GMP.xs", line 109: warning: improper pointer/integer combination: op

"="

"GMP.xs", line 110: cannot dereference non-pointer type

"GMP.c", line 169: undefined symbol: mpz_t

"GMP.c", line 169: undefined symbol: RETVAL

"GMP.xs", line 121: warning: improper pointer/integer combination: op

"="

"GMP.xs", line 122: cannot dereference non-pointer type

"GMP.c", line 188: undefined symbol: mpz_t

"GMP.c", line 188: undefined symbol: n

"GMP.c", line 192: syntax error before or at: )

"GMP.xs", line 135: warning: implicit function declaration: mpz_clear

"GMP.xs", line 135: cannot dereference non-pointer type

"GMP.xs", line 136: warning: improper pointer/integer combination: arg

#1

"GMP.c", line 212: undefined symbol: mpz_t

"GMP.c", line 212: undefined symbol: n

"GMP.c", line 223: syntax error before or at: )

"GMP.xs", line 151: warning: implicit function declaration:

mpz_sizeinbase

"GMP.xs", line 151: cannot dereference non-pointer type

"GMP.xs", line 156: warning: implicit function declaration:

mpz_get_str

"GMP.xs", line 156: cannot dereference non-pointer type

"GMP.c", line 254: undefined symbol: mpz_t

"GMP.c", line 254: undefined symbol: n

"GMP.c", line 267: syntax error before or at: )

"GMP.xs", line 184: warning: implicit function declaration: mpz_tstbit

"GMP.xs", line 184: cannot dereference non-pointer type

"GMP.xs", line 189: cannot dereference non-pointer type

"GMP.xs", line 194: cannot dereference non-pointer type

"GMP.c", line 316: undefined symbol: mpz_t

"GMP.c", line 316: undefined symbol: n

"GMP.c", line 326: syntax error before or at: )

"GMP.xs", line 230: cannot dereference non-pointer type

"GMP.xs", line 235: cannot dereference non-pointer type

"GMP.c", line 353: undefined symbol: mpz_t

"GMP.c", line 353: undefined symbol: n

"GMP.c", line 363: syntax error before or at: )

"GMP.xs", line 253: cannot dereference non-pointer type

"GMP.xs", line 258: cannot dereference non-pointer type

"GMP.c", line 390: undefined symbol: mpz_t

"GMP.c", line 390: undefined symbol: n

"GMP.c", line 400: syntax error before or at: )

"GMP.xs", line 276: cannot dereference non-pointer type

"GMP.xs", line 281: cannot dereference non-pointer type

"GMP.c", line 427: undefined symbol: mpz_t

"GMP.c", line 427: undefined symbol: n

"GMP.c", line 428: operands must have arithmetic type: op "*"

"GMP.c", line 429: undefined symbol: mod

"GMP.c", line 430: undefined symbol: RETVAL

"GMP.c", line 434: syntax error before or at: )

"GMP.c", line 441: syntax error before or at: )

"GMP.c", line 448: syntax error before or at: )

"GMP.xs", line 296: warning: improper pointer/integer combination: op

"="

"GMP.xs", line 296: warning: implicit function declaration: mpz_init

"GMP.xs", line 296: cannot dereference non-pointer type

"GMP.xs", line 297: warning: implicit function declaration: mpz_powm

"GMP.xs", line 297: cannot dereference non-pointer type

"GMP.xs", line 297: cannot dereference non-pointer type

"GMP.xs", line 297: cannot dereference non-pointer type

"GMP.c", line 460: cannot recover from previous errors

cc: acomp failed for GMP.c

*** Error code 2

make: Fatal error: Command failed for target `GMP.o'

bash-3.00#

--------------------------------------------------------------------------------------------------------------------

Version 1.18 gives similar errors. Any suggestions/advice would be

much appreciated!

Sumit