Problems with building Math::GMP
am 11.12.2007 18:38:39 von Curtis Leach
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/CO RE" 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
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: Problems with building Math::GMP
am 11.12.2007 19:17:55 von Brian Raven
Curtis Leach <> wrote:
> 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. =
Its probably part of the gmp library that you need to install as well.
See the INSTALL file.
Also, couldn't you install the Activestate binary for AIX? In which
case, you may be able to install that module using ppm, if somebody has
already built it.
HTH
-- =
Brian Raven =
==================== =====3D=
================
Atos Euronext Market Solutions Disclaimer
==================== =====3D=
================
The information contained in this e-mail is confidential and solely for the=
intended addressee(s). Unauthorised reproduction, disclosure, modification=
, and/or distribution of this email may be unlawful.
If you have received this email in error, please notify the sender immediat=
ely and delete it from your system. The views expressed in this message do =
not necessarily reflect those of Atos Euronext Market Solutions.
Atos Euronext Market Solutions Limited - Registered in England & Wales with=
registration no. 3962327. Registered office address at 25 Bank Street Lon=
don E14 5NQ United Kingdom. =
Atos Euronext Market Solutions SAS - Registered in France with registration=
no. 425 100 294. Registered office address at 6/8 Boulevard Haussmann 750=
09 Paris France.
L'information contenue dans cet e-mail est confidentielle et uniquement des=
tinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. Tou=
te copie, publication ou diffusion de cet email est interdite. Si cet e-mai=
l vous parvient par erreur, nous vous prions de bien vouloir prevenir l'exp=
editeur immediatement et d'effacer le e-mail et annexes jointes de votre sy=
steme. Le contenu de ce message electronique ne represente pas necessaireme=
nt la position ou le point de vue d'Atos Euronext Market Solutions.
Atos Euronext Market Solutions Limited Soci=E9t=E9 de droit anglais, enregi=
str=E9e au Royaume Uni sous le num=E9ro 3962327, dont le si=E8ge social se =
situe 25 Bank Street E14 5NQ Londres Royaume Uni.
Atos Euronext Market Solutions SAS, soci=E9t=E9 par actions simplifi=E9e, e=
nregistr=E9 au registre dui commerce et des soci=E9t=E9s sous le num=E9ro 4=
25 100 294 RCS Paris et dont le si=E8ge social se situe 6/8 Boulevard Hauss=
mann 75009 Paris France.
==================== =====3D=
================
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: Problems with building Math::GMP
am 11.12.2007 19:24:28 von Curtis Leach
Thanks Brian,
I don't see how I missed that file. I'll follow the web link mentioned the=
re & see what happens next. =
Curtis
-----Original Message-----
From: activeperl-bounces@listserv.ActiveState.com [mailto:activeperl-bounce=
s@listserv.ActiveState.com] On Behalf Of Brian Raven
Sent: Tuesday, December 11, 2007 12:18 PM
To: activeperl@activestate.com
Subject: RE: Problems with building Math::GMP
Curtis Leach <> wrote:
> 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.
Its probably part of the gmp library that you need to install as well.
See the INSTALL file.
Also, couldn't you install the Activestate binary for AIX? In which case, y=
ou may be able to install that module using ppm, if somebody has already bu=
ilt it.
HTH
--
Brian Raven =
==================== =====3D=
================
Atos Euronext Market Solutions Disclaimer ===========3D=
==================== =====3D=
=====3D
The information contained in this e-mail is confidential and solely for the=
intended addressee(s). Unauthorised reproduction, disclosure, modification=
, and/or distribution of this email may be unlawful.
If you have received this email in error, please notify the sender immediat=
ely and delete it from your system. The views expressed in this message do =
not necessarily reflect those of Atos Euronext Market Solutions.
Atos Euronext Market Solutions Limited - Registered in England & Wales with=
registration no. 3962327. Registered office address at 25 Bank Street Lon=
don E14 5NQ United Kingdom. =
Atos Euronext Market Solutions SAS - Registered in France with registration=
no. 425 100 294. Registered office address at 6/8 Boulevard Haussmann 750=
09 Paris France.
L'information contenue dans cet e-mail est confidentielle et uniquement des=
tinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. Tou=
te copie, publication ou diffusion de cet email est interdite. Si cet e-mai=
l vous parvient par erreur, nous vous prions de bien vouloir prevenir l'exp=
editeur immediatement et d'effacer le e-mail et annexes jointes de votre sy=
steme. Le contenu de ce message electronique ne represente pas necessaireme=
nt la position ou le point de vue d'Atos Euronext Market Solutions.
Atos Euronext Market Solutions Limited Soci=E9t=E9 de droit anglais, enregi=
str=E9e au Royaume Uni sous le num=E9ro 3962327, dont le si=E8ge social se =
situe 25 Bank Street E14 5NQ Londres Royaume Uni.
Atos Euronext Market Solutions SAS, soci=E9t=E9 par actions simplifi=E9e, e=
nregistr=E9 au registre dui commerce et des soci=E9t=E9s sous le num=E9ro 4=
25 100 294 RCS Paris et dont le si=E8ge social se situe 6/8 Boulevard Hauss=
mann 75009 Paris France.
==================== =====3D=
================
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs