Can anyone help?

I'm trying to install Math::GMP which is a required dependency for SFTP
& GMP.c is failing to compile.

I'm attempting to install this on an AIX box using perl 5.8.8 that I
downloaded & compiled from Active State.

I ran "perl Makefile.PL" without any issues, but when I run "make", I
get the following errors.  Any help would be appreciated since I don't
know where to find a copy of gmp.h.

/home/cleach/AixPerl/Math-GMP-2.04> make
        cc_r -c    -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -D
USE_SITECUSTOMIZE -DNO_HASH_SEED -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES
-qlonglong -O    -DVERSION=\"2.04\"  -DXS
_VERSION=\"2.04\"
"-I/home/cleach/ActivePerl-5.8/lib/5.8.8/aix-thread-multi/CORE"   GMP.c
"GMP.xs", line 4.10: 1506-296 (S) #include file "gmp.h" not found.
"GMP.c", line 93.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 93.17: 1506-045 (S) Undeclared identifier RETVAL.
"GMP.c", line 114.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 114.17: 1506-045 (S) Undeclared identifier RETVAL.
"GMP.c", line 133.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 133.17: 1506-045 (S) Undeclared identifier n.
"GMP.c", line 137.25: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 137.30: 1506-277 (S) Syntax error: possible missing ')' or
','?
"GMP.c", line 157.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 157.17: 1506-045 (S) Undeclared identifier n.
"GMP.c", line 166.25: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 166.30: 1506-277 (S) Syntax error: possible missing ')' or
','?
"GMP.c", line 194.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 194.17: 1506-045 (S) Undeclared identifier n.
"GMP.c", line 204.25: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 204.30: 1506-277 (S) Syntax error: possible missing ')' or
','?
"GMP.c", line 232.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 232.17: 1506-045 (S) Undeclared identifier n.
"GMP.c", line 239.25: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 239.30: 1506-277 (S) Syntax error: possible missing ')' or
','?
"GMP.c", line 259.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 259.17: 1506-045 (S) Undeclared identifier n.
"GMP.c", line 265.25: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 265.30: 1506-277 (S) Syntax error: possible missing ')' or
','?
"GMP.c", line 285.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 285.17: 1506-045 (S) Undeclared identifier n.
"GMP.c", line 290.25: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 290.30: 1506-277 (S) Syntax error: possible missing ')' or
','?
"GMP.c", line 309.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 309.17: 1506-045 (S) Undeclared identifier n.
"GMP.c", line 315.25: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 315.30: 1506-277 (S) Syntax error: possible missing ')' or
','?
"GMP.c", line 335.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 335.17: 1506-045 (S) Undeclared identifier n.
"GMP.c", line 337.17: 1506-045 (S) Undeclared identifier RETVAL.
"GMP.c", line 341.25: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 341.30: 1506-277 (S) Syntax error: possible missing ')' or
','?
"GMP.c", line 364.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 364.17: 1506-045 (S) Undeclared identifier n.
"GMP.c", line 366.17: 1506-045 (S) Undeclared identifier RETVAL.
"GMP.c", line 370.25: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 370.30: 1506-277 (S) Syntax error: possible missing ')' or
','?
"GMP.c", line 393.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 393.17: 1506-045 (S) Undeclared identifier n.
"GMP.c", line 395.17: 1506-045 (S) Undeclared identifier mod.
"GMP.c", line 396.17: 1506-045 (S) Undeclared identifier RETVAL.
"GMP.c", line 400.25: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 400.30: 1506-277 (S) Syntax error: possible missing ')' or
','?
make: 1254-004 The error code from the last command is 1.


Stop.
/home/cleach/AixPerl/Math-GMP-2.04>

Curtis



_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to