bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installing problem


From: BELOPOTOCAN, Patrik
Subject: Installing problem
Date: Wed, 19 May 2004 15:30:44 +0200

Hi,

I tried to install Math::GMP under Linux OS (Linux localhost 2.4.22-10mdk #1 
Thu Sep 18 12:30:58 CEST 2003 i686 unknown unknown GNU/Linux)

and perl version perl5 (revision 5.0 version 8 subversion 1) , but 
unsuccessfuly. (see bellow)

Please, do you have any idea what is problem.

Thank in advance.

Patrik Belopotocan

PERL CONFIGURATION
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.4.18-23mdksmp, archname=i386-linux-thread-multi
    uname='linux hp6.mandrakesoft.com 2.4.18-23mdksmp #1 smp fri aug 2 12:31:40 
cest 2002 i686 unknown unknown gnulinux '
    config_args='-des -Dinc_version_list=5.8.0/i386-linux-thread-multi 5.8.0 
5.6.1 5.6.0 -Darchname=i386-linux -Dcc=gcc -Doptimize=-O2 -fomit-frame-pointer 
-pipe -march=i586 -mcpu=pentiumpro  -Dprefix=/usr -Dvendorprefix=/usr 
-Dsiteprefix=/usr -Dman3ext=3pm -Dcf_by=MandrakeSoft -Dmyhostname=localhost 
address@hidden -Dd_dosuid -Ud_csh -Duseshrplib -Dusethreads'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS 
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro ',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS 
-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk)', 
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic 
-Wl,-rpath,/usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES 
PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        RC4
  Built under linux
  Compiled at Sep  1 2003 17:29:01
  @INC:
    /usr/lib/perl5/5.8.1/i386-linux-thread-multi
    /usr/lib/perl5/5.8.1
    /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.1
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.1
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl
    .

PROBLEM OUTPUT

Checking if your kit is complete...
Looks good
Writing Makefile for Math::GMP
cp lib/Math/GMP.pm blib/lib/Math/GMP.pm
AutoSplitting blib/lib/Math/GMP.pm (blib/lib/auto/Math/GMP)
/usr/bin/perl5.8.1 /usr/lib/perl5/5.8.1/ExtUtils/xsubpp  -typemap 
/usr/lib/perl5/5.8.1/ExtUtils/typemap -typemap typemap  GMP.xs > GMP.xsc && mv 
GMP.xsc GMP.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro 
  -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC 
"-I/usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE"   GMP.c
GMP.xs:4:17: gmp.h: No such file or directory
GMP.c: In function `XS_Math__GMP_new_from_scalar':
GMP.c:91: error: `mpz_t' undeclared (first use in this function)
GMP.c:91: error: (Each undeclared identifier is reported only once
GMP.c:91: error: for each function it appears in.)
GMP.c:91: error: `RETVAL' undeclared (first use in this function)
GMP.c: In function `XS_Math__GMP_destroy':
GMP.c:109: error: `mpz_t' undeclared (first use in this function)
GMP.c:109: error: `n' undeclared (first use in this function)
GMP.c:113: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_stringify_gmp':
GMP.c:132: error: `mpz_t' undeclared (first use in this function)
GMP.c:132: error: `n' undeclared (first use in this function)
GMP.c:141: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_get_str_gmp':
GMP.c:168: error: `mpz_t' undeclared (first use in this function)
GMP.c:168: error: `n' undeclared (first use in this function)
GMP.c:178: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_sizeinbase_gmp':
GMP.c:205: error: `mpz_t' undeclared (first use in this function)
GMP.c:205: error: `n' undeclared (first use in this function)
GMP.c:212: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_uintify_gmp':
GMP.c:231: error: `mpz_t' undeclared (first use in this function)
GMP.c:231: error: `n' undeclared (first use in this function)
GMP.c:237: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_add_ui_gmp':
GMP.c:256: error: `mpz_t' undeclared (first use in this function)
GMP.c:256: error: `n' undeclared (first use in this function)
GMP.c:261: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_intify_gmp':
GMP.c:279: error: `mpz_t' undeclared (first use in this function)
GMP.c:279: error: `n' undeclared (first use in this function)
GMP.c:285: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_mul_2exp_gmp':
GMP.c:304: error: `mpz_t' undeclared (first use in this function)
GMP.c:304: error: `n' undeclared (first use in this function)
GMP.c:306: error: `RETVAL' undeclared (first use in this function)
GMP.c:310: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_div_2exp_gmp':
GMP.c:332: error: `mpz_t' undeclared (first use in this function)
GMP.c:332: error: `n' undeclared (first use in this function)
GMP.c:334: error: `RETVAL' undeclared (first use in this function)
GMP.c:338: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_powm_gmp':
GMP.c:360: error: `mpz_t' undeclared (first use in this function)
GMP.c:360: error: `n' undeclared (first use in this function)
GMP.c:362: error: `mod' undeclared (first use in this function)
GMP.c:363: error: `RETVAL' undeclared (first use in this function)
GMP.c:367: error: syntax error before ')' token
GMP.c:374: error: syntax error before ')' token
GMP.c:381: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_mmod_gmp':
GMP.c:403: error: `mpz_t' undeclared (first use in this function)
GMP.c:403: error: `a' undeclared (first use in this function)
GMP.c:404: error: `b' undeclared (first use in this function)
GMP.c:405: error: `RETVAL' undeclared (first use in this function)
GMP.c:409: error: syntax error before ')' token
GMP.c:416: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_mod_2exp_gmp':
GMP.c:438: error: `mpz_t' undeclared (first use in this function)
GMP.c:438: error: `in' undeclared (first use in this function)
GMP.c:440: error: `RETVAL' undeclared (first use in this function)
GMP.c:444: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_add_two':
GMP.c:466: error: `mpz_t' undeclared (first use in this function)
GMP.c:466: error: `m' undeclared (first use in this function)
GMP.c:467: error: `n' undeclared (first use in this function)
GMP.c:468: error: `RETVAL' undeclared (first use in this function)
GMP.c:472: error: syntax error before ')' token
GMP.c:479: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_sub_two':
GMP.c:501: error: `mpz_t' undeclared (first use in this function)
GMP.c:501: error: `m' undeclared (first use in this function)
GMP.c:502: error: `n' undeclared (first use in this function)
GMP.c:503: error: `RETVAL' undeclared (first use in this function)
GMP.c:507: error: syntax error before ')' token
GMP.c:514: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_mul_two':
GMP.c:536: error: `mpz_t' undeclared (first use in this function)
GMP.c:536: error: `m' undeclared (first use in this function)
GMP.c:537: error: `n' undeclared (first use in this function)
GMP.c:538: error: `RETVAL' undeclared (first use in this function)
GMP.c:542: error: syntax error before ')' token
GMP.c:549: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_div_two':
GMP.c:571: error: `mpz_t' undeclared (first use in this function)
GMP.c:571: error: `m' undeclared (first use in this function)
GMP.c:572: error: `n' undeclared (first use in this function)
GMP.c:573: error: `RETVAL' undeclared (first use in this function)
GMP.c:577: error: syntax error before ')' token
GMP.c:584: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_bdiv_two':
GMP.c:607: error: `mpz_t' undeclared (first use in this function)
GMP.c:607: error: `m' undeclared (first use in this function)
GMP.c:608: error: `n' undeclared (first use in this function)
GMP.xs:282: error: `quo' undeclared (first use in this function)
GMP.xs:283: error: `rem' undeclared (first use in this function)
GMP.c:616: error: syntax error before ')' token
GMP.c:623: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_mod_two':
GMP.c:649: error: `mpz_t' undeclared (first use in this function)
GMP.c:649: error: `m' undeclared (first use in this function)
GMP.c:650: error: `n' undeclared (first use in this function)
GMP.c:651: error: `RETVAL' undeclared (first use in this function)
GMP.c:655: error: syntax error before ')' token
GMP.c:662: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_cmp_two':
GMP.c:684: error: `mpz_t' undeclared (first use in this function)
GMP.c:684: error: `m' undeclared (first use in this function)
GMP.c:685: error: `n' undeclared (first use in this function)
GMP.c:691: error: syntax error before ')' token
GMP.c:698: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_gmp_legendre':
GMP.c:717: error: `mpz_t' undeclared (first use in this function)
GMP.c:717: error: `m' undeclared (first use in this function)
GMP.c:718: error: `n' undeclared (first use in this function)
GMP.c:724: error: syntax error before ')' token
GMP.c:731: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_gmp_jacobi':
GMP.c:750: error: `mpz_t' undeclared (first use in this function)
GMP.c:750: error: `m' undeclared (first use in this function)
GMP.c:751: error: `n' undeclared (first use in this function)
GMP.c:757: error: syntax error before ')' token
GMP.c:764: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_pow_two':
GMP.c:783: error: `mpz_t' undeclared (first use in this function)
GMP.c:783: error: `m' undeclared (first use in this function)
GMP.c:785: error: `RETVAL' undeclared (first use in this function)
GMP.c:789: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_gcd_two':
GMP.c:812: error: `mpz_t' undeclared (first use in this function)
GMP.c:812: error: `m' undeclared (first use in this function)
GMP.c:813: error: `n' undeclared (first use in this function)
GMP.c:814: error: `RETVAL' undeclared (first use in this function)
GMP.c:818: error: syntax error before ')' token
GMP.c:825: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_gmp_fib':
GMP.c:848: error: `mpz_t' undeclared (first use in this function)
GMP.c:848: error: `RETVAL' undeclared (first use in this function)
GMP.c: In function `XS_Math__GMP_and_two':
GMP.c:867: error: `mpz_t' undeclared (first use in this function)
GMP.c:867: error: `m' undeclared (first use in this function)
GMP.c:868: error: `n' undeclared (first use in this function)
GMP.c:869: error: `RETVAL' undeclared (first use in this function)
GMP.c:873: error: syntax error before ')' token
GMP.c:880: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_xor_two':
GMP.c:902: error: `mpz_t' undeclared (first use in this function)
GMP.c:902: error: `m' undeclared (first use in this function)
GMP.c:903: error: `n' undeclared (first use in this function)
GMP.c:904: error: `RETVAL' undeclared (first use in this function)
GMP.c:908: error: syntax error before ')' token
GMP.c:915: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_or_two':
GMP.c:937: error: `mpz_t' undeclared (first use in this function)
GMP.c:937: error: `m' undeclared (first use in this function)
GMP.c:938: error: `n' undeclared (first use in this function)
GMP.c:939: error: `RETVAL' undeclared (first use in this function)
GMP.c:943: error: syntax error before ')' token
GMP.c:950: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_gmp_fac':
GMP.c:973: error: `mpz_t' undeclared (first use in this function)
GMP.c:973: error: `RETVAL' undeclared (first use in this function)
GMP.c: In function `XS_Math__GMP_gmp_copy':
GMP.c:992: error: `mpz_t' undeclared (first use in this function)
GMP.c:992: error: `m' undeclared (first use in this function)
GMP.c:993: error: `RETVAL' undeclared (first use in this function)
GMP.c:997: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_gmp_tstbit':
GMP.c:1018: error: `mpz_t' undeclared (first use in this function)
GMP.c:1018: error: `m' undeclared (first use in this function)
GMP.c:1025: error: syntax error before ')' token
GMP.c: In function `XS_Math__GMP_gmp_sqrt':
GMP.c:1044: error: `mpz_t' undeclared (first use in this function)
GMP.c:1044: error: `m' undeclared (first use in this function)
GMP.c:1045: error: `RETVAL' undeclared (first use in this function)
GMP.c:1049: error: syntax error before ')' token
make: *** [GMP.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible





reply via email to

[Prev in Thread] Current Thread [Next in Thread]